minntelligence

"I want to use AI, but HIPAA." This is a solved problem. Clinics and health-tech teams run AI in production every day using one of the three standard setups below.

[ architecture setups :: hipaa ]

Path A: Local / On-Premises (PHI Stays Inside Clinic Network) Clinic EHR / Staff App Contains PHI Local Open-Weight Model Clinic server / LAN only No External Transfer No third-party BAA needed Path B: Direct BAA + ZDR Cloud / API (PHI Allowed with Signed BAA) Clinic App (PHI) TLS 1.2+ encrypted BAA-Covered API / Cloud OpenAI, Anthropic, Bedrock, Vertex AI, or Azure OpenAI Signed BAA + ZDR No training, no 30-day logs (excludes non-BAA tools) Path C: ZDR Gateway Without a BAA — OpenRouter (Not Valid When PHI Is in Prompt) Clinic App (PHI in Prompt) Identifiable patient data OpenRouter (ZDR-Only) zdr: true, logging off Standard DPA (no BAA) Not HIPAA-Compliant for PHI ZDR ≠ BAA; DPA §2.6 excludes health data

[ hipaa requirements vs. zdr & dpa ]

HIPAA Requirement How ZDR / DPA Fulfills It (and Where a BAA Is Still Needed)
No unauthorized use or model training on data Commercial API terms (OpenAI, Anthropic) and OpenRouter ZDR-only routing (§2.4(b)) restrict routing to providers representing "no retention and no training" on API payloads.
Data minimization & no persistent storage ZDR deletes prompts and outputs promptly after generation (OpenRouter DPA §1.19, §2.4(a); OpenAI/Anthropic ZDR removes the standard 30-day abuse-monitoring log window).
Technical safeguards (encryption, access control) Covered by DPA security schedules: TLS 1.2+ in transit, AES-256 at rest, MFA, least-privilege access, immutable audit logs, and SOC 2 Type II controls (e.g., OpenRouter DPA Schedule 2).
Breach notification & incident response DPAs commit to incident investigation and prompt breach notification—for example, within 72 hours under OpenRouter DPA §7 and Schedule 2.
Subprocessor governance DPAs require written data-protection flow-downs with subprocessors and restrict them to strictly necessary service delivery (OpenRouter DPA §5, Schedule 3).
Signed Business Associate Agreement (BAA) Not fulfilled by ZDR or a standard DPA alone. OpenRouter's standard DPA (§1.15, §2.6, Schedule 1B) excludes Sensitive Data (including health info) by default. Actual PHI requires a signed BAA (OpenAI API/Healthcare, Anthropic Enterprise/1P API, AWS Bedrock, Google Vertex AI, Azure OpenAI) or local on-prem inference.

[ what is hipaa? ]

HIPAA (the Health Insurance Portability and Accountability Act) regulates how healthcare providers, health plans, and clearinghouses handle Protected Health Information (PHI). Whenever a third-party software vendor receives, processes, or transmits PHI on a clinic's behalf, HIPAA requires a signed Business Associate Agreement (BAA) allocating legal responsibility and security safeguards.

[ why people think "all ai trains on your data" ]

Most confusion comes from mixing up consumer chat apps (ChatGPT Free/Plus, Claude Free/Pro) with commercial APIs. Consumer tiers are not built for regulated data and do not come with BAAs or ZDR. On commercial APIs, there are four distinct concepts:

[ openai, anthropic, and openrouter ]

[ fastest same-day route :: aws bedrock ]

Google Cloud Vertex AI also offers a self-serve console BAA, and Azure includes a BAA via Microsoft's Product Terms—whereas direct OpenAI/Anthropic BAAs take a few business days, and OpenRouter/OpenCode don't offer BAAs.

Note: This page is an informational overview, not legal advice. Confirm BAA status, eligible endpoints, and de-identification rules with your compliance officer or legal counsel before sending regulated data to any model.