- Part One: A vendor-neutral framework for healthcare technology leaders evaluating general-purpose LLMs against PHI.
- Part Two: How The Clinician Platform (TCP) turns that framework into an operational capability.
Framing the Problem
Every healthcare AI conversation eventually collapses into the same false binary: cloud or on-premise, buy or build. That framing skips the part that actually determines whether a deployment succeeds — what the model is being asked to do, and what happens to the patient data on the way there.
A model that drafts a clinician-facing summary from a full longitudinal chart has a different risk profile than one extracting a medication list from a single note. A health system with a mature cloud compliance program is in a different starting position than a service with an in-country data-residency mandate or an air-gap requirement.
This document lays out three real architectures for running an LLM against patient data, then shows how TCP lets you adopt all three — chosen per task — behind a single governed control point.
The PHI / PII Issue, Stated Plainly
Large language models are extraordinary at clinical text — and clinical text is dense with protected health information: names, identifiers, contact points, dates, free-text history. The moment a prompt is assembled, PHI/PII is in motion. Three failure modes follow:
- Data crossing a boundary it shouldn’t. A managed model API may move PHI outside your network, your tenancy, or your jurisdiction — a non-starter for some IRBs, government programs, or residency rules unless a Business Associate Agreement (BAA) explicitly covers that specific product and configuration. Note that while HIPAA does not mandate US data residency, institutional policies and international frameworks (like GDPR) often do [7] [8].
- BAA coverage that is narrower than assumed. An enterprise contract with a model provider is not automatically a HIPAA contract. Consumer tiers, developer playgrounds, and beta features are routinely excluded — even when a BAA exists elsewhere in the same relationship [1] [2].
- The unauthorized surface breach. While large-scale hacking incidents dominate headlines [3], the most pervasive unmanaged risk in AI adoption is "shadow IT"—such as a clinician pasting a patient chart into an unauthorized, consumer-tier LLM. A BAA or an air gap is necessary, but never sufficient. The system must prevent the data from reaching the unauthorized surface in the first place [4].
The conclusion the rest of this document builds on: the deciding factor is a technical control layer that (1) keeps PHI off the wrong surface, (2) removes or minimises PHI before any external hop where it isn’t needed, and (3) routes each request to the model that fits the task — with one consistent audit trail no matter where inference runs.
Option One: Frontier general-purpose models, accessed by API under a BAA
What it is: A frontier foundation model — OpenAI, Google Gemini, or a managed hyperscaler tier (AWS Bedrock, Google Vertex AI, Azure OpenAI) — consumed through a hosted API, with PHI in scope only where a BAA actually covers that specific product and configuration.
⚠️ A critical compliance pitfall: The compliant path is usually a specific API tier, a specific enterprise configuration with HIPAA explicitly enabled, or routing through a hyperscaler’s BAA rather than the model provider directly — not whatever surface is easiest to reach.
- Highest reasoning ceiling: Delivers the best performance on ambiguous, contradictory, or long-context clinical narratives.
- No infrastructure to own: Eliminates GPU procurement, inference-stack patching, and capacity planning.
- Continuous improvement: Model provider upgrades arrive seamlessly with no redeployment required.
- Mature security: Leverages robust audit and security tooling around the managed surface.
- Data egress: PHI leaves your network boundary unless explicitly contracted and configured otherwise.
- Narrow BAA coverage: "Enterprise" does not automatically equal "HIPAA compliant."
- Usage-based cost: Can scale unfavourably at population-health volumes.
- Provider dependency: Relies on external roadmaps, pricing, and deprecation timing; access can be throttled.
Option One B: Frontier models via provider-native regional endpoints
What it is: The same frontier models as Option One — OpenAI GPT-4-class, Anthropic Claude, Google Gemini — but accessed through provider-native regional API endpoints that pin inference and data storage to a specific geography. This is an emerging but rapidly maturing tier, rolled out explicitly to address data sovereignty requirements and to reduce inference latency for users outside North America.
As of 2025–2026, all three major frontier providers and their hyperscaler wrappers have launched or expanded regional endpoint programmes:
- OpenAI launched European data residency for the API Platform in February 2025, expanded to the UK, Japan, Canada, South Korea, Singapore, Australia, India, and the UAE by October 2025, and added in-region GPU inference (not just at-rest storage) for eligible enterprise customers in January 2026 [10]. Eligible API customers create a region-scoped Project in the dashboard; requests through that Project are handled in-region with zero data retention by default.
- Anthropic Claude exposes an
inference_geoparameter on the API (supported on Claude Opus 4.6, Sonnet 4.6, and later) that pins inference to US-only or global infrastructure per request. US-pinned inference is priced at a 1.1× multiplier. Workspace-level policies can restrict which geos are permitted, enforcing residency at the platform layer rather than per-call [11]. - Azure OpenAI offers three deployment tiers — Global, Data Zone (EU or US boundary), and Regional — giving teams a sliding scale from maximum model availability to strictest in-region processing. The EU Data Boundary commitment covers Azure OpenAI for most data types, and provisioned throughput units (PTUs) can be reserved per region [12].
- AWS Bedrock exposes per-region endpoints for all supported model families. Cross-Region Inference is an explicit opt-in; geographic profiles (US, EU, APAC) keep routing inside a chosen boundary, and service-control policies can deny calls to disallowed regions [7].
- Google Vertex AI provides regional endpoints for Gemini models with explicit residency commitments per region, and in April 2026 made multi-region endpoints for Claude on Vertex AI generally available — automatically balancing traffic within a single geography (e.g., between EU regions) without crossing jurisdictional boundaries [13].
Why this matters for healthcare: Regional endpoints close the gap between the reasoning quality of Option One and the data-boundary guarantees of Option Two — without requiring on-premise hardware. For health systems operating under GDPR, the Australian Privacy Act, or similar frameworks, a contractually pinned in-region frontier endpoint can satisfy institutional data-residency policy while retaining access to the highest-capability models. Latency improvements are a secondary but real benefit: routing AU or EU clinical workloads to a local inference region rather than US-East typically reduces round-trip times by 60–150 ms, which is meaningful in interactive copilot workflows.
⚠️ Critical caveats that apply equally here: Regional endpoint availability is per-model and per-feature — not every model variant ships to every region, preview features often carry weaker residency guarantees than GA features, and auxiliary surfaces (prompt caching, evaluation, observability telemetry) may still route globally unless explicitly pinned. A residency review must audit all six data surfaces, not just the inference endpoint [7]. BAA scope remains the same as Option One: confirm the specific regional configuration is covered before processing PHI.
- Frontier reasoning quality: Full model capability — no quality compromise compared to Option One.
- Data sovereignty without hardware: Inference and storage pinned to a contractually committed region; satisfies most institutional and regulatory residency policies.
- Latency improvement: In-region inference meaningfully reduces round-trip times for non-US deployments — relevant for interactive clinical workflows.
- No infrastructure to own: All the operational advantages of Option One are retained.
- Granular policy control: Per-request or per-workspace geo enforcement, auditable at the platform layer.
- Uneven model availability: Newer or larger model variants often reach US regions first; regional availability lags by weeks to months.
- Feature gaps: Some provider features (prompt caching, fine-tuning, evaluation) may not be covered by the regional residency commitment.
- Premium pricing: Regional or US-pinned inference typically carries a 10–20% price premium over global routing.
- Eligibility requirements: Some providers restrict regional endpoints to enterprise tiers or require explicit enablement — not available on all account types.
- Partial coverage risk: Residency applies to inference; telemetry, abuse monitoring, and support data may still be handled globally under the provider’s DPA.
Option Two: General-purpose open-weight models, self-hosted on local hardware
What it is: Compact local AI accelerators with unified CPU/GPU memory — enough to load genuinely large open-weight models, sitting inside your own walls.
🔍 What the spec sheet doesn’t tell you: The headline compute number describes capacity, not speed. The real governor is memory bandwidth, which on this class sits well below a high-end discrete GPU — creating a real, measurable token-generation gap on larger models [5].
- Data remains internal: Patient data never leaves the building, sidestepping BAA negotiation and third-party breach exposure.
- No per-token cost: High-volume batch processing can undercut API spend once amortised.
- Full control: Total ownership over model versioning — nothing changes underneath you.
- Small footprint: Deployable in standard server racks without extreme cooling.
- Quality gap vs. frontier: Persists on the hardest clinical narratives (the gap is narrowed, not closed).
- MLOps burden: You own the full lifecycle — evaluation, drift monitoring, and patching.
- Single point of failure: A single unit requires redundant hardware for production readiness.
- Compliance ownership: 100% of the HIPAA technical-safeguard burden sits with your team.
Option Three: Distilled or quantized models, on the same local hardware
What it is: The same hardware class, but a model deliberately chosen for speed — a distilled 7B–14B model, or an aggressively quantized version of a larger one — sized to fit comfortably inside a modest memory bandwidth budget.
- Interactive latency: Genuinely usable speeds, sized to the hardware’s real ceiling.
- Broadens viable hardware: Also runs on cheaper devices for smaller sites.
- Excellent for narrow tasks: Highly effective for extraction, structured fields, and PHI redaction.
- Concurrent execution: Multiple small models can run simultaneously (e.g., one for redaction, another for summarisation).
- Quality drop-off: Sharpest where clinical text is hardest (negation, temporal reasoning, abbreviation ambiguity).
- Requires fine-tuning: Prompting alone is rarely enough for acceptable accuracy.
- Aggressive quantization degrades numerical reasoning: Reducing model precision can quietly impair the model's ability to process numbers accurately, introducing severe risks when handling medication dosages or laboratory values [6].
- Demands serious evaluation: Requires a clinician-reviewed framework before it can be trusted.
Architecture Comparison: A Decision-Maker’s Summary
| Dimension | Frontier API (BAA) | Frontier API — Regional Endpoint (1B) | Open-weight, local | Distilled / quantized, local |
|---|---|---|---|---|
| Data leaves network | Yes (unless contracted otherwise) | Stays in contracted region; does not cross jurisdictional boundary | No | No |
| Data residency assurance | None by default — global routing | Contractual in-region commitment (inference + storage) | Physical — data never leaves your hardware | Physical — data never leaves your hardware |
| Clinical reasoning quality | Highest available | Identical to Option One — same models | Good, behind frontier | Behind; needs fine-tuning |
| Latency / throughput | Strong when available; access can be throttled | Improved for non-US users (60–150 ms reduction typical) | Bandwidth-limited on large models | Good — sized to the hardware |
| Model availability | Full — all tiers and features | Partial — newer variants and preview features may lag US availability | Open-weight only | Open-weight, distilled or quantized |
| Ongoing ops burden | Low — provider-managed | Low — provider-managed | High — eval, monitoring, patching | High, plus fine-tuning |
| Upfront capital cost | None — usage-based | None — usage-based (10–20% regional premium) | Hardware + redundancy | Same hardware, or cheaper devices |
| Compliance ownership | Shared — BAA + your control layer | Shared — BAA + regional config + your control layer | Entirely yours | Entirely yours |
| Strongest use case | Complex reasoning, copilots (US-centric) | Frontier reasoning under GDPR / APA / equivalent residency rules; non-US interactive copilots | Air-gapped general-purpose | Narrow extraction, redaction, triage |
Other Architectures Worth a Serious Look
General-purpose architectures that don’t fit neatly into the three buckets above — and the two TCP implements natively.
💡 Worth comparing: Evaluate several general-purpose models side-by-side rather than assuming one provider is the automatic pick — pricing, regional availability, and BAA terms shift often enough that last year’s comparison is probably stale.
Don’t Pick One Architecture. Segment by Task.
The strongest deployments don’t bet the organisation on one posture — they make the local-vs-cloud call per task, based on what the task actually needs.
- High-value, low-volume, high-complexity reasoning — US-based or global data — prior auth, claims appeals, clinician-facing summarisation → a BAA-covered frontier model (Option One).
- High-value reasoning with residency constraints — same task types as above, but data bound to GDPR, the Australian Privacy Act, or equivalent frameworks → a provider-native regional endpoint (Option 1B): frontier quality, no hardware, contractual in-region commitment.
- High-volume, narrow, repetitive tasks — de-identification, structured extraction, intake triage → a local open-weight or distilled model (Option Three).
- Strict air-gap or data that must never leave the building — patient data subject to the most restrictive residency or security requirements → a fully self-hosted model on your own hardware (Option Two).
Segmenting by task is the right answer — but only if something can enforce the segmentation and prove it after the fact. That something is the platform.
How The Clinician Platform Makes Choice & Compliance Possible
TCP places a single governed gateway between every platform service and every model. No clinician and no service talks to a model directly. Each request is authenticated, attributed, optionally de-identified, then routed — by policy — to the model that fits the task, wherever that model is hosted. Where de-identification is applied, TCP re-constitutes the original PHI/PII in the response before it is returned to the calling service, so the clinician’s experience is seamless and contextually complete — while no protected information left the boundary. Every call lands in one audit trail.
This is precisely the “hybrid cascade” and “orchestration layer with routing” the framework above calls for, made native: choice (any of the three architectures, per task) and compliance (de-identification, residency control, and auditability) are properties of the gateway, not of each calling service.
Each platform service enters through a single governed gateway. After authentication and attribution, PHI/PII is de-identified before any external hop — only anonymised text reaches a managed API. TCP re-constitutes the original PHI/PII in the model response before returning it to the calling service, preserving a seamless clinician experience while ensuring no protected information crossed the boundary. The policy-driven router selects the appropriate model backend based on task type, data class, and residency requirements. Every call — regardless of destination — is recorded in one unified audit trail.
Choice — the same request, any of the four architectures
The router selects a model by policy, keyed to the task and the data class. The calling service doesn't need to know which model is handling the request, nor manage API keys, nor handle fallback logic.
| Task profile | Routes to | Why |
|---|---|---|
| Complex reasoning, copilots — US-based or global data | Managed frontier API (BAA) — OpenAI / Anthropic / Google Gemini / Vertex AI / AWS Bedrock / Grok (xAI) | Highest reasoning ceiling; de-identified input where possible |
| Complex reasoning, copilots — residency-constrained data (GDPR, APA, etc.) | Sovereign endpoint — provider-native regional API (Option 1B) | Same frontier reasoning quality; inference and storage pinned to a contractually committed region without owning hardware |
| Air-gapped, strict residency, or data that must never leave the building | Self-hosted model | Physical data boundary; no external network hop of any kind |
| High-volume extraction, redaction, triage | Self-hosted model — distilled or quantized | Data never leaves the boundary; cost-efficient at scale; concurrent execution |
Compliance — how the controls map to the PHI framework
| Framework principle (Part one) | TCP capability (Part two) |
|---|---|
| Stop PHI reaching the wrong surface | A single governed gateway is the only path to any model — there is no direct, ungoverned route to paste a chart into. |
| Minimise PHI before an external hop (hybrid cascade) | Automated PHI/PII detection & redaction runs in-line before managed-API calls, so only de-identified text leaves the boundary. TCP then re-constitutes the original PHI/PII in the model response before returning it to the calling service — preserving a seamless clinician experience while ensuring no protected information crossed the external boundary. |
| Respect BAA scope & data residency | Policy pins residency-constrained data to a sovereign in-region endpoint or a self-hosted model; managed-API routes are limited to BAA-covered configurations. |
| Segment by task | The policy-driven router chooses the model class per request — frontier, sovereign, or self-hosted — without changing the calling service. |
| Attribution & accountability | Every request is authenticated to a known platform service and tagged; access is granted per service, not blanket. |
| One consistent audit trail regardless of where inference runs | Model, token usage, latency, calling service, and data class are written to a single audit store for every call — local, sovereign, or cloud. |
| Avoid provider lock-in / access risk | Adding or swapping a backend is a policy change behind the gateway; callers are unaffected, so a throttled or deprecated provider can be re-routed centrally. |
A BAA or an air gap is necessary, never sufficient. The control that actually prevents PHI from reaching the wrong surface — and proves where every byte went — has to live in the platform. The Clinician Platform is that control layer. It turns the local-vs-cloud question from a one-time bet into a per-task decision that is enforced, de-identified where it should be, residency-aware, and fully audited.
- Definite. "Is ChatGPT HIPAA Compliant? (And Claude, Gemini, and Copilot)." June 7, 2026. Link
- Protecto. "OpenAI HIPAA BAA: What It Actually Covers (And What Leaves PHI Exposed)." May 21, 2026. Link
- The HIPAA Journal. "Healthcare Data Breach Statistics." June 4, 2026. Link
- KnowBe4. "Stanford Research: 88% Of Data Breaches Are Caused By Human Error." Link
- Medium. "Why LLM Inference Is Memory-Bound (Not Compute-Bound)." Feb 17, 2026.
- ResearchGate. "Exploring LLM Low-Bit Quantization Degradation for Mathematical Reasoning." Dec 11, 2025.
- Aptible. "Data residency for healthcare AI: what the regulations actually require." June 12, 2026. Link
- HIPAA Times. "Data residency and data localization in healthcare." March 26, 2025. Link
- HHS.gov. "Guidance Regarding Methods for De-identification of Protected Health Information in Accordance with the Health Insurance Portability and Accountability Act (HIPAA) Privacy Rule."
- OpenAI. "Introducing data residency in Europe." February 5, 2025 (updated January 16, 2026). Link
- Anthropic. "Data residency — Claude API Docs." Link
- Microsoft Azure. "Enterprise trust in Azure OpenAI Service strengthened with Data Zones." September 24, 2024. Link
- Google Cloud. "Multi-region endpoints for Claude available on Vertex AI." April 15, 2026. Link