
Essay BAA Requirements
Which PHI Redaction Gateways Can Stand in Front of GPT-4 and Claude Under a Covered Entity's HIPAA Program
Six requirements decide whether a gateway can front GPT and Claude.
Preventing sensitive customer data from reaching GPT-6.1 or Claude requires inline PII and PHI redaction before provider submission. A gateway qualifies under a covered entity’s HIPAA program only when the deployment brings six requirements together at that enforcement point, including BAA coverage, zero data retention, redaction, encryption, access controls with audit logs, and breach notification readiness.
Why a BAA with OpenAI or Anthropic does not make a deployment HIPAA compliant
A health system begins an ambient-scribe pilot on Monday and discovers by Friday that full visit transcripts have been going to a consumer OpenAI tier without a BAA or redaction layer. The failure precedes any assessment of the model’s clinical usefulness. The wrong surface received the patient data. Signing a contract for a different surface would not repair that routing decision.
HIPAA compliance is a property of the deployment. A BAA is a legal instrument. Prompt construction, orchestration, RAG pipelines, and vector stores remain the covered entity’s responsibility. Anthropic’s documentation says Claude Enterprise needs HIPAA activation even with a paid contract. A clinician using an uncovered surface or a team adding a provider without its own zero data retention configuration can bypass the protections a contract was meant to support.
Which GPT and Claude surfaces actually carry BAA coverage, and which ones are excluded
OpenAI’s covered surfaces include ChatGPT for Healthcare, ChatGPT for Enterprise with Regulated Workspace, ChatGPT FedRAMP, and ChatGPT for Clinicians. The API with Modified Retention and API FedRAMP with Modified Retention are also covered paths. Coverage does not follow the brand name. OpenAI excludes ChatGPT Business, free and Plus consumer tiers, PHI through third-party GPTs outside approved workspace GPTs, discontinued plugins, and shared links outside the workspace.
Anthropic’s covered surfaces include the Messages API with a defined feature subset, prompt caching, structured outputs, memory, and web search. Coverage also includes the bash and text editor tools and the Token Counting, Models, and Org Management APIs. Claude Enterprise needs HIPAA activation on both self-serve and sales-assisted accounts. Claude Code CLI qualifies when signed in with a Claude Enterprise account connecting directly to Anthropic under the HIPAA configuration.
Anthropic excludes Claude Free, Pro, Max, Team, Cowork in the cloud, Workbench, Console, Claude in Office, and Claude Design. The Batch API, Files API, and most beta features are also excluded. Careful prompting does not make these covered surfaces. A workflow using a covered Messages API feature cannot assume that an adjacent feature inherits the same contractual protection.
AWS Bedrock provides a separate HIPAA-eligible route for Anthropic models that keeps data inside AWS infrastructure. Its eligible path covers Claude by Anthropic, Meta Llama, Mistral, Amazon Titan, and Cohere within HIPAA-eligible AWS regions, while specific models including Fable and Mythos are excluded. Model selection still needs scrutiny. DeepSeek’s hosted API has no BAA path and routes data to China. By contrast, xAI offers enterprise/API customers a BAA on request through a questionnaire and publicly documents HIPAA-eligible deployments.
Zero Data Retention, or ZDR, remains a separate requirement beyond the BAA at every provider. An application using GPT for one workflow and Claude for another needs separate contractual coverage, ZDR configurations, and audit trails. The covered entity still owns the requirements outside each vendor’s contract.

Why managing these requirements in application code creates compliance sprawl at production scale
Teams manage different API keys, SDKs, rate limits, retries, and fallbacks while maintaining another BAA, ZDR setting, and audit trail. When each application implements redaction, access control, and logging independently, the organization lacks one authoritative record of which PHI touched which model.
Agentic workflows compound that fragmentation because they generate substantially more tokens per task than a standard chatbot. Anomaly detection and cost attribution become harder when each team owns its provider integrations. Outages expose another weakness in the arrangement. Without a gateway-layer fallback, an application either fails or creates pressure to patch around the outage through an uncovered surface. A central enforcement point brings routing and compliance policy together so each application no longer has to handle that work on its own.
Staff using personal ChatGPT accounts to save time are filling a gap that policy and approved workflows left open. The gateway governs requests routed through it. It cannot make shadow AI acceptable simply by existing elsewhere in the architecture.
What a PHI redaction gateway must do at each of the six requirement layers to qualify under a covered entity's HIPAA program

BAA coverage begins with the gateway itself acting as a business associate under a signed agreement. That agreement must also cover the gateway’s links to the covered providers that receive its traffic. Procurement access is part of this evaluation. If a BAA is enterprise-only, a five-person digital health startup may be unable to use a gateway at launch even if it meets the startup’s other needs.
ZDR requires the gateway not to retain prompts, completions, or derived signals for model improvement. The control must be verifiable per request. A statement in the terms is not enough. Provider-side retention settings also need their own verification because the gateway’s policy does not automatically configure an upstream service.
Redaction must run inline before the network hop to the model provider. Its detector must cover the 18 HIPAA identifiers under 45 CFR 164.514(b)(2), use named entity recognition for free-text names, and support a custom dictionary for facility identifiers. Regex alone is not the stated standard. Model completions also need to be screened because a model can infer, combine, or echo PHI from retrieved context. Where the workflow allows it, PHI minimization should cut the amount of PHI that reaches the gateway in the first place.
Encryption is a separate layer of the evaluation. A BAA or redaction feature does not establish it. The deployment must show how PHI is encrypted, including audit records that hold PHI, since a general compliance label gives no proof that every layer is covered.
Access controls require unique user IDs, MFA, RBAC, and automatic logoff. Every PHI-touching request must have an audit record tied to caller identity, with six-year retention under this framework. Those records must be tamper-evident. They provide evidence for an OCR investigation and must remain usable without undermining the deployment’s PHI protections.
To be ready for a breach, the deployment needs a written incident response plan that covers provider-side breaches and downstream notification. The gateway’s BAA must say when it will give notice of a breach. A generic assurance does not establish the timeline. Together, these contractual and technical controls define the evaluation, while Safe Harbor de-identification offers a cleaner design where the workflow can operate on inputs that genuinely qualify as de-identified.
Prompt construction, orchestration, RAG pipelines, and vector stores remain the covered entity’s responsibility.
How five gateways that appear on the HIPAA-ready list actually perform against those six layers
Future AGI Agent Command Center describes itself as HIPAA certified and offers a BAA without a custom-tier review. It is self-hostable inside a covered entity’s VPC under Apache 2.0. Its six-year audit retention directly addresses one evaluation criterion. Region-aware policy presets, per-virtual-key budgets, and observability-framework-native traces support governance, but those features do not establish complete identifier detection, per-request ZDR verification, or breach notification terms. Those layers remain deployment questions.
Portkey, now Prisma AIRS AI Gateway under Palo Alto Networks, lists SOC 2 Type 2, ISO 27001, GDPR, and HIPAA. Its Trust Vault has a HIPAA report, and custom BAAs are part of Enterprise-tier contracts. Redaction is included among its guardrails. PHI redaction and jailbreak detection do not require a separate vendor or custom middleware, and granular budget and rate limits apply across models, providers, teams, or applications. Before signing a multi-year contract, the procurement team should still check when integration after the acquisition will take place and whether the other controls are in place.
TrueFoundry AI Gateway supports deployment in the customer’s VPC, on-premises, or fully air-gapped, keeping request data within the customer’s domain. It lists SOC 2, HIPAA, and GDPR compliance with SSO and RBAC. Its control plane also governs MCP tool calls. Every tool call uses OAuth2 and audit logging, which makes it useful to health systems that need a fully air-gapped control plane. The stated capabilities do not, by themselves, resolve BAA accessibility, redaction coverage, retention evidence, or notification commitments.
Aptible AI Gateway targets digital health startups and makes its BAA standard. It is HITRUST certified and includes audit logging with PHI encryption, re-identification capability, and built-in PII/PHI de-identification. Those features address several layers directly. Aptible’s own comparison identifies capabilities that LiteLLM leaves to the customer and Portkey places at its enterprise tier, but that comparison is not a substitute for end-to-end evaluation. Detector coverage, ZDR verification, access settings, and incident terms still need examination.
LiteLLM lists SOC 2 Type 2 and ISO 27001 at its Enterprise tier but does not claim HIPAA. Its built-in Presidio integration provides PII detection through self-hosted infrastructure, without managed hosted guardrails or a hosted HIPAA dashboard. The customer supplies the HIPAA wrapper. Its broad provider catalog makes it a common code-first starting point, but also leaves substantial operational responsibility with the team. A package-repository supply-chain vulnerability disclosed on March 24, 2026 affected only specific versions, and teams pinning a known-good commit can mitigate that exposure.
Helicone’s Team plan adds SOC 2 and HIPAA, but its acquisition and winding down of feature development make migration planning relevant for healthcare users already on the product. Existing customers should treat that change as a planned migration window.
The strongest objection: PHI redaction at the gateway is a false guarantee if the underlying model can reconstruct identifiers from context
A patient may still be identifiable after a name and MRN are removed. Diagnosis codes paired with a rare condition, a service date paired with a treatment type, or a facility paired with a clinician’s specialty can leave context that helps identify a patient. A gateway that strips explicit identifiers while forwarding those combinations can leave re-identification vectors intact.
The response combines minimization through workflow design that reduces the contextual detail submitted with input and output controls that apply redaction policy to completions as well as outbound prompts. Even then, residual risk can remain above the gateway. Prompt engineering and workflow design must address a model reasoning over de-identified context to produce a re-identifiable output. The audit trail makes that risk detectable and attributable, but it does not itself prevent reconstruction.
How to evaluate a gateway deployment end to end before PHI enters production
The compliance officer and engineering lead should check the whole route together before production PHI enters it. First, confirm the gateway’s BAA and coverage for every destination, whether directly or through a cloud-provider BAA. No PHI-capable key should reach an uncovered provider. Then verify each provider’s ZDR configuration independently, rather than accepting the gateway’s policy as a substitute.
Next, use synthetic PHI to test for all 18 identifiers, including free-text names and facility-specific identifiers. Test completions as well as prompts. Pull sample audit records and inspect caller identity, routed model, timestamp, and redaction decisions, then confirm tamper evidence and six-year retention. The same review should cover encryption and scoped credentials, with no shared root keys in production and SSO and MFA enforced at the gateway. Breach response documentation should connect provider incidents to the BAA’s notification timeline.
Fallbacks need to be tested end to end on their own with those controls in place. A primary-provider outage must route only to another covered provider under the same BAA chain, with equivalent logging. Operational visibility belongs in the go-live review too. Real-time spend attribution by team, project, key, model, and provider makes high-volume agentic workloads visible before the invoice arrives. The HIPAA risk analysis should then record how the environment has changed, which providers are in use, the contract chain, and the risks that remain.
Concentrate AI illustrates the managed version of this approach through one API spanning dozens of providers, with no proxy for the customer to deploy or maintain. It offers a BAA on the paid plan, PHI and PII redaction at the enforcement point, and included real-time spend tracking. Its automatic fallbacks switch between providers that serve the same model. These features shift work from infrastructure builds toward configuration, but do not excuse validation of covered routes, retention, redaction, and audit evidence.
Notes
- How to Use GPT and Claude With PHI Through a HIPAA-Compliant AI Gateway and a BAA
Supplied the framework of BAA, ZDR, redaction and audit requirements for routing GPT and Claude traffic through a gateway, plus the managed-gateway example.


