HIPAA Model Index HIPAA LLM APIs
Safe PHI Routing Through an LLM Requires a Redacting Gateway Not a Trusting One
- Published
- November 12, 2026
- Reading time
- 9 min read
Summary
A gateway that redacts PHI before it reaches any model.
A HIPAA-compliant AI gateway for teams handling PHI must redact sensitive data before model calls, enforce BAA-scoped routing and Zero Data Retention, and preserve controlled audit records. These safeguards belong at a single enforced gateway. Concentrate offers a managed option with redaction and an available BAA, but compliance remains a property of the whole deployment.
Why PHI in LLM prompts is a disclosure, not just a risk
A clinical team signs BAAs with its model providers, marks compliance complete, and ships an assistant. The contracts do not control what happens next. When a prompt sends PHI to a hosted model, that API call is a disclosure to a business associate governed by HIPAA. The exposure begins when data leaves the application's perimeter. Provider processing and logging therefore belong in the deployment's controls from the start.
A BAA is a legal instrument. Prompt construction, orchestration, RAG pipelines, and vector stores remain the covered entity's responsibility. Concentrate's HIPAA gateway guide lists six requirements that must all be met at once, and business associate agreements meet only one. The signed contract does not establish how PHI is minimized, who can access it, or which records survive the request.
How BAA coverage actually works — and where the gaps are
Concentrate's guide names OpenAI's HIPAA-eligible products as ChatGPT for Healthcare, ChatGPT for Enterprise with Regulated Workspace, ChatGPT FedRAMP, ChatGPT for Clinicians, API with Modified Retention, and API FedRAMP with Modified Retention. ChatGPT Business is explicitly excluded from that coverage. An organization's relationship with OpenAI therefore does not make every OpenAI surface suitable for PHI.
Anthropic's covered surfaces are the first-party API, Claude in Microsoft Foundry, and Claude Enterprise plans with HIPAA activated. Covered API features include the Messages API, prompt caching, structured outputs, memory, web search, the bash tool, the text editor tool, and the Token Counting, Models, Org Management, and Compliance APIs. The exclusions are equally specific and consequential. They include Claude Free, Pro, Max, Team, Cowork in the cloud, Workbench, Console, Claude in Office, Claude Design, Batch API, Files API, and most beta features. Using these excluded surfaces with PHI is outside Anthropic's BAA coverage regardless of care taken elsewhere.
Claude on AWS Bedrock follows a separate path under an AWS BAA, keeping data inside AWS infrastructure and outside the direct data path to Anthropic. Bedrock covers most models, including Anthropic Claude, Meta Llama, Mistral, Amazon Titan, and Cohere, within HIPAA-eligible AWS regions. Specific models, including Fable and Mythos, are excluded. Zero Data Retention remains a separate requirement. An application using GPT for one workflow and Claude for another must maintain the required agreements, retention settings, and audit trails on each path.
Why managing PHI controls in application code fails at production scale
Those distinctions become difficult to maintain when each integration owns its controls. Different teams manage different API keys, SDKs, rate limits, retries, and fallback logic. Each provider needs its own agreement, retention settings, and audit trail. Redaction then drifts as services evolve independently. A new microservice can omit a safeguard that another team implemented correctly, leaving no unified record of the disclosure.
Agentic workflows compound the fragmentation because they generate substantially more tokens per task than a standard chatbot. Separate provider connections make anomaly detection and cost attribution harder. Logging creates another PHI-handling surface. Prompt logs that contain PHI need identity-based access controls, encryption in transit and at rest, integrity controls, and a decision on how long to keep them. NeuralSeek's healthcare AI guide gives a practical test for this fragmentation. If reconstructing what a particular assistant said to a particular person on a particular day takes a week, the control does not really exist yet.
A single-provider deployment still needs feature-specific BAA verification, retention configuration, logging, and redaction. As workflows grow, a design built integration by integration needs to be reworked where a shared design would need only a change to its settings. This is an architectural weakness. The control point belongs in front of every integration.
What a redacting gateway actually does — and what it cannot do alone
A redacting gateway sits between the healthcare applications and the language models they use. It authenticates callers, detects and redacts sensitive data, restricts routing to BAA-covered or self-hosted models, and provides an audit trail within the covered entity's environment. Routing, load balancing, fallbacks, rate limiting, cost tracking, and observability can share that enforcement point. The gateway becomes the technical safeguard layer. Its value depends on all relevant traffic passing through it.
HIPAA Safe Harbor requires all 18 identifier types to be removed, including names and all date elements except the year. Gateway redaction reduces PHI sent to models and stored in logs, supporting the minimum necessary standard. Redacted traffic should therefore still be treated as PHI under a BAA.
A model can infer, combine, or echo identifying details from retrieved context, so input-only filtering leaves a gap. HHS does not recognize private HIPAA certifications or treat them as relief from Security Rule obligations. A gateway supplies technical safeguards, and the covered entity still needs to do its own risk analysis, have agreements in place, and use operational safeguards.
How the six HIPAA requirements map to gateway controls
The BAA requirement maps to provider scoping and routing enforcement. Allowlists for each key send requests only to covered destinations, and fallback chains keep those same limits when failures occur. A hosted gateway that touches PHI also belongs in the BAA chain. The settings must match what the contracts cover. A provider name alone is not precise enough when eligibility depends on a product, feature, or region.
PHI minimization maps to redaction before transmission. NeuralSeek's guide describes a fast, deterministic pass using pattern matching for structured identifiers, including medical record numbers, SSNs, dates of birth, and phone numbers. A contextual pass then catches details that patterns miss, such as names in clinical prose or descriptions that identify someone indirectly. The next decision is workflow-specific and explicit. A match can trigger masking, stable-token substitution, removal, or refusal, with the chosen behavior applied consistently across services.
Zero Data Retention must be enforced on every request to covered providers as a requirement separate from the BAA. Encryption must cover data in transit and at rest, including records that are kept. Both requirements still apply when a prompt has been redacted. The gateway and the deployment around it must be set up to cover both the request sent out and the data kept locally.
Access controls and audit logging require distinct, connected configurations. Scoped or virtual keys identify teams, projects, and integrations, while role-based access limits PHI-touching models and records. Each clinical request needs a record of the initiating user role and service account, prompt and system prompt version, model and provider, retrieval sources, sub-processor route, response, redaction events, latency, and allow, block, or redact decisions. That record must be durable and tamper-evident. The documented breach notification process is the last of the six requirements, and the organization must carry it out because a gateway cannot do that alone.
How provider fallback becomes a compliance failure without gateway-level enforcement
Provider outages make fallback a standing production concern. OpenAI's ChatGPT and API platform went down for hours on April 20, 2026, while a roughly two-hour Claude outage on April 6, 2026 stalled enterprise workloads worldwide. Anthropic's status page listed several incidents that affected the Claude API between August 1 and August 31, 2026. Outages can also push users to use personal or unapproved accounts. That workaround removes visibility into what was shared, which policies applied, and which records were retained.
Failures can affect more than one configured model. On June 12, 2026, an order from the US Commerce Department forced Anthropic to stop access to Claude Fable 5 and Claude Mythos 5 worldwide without advance warning. Applications hardcoded to those model IDs faced days of incident response, while provider-agnostic architectures with configured failover chains switched to fallback models in minutes. This illustrates the limit of nominal redundancy. Several model choices can still share an operational dependency that removes them together.
For PHI workloads, switching quickly is only half the requirement. Every destination in the fallback chain must keep its BAA and Zero Data Retention coverage. Gateway-enforced provider allowlists make that restriction a per-key configuration. An available but uncovered provider is not an acceptable substitute. Redundancy without BAA-scoped routing is not compliance-safe redundancy.
What the privacy review is actually asking — and how a gateway answers it
The first review question concerns what actually reaches the model. NeuralSeek's guide frames the answer as a testable redaction configuration. Structured identifiers can be removed before the prompt is built, and contextual detection can catch what patterns miss. A workflow that keeps all PHI from reaching the model provides the strongest answer. That answer requires evidence from the workflow, however, and cannot be inferred merely from the presence of a redaction feature.
A durable, tamper-evident audit log must let the reviewer reconstruct a particular interaction from a particular day. The evidence must also be safe to retain. Credentials and connection secrets should stay out of prompts and responses entirely, so the review file does not become another place for keys to leak. Access and retention controls apply to that file because the record itself may contain PHI.
Role-based access and retrieval-layer constraints define what the system can see before any ranking happens. An assistant for one department should be structurally unable to retrieve another department's records. Instructions discouraging such access do not establish the same protection. The gateway's caller controls and the retrieval layer must therefore work together rather than relying on the model to respect a written prohibition.
Each configuration needs a clear mapping to the requirement it satisfies, in a structure the reviewer recognizes. A demonstration of model behavior is not that document. A project arriving with testable settings, reconstructable records, and a control-to-requirement map gives privacy reviewers engineering evidence. Counsel, the privacy office, and internal audit still decide what applies to the organization.
What to look for in a HIPAA-compliant AI gateway — and where Concentrate fits
A PHI-handling gateway evaluation begins with enforceable controls. The relevant criteria are BAA-scoped routing, input and output redaction, Zero Data Retention enforcement, role-based access, tamper-evident logging, and covered fallback chains. Audit records must be reconstructable per interaction and retained for the HIPAA six-year window. Missing controls need to be supplied elsewhere. A product's HIPAA positioning does not eliminate the need to establish how each requirement is met.
Deployment determines who enters the data path. A hosted gateway needs its own BAA when it handles PHI, while a self-hosted or in-VPC gateway keeps the vendor out of that path. The choice depends on infrastructure posture and risk tolerance. For healthcare startups, obtaining a BAA and the necessary controls should not require hospital-system procurement budgets or enterprise contract timelines. Operational ownership is therefore part of the comparison alongside feature availability.
Concentrate is a fully managed HIPAA-compliant AI gateway with no proxy to deploy or maintain. It offers PII and PHI redaction, Zero Data Retention, SSO, RBAC, and audit logs, with a BAA available through a monthly subscription. That is its only subscription fee. Without a BAA, there is no subscription fee, and there is no markup, platform fee, card fee, or BYOK fee.
Concentrate routes across models from 20+ providers with automatic fallbacks and real-time spend tracking by team, project, key, model, and provider. SOC 2 Type II, SSO, and audit logs are available on day one for teams of any size, without an enterprise contract. These capabilities make it a managed option for evaluation against the controls above. Automatic fallback still needs PHI-appropriate routing, and retained evidence still needs protection. Safe PHI routing makes compliance a property of the infrastructure.
References
- How to Use GPT and Claude With PHI Through a HIPAA-Compliant AI Gateway and a BAA Supplied the six-requirement framework, the provider-by-provider BAA coverage lists, the fallback and outage examples, and the description of Concentrate's managed gateway.
- AI in Healthcare: How to Meet HIPAA Requirements at the LLM Layer — AI Grounded Provided the reconstruction test for audit trails and the two-pass redaction approach (deterministic patterns plus contextual detection) used in the privacy review sections.
How to cite
Svetlana Vrbová. Safe PHI Routing Through an LLM Requires a Redacting Gateway Not a Trusting One. HIPAA Model Index. November 12, 2026. hipaamodelindex.com/posts/safe-phi-routing-through-an-llm-requires-a-redacting-gateway-not-a-trusting-one
© 2026 HIPAA Model Index