By Maryna Poplavska, Lead Project Manager · Last updated 19 November 2026
A HIPAA-compliant chatbot is not a product category or a certificate. The US Department of Health and Human Services (HHS) says it does not certify any person or product as “HIPAA compliant”. The phrase describes one deployment: every service that creates, receives, maintains or transmits protected health information (PHI) for you does so under a business associate agreement (BAA) that covers that exact service, subject to HIPAA’s narrow exceptions, and you limit what the chatbot sees and keeps. A text chatbot touches far more than its model API: hosting, embeddings, a vector index, stored conversations, logs, analytics and the support desk.
This guide walks one chat turn hop by hop, shows what five LLM vendors say about BAAs and retention on their own pages, and marks where no page answers. It covers text chatbots under US HIPAA, as we read the texts on 19 November 2026. It is an engineering reading, not legal advice.
Key takeaways
- “HIPAA-compliant” describes your deployment and its contracts, not a vendor badge. HHS does not certify products.
- Your role decides who signs what. If you sell the chatbot to clinics, you are probably their business associate, your vendors are your subcontractors, and the clinic’s BAA with you does not reach them.
- A BAA is scoped per service, per feature and often per plan, not per vendor. Each of the five vendors draws the line differently on its own pages, and each is silent somewhere.
- A BAA is not a promise to keep nothing. Abuse-monitoring logs, retention windows, human review of flagged content and stored conversation state are separate terms.
- De-identification can take data outside HIPAA, but free-text chat is the hard case. Treat redaction as a control, not as a legal conclusion.
What does “HIPAA-compliant chatbot” actually mean?
It is a claim about one deployment, and no agency certifies it. In its guidance on misleading marketing claims, HHS’s Office for Civil Rights says it does not certify any persons or products as HIPAA compliant. Google Cloud’s HIPAA page agrees: “The U.S. Department of Health and Human Services (HHS) doesn’t offer a certification program for HIPAA compliance.”
In our reading, the phrase can fairly mean three things together:
- Every vendor that handles PHI for you has signed a BAA covering the service and features you use.
- Your deployment applies the Security Rule’s safeguards.
- You have done the risk analysis that rule requires: under 45 CFR 164.308(a)(1)(ii)(A), “an accurate and thorough assessment of the potential risks and vulnerabilities” to the electronic PHI you hold.
It cannot mean that a vendor’s “HIPAA-ready” label, a SOC 2 report or a “HIPAA certified” badge makes your use compliant. In our view, “HIPAA certified” tells you about a vendor’s marketing, not its contract: ask for the BAA and the list of services it covers. Because patients type free text, we would plan as if any message may contain PHI.
Are you a covered entity, a business associate, or neither?
In our reading, a provider or health plan that builds its own chatbot is the covered entity, a software company that sells one to clinics is most likely each clinic’s business associate, and a consumer app may sit outside HIPAA altogether. Your seat decides who signs what.

A provider or health plan builds its own chatbot. It is the covered entity: under 45 CFR 160.103, a health plan, a clearinghouse or a provider that conducts covered transactions electronically. Each vendor that handles PHI for it needs a BAA with it.
A software company sells the chatbot to clinics. The same section defines a business associate as a person who, “On behalf of such covered entity … creates, receives, maintains, or transmits protected health information for a function or activity regulated by this subchapter”. Its own vendors are then subcontractors: “Subcontractor means a person to whom a business associate delegates a function, activity, or service, other than in the capacity of a member of the workforce of such business associate.”
A direct-to-consumer app that no covered entity engaged, and that is not one itself. A business associate acts on behalf of a covered entity, so HIPAA may not apply at all; ask counsel, and see what applies instead.
The chain, in the rule’s own words. Under 164.308(b)(2), a business associate may let a subcontractor handle electronic PHI for it only with “satisfactory assurances” that the subcontractor “will appropriately safeguard the information.” And 164.504(e)(2)(ii)(D) requires the business associate to “ensure that any subcontractors that create, receive, maintain, or transmit protected health information on behalf of the business associate agree to the same restrictions and conditions that apply to the business associate with respect to such information”.
The design consequence, in our reading: the clinic’s BAA with you gives you no agreement with the model vendor. You need your own BAA with each vendor, carrying the same restrictions and conditions your clinic BAAs place on you. Microsoft’s HIPAA page describes the chain from the vendor’s side: a healthcare SaaS provider’s customers “can sign a BAA directly with you. They don’t need to have a BAA in place with Microsoft to use your SaaS solution.” It also says “Microsoft can’t use a customer’s BAA”: expect a hyperscaler’s standard paper, and ask counsel whether it fits a business associate. How liability splits between you, the vendor and the clinic if a subcontractor mishandles PHI is partly regulatory, partly contractual; settle it with counsel before you sign with clinics.
Which hops in a chat turn need a BAA?
Any hop that creates, receives, maintains or transmits PHI for you. Those words in 160.103 are the test: what a service does with the data decides, not what it is called. The table is our reading.

| Hop | What it touches in one chat turn | Handles PHI? (our reading) | Get in writing | Common miss |
|---|---|---|---|---|
| 1. Chat widget and message delivery | The message in the app; SMS, email and push notifications | Yes, once a message links a person to health information | A BAA with any vendor that hosts the widget or carries messages | A notification that repeats the message text |
| 2. Your application and hosting | Every message, session and tool call; any CDN, WAF or gateway in front that logs bodies; queues and backups | Yes: it receives and maintains PHI | The cloud BAA; each service you use on its covered list | One service that is not on the list |
| 3. LLM API | The prompt (system prompt, history, retrieved context, message) and the response | Yes, if the prompt can identify the patient | A BAA on the exact endpoint and features; the retention setting | Features outside the BAA, which differ by vendor: batch, files, hosted tools, live web search |
| 4. Embeddings API | The text you embed: messages, documents, chart excerpts | Yes: the input is the same text | A BAA that covers the embeddings endpoint | Embeddings treated as “just vectors” |
| 5. Vector index (vector database) | Source chunks, their embeddings and metadata | Yes, if chunks or metadata hold PHI. Embeddings alone: ask counsel; research shows they can be inverted back to text | A BAA with the index host; deletion per patient | Chunk text stored as metadata beside each vector |
| 6. Conversation state and memory | Stored threads, chat history, agent memory, uploaded files | Yes: it maintains PHI | Which stores the vendor runs, and for how long | Vendor-side threads left at default retention |
| 7. Logs, traces and observability | Prompts, responses and tool calls captured for debugging | Yes, if content is captured | A BAA, or content stripped before export | A tracing SDK left on full-prompt capture |
| 8. Analytics, session replay, error reporting | Events, screen recordings, stack traces with message text | Yes, if events or recordings capture message text | A BAA, or the SDK kept off chat screens | Replay recording the chat window |
| 9. Support desk, human review and evaluation | Tickets, screenshots, sampled conversations | Yes | A BAA with the help desk, annotation or eval vendor | A transcript pasted into a ticket |
The clinic’s EHR sits under the clinic’s own agreements; in our reading, an integration vendor you bring in is your subcontractor. In our view, a row you cannot fill in is the answer: keep PHI out of that hop. Voice adds telephony, speech-to-text and the question of whether a BAA covers audio.
Which LLM and cloud vendors sign a BAA, and for what?
Per service, per feature and often per plan: read the vendor’s current page and your signed paper, not a blog. The table quotes each vendor’s own pages as read on 19 November 2026, alphabetically and unranked.
| Vendor and pages read | Route to a BAA (as the page says) | What the page names as covered | Retention, review or training language | Not stated on the pages we read |
|---|---|---|---|---|
| Anthropic (BAA article, API and data retention) | “Eligible organizations can review and execute the BAA and enable HIPAA readiness directly from the Claude Console.” A negotiated BAA goes through sales; the BAA article says to then ask Anthropic to turn it on | “Anthropic provides a BAA covering our HIPAA-ready services, such as use of our first-party API, Claude in Microsoft Foundry, or Enterprise plans.” “Not all API features are covered”: the Batch and Files APIs are not, nor are consumer plans | “Conversation content (your prompts and Claude’s outputs) is not retained by default; the exception is Covered Models, which require 30-day retention.” | Whether people review flagged content. For Claude on Amazon Bedrock or Google-managed Claude, it defers to those platforms: there, “the cloud provider is the data processor” |
| AWS Bedrock (HIPAA Eligible Services Reference, Bedrock data protection, data retention) | Covered entities and business associates “agree not to use these HIPAA Eligible Services … without first entering into an AWS business associate agreement.” | The list includes Amazon Bedrock, Amazon Bedrock AgentCore, Amazon OpenSearch Service, Amazon CloudWatch Logs and Amazon S3. “Unless specifically excluded, generally available features of each of the HIPAA eligible services listed are also considered HIPAA eligible.” | Retention is set per Region and “does not propagate to other Regions”. For models that require human review (Claude Fable 5, 5.1 and 5.2, as read), prompts and completions “are retained within the AWS boundary for up to 30 days and may be reviewed by AWS” | How to enter the BAA |
| Azure OpenAI (Microsoft Foundry Models sold by Azure) (HIPAA offering, abuse monitoring) | “There is no separate contract to sign”: the BAA is in the Microsoft Product Terms, offered “by default to all customers who are covered entities or business associates under HIPAA.” | No AI service by name. In-scope services sit in a Service Trust Portal document we did not read | For flagged content, “human eyes-on review might be introduced to make an extra judgment.” “This human review abuse monitoring process won’t take place if the customer has been approved for modified abuse monitoring.” | Whether Azure OpenAI is in BAA scope (check that document). Whether human review of flagged prompts fits your BAA and risk analysis |
| Google Cloud (Gemini Enterprise Agent Platform) (HIPAA on Google Cloud) | “Google enters into Business Associate Agreements as necessary under HIPAA.” | The list names “Generative AI on Agent Platform”, “Gemini Enterprise Agent Platform” and “Conversational Agents”. For unsupported services: “If you can’t disable a service, you must not use it for PHI.” | Not on the HIPAA page. The zero-data-retention page says “Google may log prompts to detect potential abuse” and “By default, Google’s published Gemini models cache Customer Data to reduce latency and accelerate responses.” | “Vertex AI” appears only in “Vertex AI Workbench instances”. The Gemini API outside Google Cloud |
| OpenAI (HIPAA eligible products, data controls) | “API HIPAA eligibility requires an executed OpenAI BAA. Your organization must also be provisioned with Modified Retention, unless OpenAI specifies otherwise.” | The “HIPAA-Eligible Endpoints” list includes, among others, /v1/responses, /v1/embeddings, /v1/vector_stores and /v1/realtime. “Web Search with live internet access is not HIPAA eligible and is not covered by a BAA.” | Abuse-monitoring logs are “retained for up to 30 days, unless longer retention is required by law, or is reasonably necessary to protect our services or any third party from harm.” | How “Modified Retention” maps to the data-controls page’s arrangements, whose “Private Retention with PSP and Safety Retention eligible” column marks /v1/embeddings and /v1/vector_stores “No” (embeddings is “Yes” under “Zero Data Retention eligible”): get it in writing |
Coverage narrows by feature, so one request parameter can take you outside the BAA. Anthropic blocks most of this in the API (“the API returns a 400 error to prevent accidental use of features not covered by your BAA”), but some client-side tools pass unblocked and stay uncovered; in our view, test both. And the hosting path changes whose paper applies: in our reading of Anthropic’s page, Claude reached through Amazon Bedrock falls under AWS’s terms, not Anthropic’s BAA.
Zero data retention (ZDR) and modified abuse monitoring need the vendor’s agreement at OpenAI, Anthropic and Microsoft alike, so ask about timing before you promise a clinic a launch date.
Does a BAA mean the vendor keeps nothing? Retention, logs and human review
No. A BAA says the vendor may handle PHI under HIPAA duties; retention, abuse-monitoring logs, human review and training use are separate terms. Anthropic describes its HIPAA arrangement as one that “applies a broader set of privacy and security safeguards than ZDR (encryption, access controls, and audit logging that protect PHI throughout its lifecycle) rather than requiring immediate deletion.” OpenAI writes that, once an organization is provisioned with one of its retention arrangements, “BAA-eligible endpoints can be used for processing PHI, even if data is retained.”

In our reading, “covered by the BAA” and “retains nothing” are two different properties. OpenAI answers them on two pages: one lists BAA-eligible endpoints, the other what each endpoint retains. Think of retention in three layers.
1. The vendor’s defaults: the abuse-monitoring logs, model retention and human review quoted in the table. On Anthropic’s page, flagged content can outlast every other setting: even with ZDR or HIPAA arrangements in place, “if a chat or session is flagged, Anthropic may retain inputs and outputs for up to 2 years.”
2. The arrangement that changes them: zero data retention, modified abuse monitoring or a HIPAA configuration, approved per organization or project, and sometimes per model. Anthropic’s Covered Models need 30-day retention. Microsoft has announced that “For models made available on or after November 1, 2026, Modified Abuse Monitoring will no longer be available, beginning on a future date to be announced”, with “at least 30 days’ notice” per model. In our view, a model upgrade is a compliance change: it can change the retention terms that apply. Pin versions or snapshots, not moving aliases, and list the models your paper covers.
3. Stored state and your own copies: some features keep data because that is their job: OpenAI’s table lists conversations and vector stores as kept “Until deleted”. Then come your own logs, traces, index and analytics: in our view, the easiest to forget.
Training is a separate term. OpenAI: “As of March 1, 2023, data sent to the OpenAI API is not used to train or improve OpenAI models (unless you explicitly opt in to share data with us).” Anthropic: “Retained data is never used for model training without your express permission.” AWS and the model providers “will not use any inputs to or outputs from Amazon Bedrock to train” models (Bedrock FAQ). Google “won’t use your data to train or fine-tune any AI/ML models without your prior permission or instruction” (zero data retention). Microsoft: prompts, completions and embeddings “are NOT used to train any generative AI foundation models without your permission or instruction” (data privacy).
Human review is a question for counsel: whether a vendor employee reading flagged prompts fits your BAA, your clinics’ BAAs and your risk analysis.
In our view: choose the retention arrangement before you sign, record it with the date read, and re-check the BAA, retention and blocked features whenever you change model, endpoint or feature.
Mapping your own chain? That is the first thing we do on a call; see the end of this guide.
What is “minimum necessary”, and does de-identification get you out of the chain?
In our view, limiting what the model sees is your cheapest control; de-identification is a legal standard, not a regex.
Minimum necessary. Under 164.502(b), a covered entity or business associate “must make reasonable efforts to limit protected health information to the minimum necessary to accomplish the intended purpose of the use, disclosure, or request.” Paragraph (b)(2) lists exceptions, starting with “Disclosures to or requests by a health care provider for treatment”. In our reading, the treatment and patient exceptions cover disclosures to a provider or to the patient, not the prompt you send a model vendor; ask counsel. We would send less:
- Send the model only the fields the task needs.
- Retrieve passages, not whole charts, and filter retrieval by patient or tenant inside the vector query, with what OWASP calls “permission-aware vector and embedding stores”.
- Pass identifiers as references that your own system resolves after the model call, and take the patient’s identity from the authenticated session, never from the model’s output: if the model can name the patient in a tool call, a prompt injection can name another one.
OWASP’s 2025 Top 10 for LLM applications (LLM01 prompt injection, LLM02 sensitive information disclosure, LLM08 vector and embedding weaknesses) and NIST AI 600-1 list these risks.
The reference pattern has a trap. A re-identification code on de-identified data must be one that “is not derived from or related to information about the individual” (164.514(c)); in our reading, a hash of a medical record number fails that test. HHS’s de-identification guidance allows one route around it: codes derived from PHI, including cryptographic hashes, under Expert Determination, “provided the keys associated with such functions are not disclosed”. And under 164.502(d)(2)(i), disclosing the means of re-identification “constitutes disclosure of protected health information”, so the lookup table never travels with the prompt. A reference token is a minimization control, not proof of de-identification: unless the code and the rest of the prompt meet one of HIPAA’s de-identification methods, treat the prompt as PHI.
De-identification. 164.514(a): “Health information that does not identify an individual and with respect to which there is no reasonable basis to believe that the information can be used to identify an individual is not individually identifiable health information.” There are two routes: an expert’s documented determination that the risk of identification is very small ((b)(1)), or the safe harbor ((b)(2)): remove the identifiers listed in (A) to (R), for the patient and their relatives, employers and household members, ending with “Any other unique identifying number, characteristic, or code”, and have no “actual knowledge” that what remains could identify the individual.
Free text is the hard case. A patient types a name, a rare condition plus a town, a date inside a sentence, a number to call back. The transport adds more: the list includes “Web Universal Resource Locators (URLs)” and “Internet Protocol (IP) address numbers”, both routine in chat logs. Redaction catches patterns, not context. In our reading, it lowers risk but does not by itself meet either route, and your system knows who is in the session, which weighs against “no actual knowledge”. A redaction service, LLM or not, sees the raw text first, so in our reading it needs a BAA too (164.502(d)(1)), or must run in your own environment. Treat “we redact” as a control, and “this is de-identified” as a conclusion that needs the standard met in full.
What should you log, and where do the logs live?
Prompts and responses that contain PHI are PHI, so wherever you store them is a hop in the chain, with its own retention rule. In our view, PHI also collects in places teams forget:
- Prompt and semantic caches, which hold message text; a semantic cache can serve one patient’s answer to another.
- Retries and failover, where dead-letter queues keep payloads and a fallback Region or provider can sit outside your paper.
- Error reporters that attach the request body.
- Tool-call arguments, which reach downstream APIs and their logs.
- Eval sets and fine-tuning data copied from real conversations, which can outlive your deletion run.
For the logs themselves, six decisions settle it:
- Log metadata separately from content. Who, when, which model and tool, latency and outcome answer most questions without the message text; metadata that identifies a patient or their care is still PHI.
- Keep any content in a store under a BAA, with access control and its own retention rule.
- Treat an observability vendor that receives content as a subcontractor. Sign a BAA or strip content before export.
- Keep PHI out of configuration, where vendors warn that copies can end up in logs. AWS: “Any data that you enter into tags or free-form text fields used for names may be used for billing or diagnostic logs.” Anthropic: “Do not include PHI in JSON schema definitions.” In a chatbot: no real patient examples in system prompts, tool descriptions, schema enums or eval fixtures.
- Separate the audit trail (who opened which conversation) from debugging traces. They need different access and retention.
- Plan the end of each contract. Under 164.504(e)(2)(ii)(J), the contract must require the business associate, at termination and if feasible, to return or destroy PHI “and retain no copies of such information”; 164.504(e)(5) applies that to subcontractor contracts. In our reading, it reaches the vector index and logs a vendor holds for you, so build per-tenant deletion that works.
What if HIPAA does not apply to your chatbot?
Then the FTC’s Health Breach Notification Rule may apply instead, and state law may apply either way; the vendor contracts still matter.
16 CFR Part 318 covers vendors of personal health records that are not HIPAA-covered entities or acting as business associates, and their third party service providers: entities that provide services to such a vendor and handle “unsecured PHR identifiable health information as a result of such services”. In our reading, an LLM vendor can fall there, depending on the product and the service relationship. Its breach definition includes an unauthorized disclosure, so in our reading, sending chat content to an analytics or ad vendor without the user’s authorization may count, with no break-in at all.
Whether a given chatbot falls under the rule, and which state health-privacy and AI-disclosure laws apply, is for counsel.
What have we built, and what have we not?
Text assistants on LLM APIs and healthcare AI pipelines, but no BAA-backed chatbot. Related published work:
- Two text assistants on LLM APIs. For Chambiar, we built an orchestration engine on LangChain, with intent classification and entity extraction through OpenAI APIs and schema-validated tool calls. Its audit log records every action with its triggering prompt and outcome. Not healthcare. Nor is the customer-facing chatbot we built for Innocentia, a bridal brand, on custom models augmented with Gemini and OpenAI APIs.
- A healthcare data pipeline to the client’s own model. For EmanoFlow, an app that turns audio into clinical data, we built the pipeline from on-device encryption through secure transmission to the client’s proprietary ML API and encrypted storage on AWS. Not a chatbot.
- Healthcare AI designed around zero persistence. For Cloudbreak, a healthcare video translation platform, we designed the real-time pipeline for HIPAA and GDPR around zero data persistence and zeroed buffers, with audit logging that records translation events without their content: the metadata-not-content pattern above. Not a chatbot.
We have not published a case study of a patient-facing or clinician-facing LLM chatbot, and none of the text assistants above ran under a BAA with an LLM vendor. The vendor terms in this guide come from the vendors’ own pages and from the regulations, not from a build of ours.
What should you have signed before the first patient message?
Give every line an owner, and have counsel review the set before launch.
| Item | Owner |
|---|---|
| A risk analysis on file, and counsel’s answers on the open points | Compliance, legal |
| Your role (covered entity, business associate or neither), written down | Legal |
| A vendor register: every hop, its agreement, covered service and plan, retention setting, date read | Vendor management |
| A BAA with each vendor on the exact endpoint and features | Engineering, compliance |
| As a business associate: subcontractor BAAs with the same restrictions and conditions as your clinic BAAs | Legal |
| Retention settings confirmed in writing, re-checked on every model change | Engineering, vendor management |
| Minimum-necessary design (fields, retrieval scope, references), with redaction documented as a control, not as de-identification | Engineering, compliance |
| Staging tests with synthetic patient data: canary strings searched in every store you control, blocked features, failover on the same paper and Region, deletion, cross-patient retrieval | Engineering |
| A breach path: the HHS rules under HIPAA, the FTC rule where it applies | Compliance, legal |
FAQ
Do I need a BAA with the LLM vendor?
If you are a covered entity or a business associate and prompts may contain PHI, yes: the rules quoted above require assurances from each vendor that handles PHI for you, covering the exact endpoint and features. Without a BAA, keep PHI out of the prompt.
Is ChatGPT HIPAA compliant?
HHS certifies no product as HIPAA compliant; compliance belongs to a deployment. OpenAI’s help page ties API eligibility to an executed BAA plus Modified Retention and lists the eligible products and endpoints. Check that list before assuming a plan is covered.
Does a BAA make my chatbot HIPAA compliant?
No. It is one required contract per vendor; safeguards, the risk analysis, minimum necessary, your logs and every other hop remain yours. Microsoft: “Microsoft doesn’t inspect, approve, or monitor your applications deployed on Azure.”
Building a chatbot or assistant for clinics or patients? Book a free 30-minute call with a Trembit engineer. Bring your chatbot’s data flow (model, hosting, vector index, logging, analytics), your vendor list, and any clinic security or compliance questionnaire you have received, if you have one. We’ll walk the chain hop by hop, mark where a BAA, a retention setting or a redaction step is missing, and flag where your counsel needs to decide. No deck, no pitch.