Healthcare AI Policy Enforcement

    How to Reduce AI Costs Without Routing PHI to Non-BAA Models

    Treat the BAA boundary as a fixed constraint and enforce it at each model call. Classify every request before inference, allow PHI-bearing requests only to BAA-covered models, redact, block or escalate the rest of the PHI cases, and record evidence of each decision. Cost levers such as model tiering, fewer redundant calls and rate limiting then operate inside that boundary.

    Where policy has to sit in the execution path

    1. 1

      1. Classify

      Inspect the prompt, attached context and retrieved documents for PHI. Produce a label and a confidence outcome, including an explicit 'uncertain' state.

    2. 2

      2. Resolve eligible models

      Look up the BAA coverage status of each model in the portfolio. PHI-bearing and uncertain requests see only BAA-covered models. Non-PHI requests see the full portfolio.

    3. 3

      3. Apply the action

      Allow the request, redact PHI before inference, block it, or escalate it for human approval where policy requires a decision.

    4. 4

      4. Rate limit

      Apply per-user, per-application or per-model limits so that one workload cannot flood a model, covered or not.

    5. 5

      5. Record evidence

      Write the decision, policy version, selected model, redactions applied and any approver at the time of the call.

    6. 6

      6. Update coverage status

      Treat BAA status as managed policy data, so adding or removing a model changes routing without code changes in each application.

    Evidence and evaluation criteria

    • Per interaction: the classification result, the action taken and the policy version in force.
    • The model selected, and its BAA coverage status at the time of the call.
    • Any redaction applied, and any approver and outcome for escalated requests.
    • Retention, protection from alteration and data residency that match your obligations, ideally within your own cloud.
    • Behavior when classification is uncertain, and how to add or remove a model's coverage status.
    • Coverage beyond plain model calls, including agent and tool calls.

    Compliance is the constraint, cost is the result

    Healthcare organizations want to use a wider range of models, including lower-priced options, for the growing set of AI workloads. The risk is that some of those models are not covered by a Business Associate Agreement. This guide holds one rule fixed: PHI is never sent to a model that lacks a BAA. Every cost decision is evaluated only after that rule is satisfied.

    The Security Rule frames the obligation. Sections 164.306 and 164.312 apply to covered entities and business associates, and the Rule requires reasonable and appropriate administrative, physical and technical safeguards for the confidentiality, integrity and availability of ePHI, including protection against unauthorized uses or disclosures. An AI model call is a transmission of data to a processing service, so the safeguard has to exist where the call is made.

    A proposal to amend the Security Rule was published in the Federal Register on January 6, 2025. As of October 2026, design against the current text of the Rule and treat the proposal as a proposal.

    The practical consequence is that cost reduction becomes a routing problem. A broader portfolio helps only if the system can tell, per request, which models are eligible.

    Detecting and handling PHI at inference time

    Classification is the weakest point in most designs, so it deserves explicit attention. Pattern-based detection finds structured identifiers such as record numbers reasonably well but can miss PHI embedded in free text, such as a clinical note that identifies a patient through context. Model-based detectors cover more ground but can produce both false negatives and false positives. No detector should be assumed to be complete, and any approach should be tested against the organization's own data before it gates production traffic.

    This is why uncertainty needs its own path. When classification is not confident, the safe default is to treat the request as PHI-bearing and restrict it to BAA-covered models, or to escalate it for human approval. Human-in-the-loop safeguards and data anonymization are both named as mitigation tactics in CMS AI guidance, which is agency reference practice rather than a HIPAA requirement.

    Redaction has its own tradeoffs. Removing identifiers can reduce the usefulness of a response, and it changes the request. Integrity controls under 164.312(i) concern detecting improper modification of transmitted ePHI. Redaction is an intentional modification, so a sound design records what was changed and why. Blocking is the strictest action and suits cases where redaction would destroy the task or the classification is unreliable.

    Cost levers that work inside the boundary

    Three levers are legitimate and compatible with the constraint, provided each is applied after classification and not before it.

    Model tiering matches the model to the task. Summarizing a public policy document does not need the same model as complex clinical reasoning. Non-PHI workloads can use a broader set of models, while PHI-bearing work stays on BAA-covered models selected for the task.

    Reducing redundant calls removes repeated or duplicate requests. Caching needs care here. A cache that stores prompts or responses derived from PHI holds ePHI itself, so cache scope, keys and retention should follow the same classification and access policy as the original call. Do not serve a response generated from one patient's data to another request.

    Rate limiting caps volume per user, application or model. It also contains runaway loops in agent or tool-call workflows.

    The effect of each lever depends on workload and traffic, so measure it in your own environment. Compliance does not depend on those measurements. The routing restriction holds whatever the numbers show.

    Runtime enforcement compared with static and after-the-fact methods

    Teams often start with developer discipline, static allowlists or periodic review. Each has a place, but only enforcement in the path acts on the individual request.

    • Developer discipline: Depends on every team routing correctly. Cannot distinguish PHI from non-PHI at the moment of the call and leaves no durable record of what was permitted.
    • Static allowlists: Define which models an application may use, but not what each request contains. A PHI-bearing request inside an allowed application still reaches whatever model the list permits.
    • After-the-fact review: Finds problems once data has already been sent. Useful for detection and improvement, but it cannot prevent a disclosure.
    • Runtime policy enforcement: Classifies each request and applies allow, redact, block, rate limit or escalate before inference. Produces a record of each decision as a by-product of enforcement.

    Policy enforcement at each model call

    Classify

    Determine whether the request carries PHI before any model is selected.

    Route

    Restrict PHI-bearing requests to BAA-covered models.

    Enforce

    Allow, redact, block, rate limit or escalate for human approval.

    Record

    Write evidence of the decision, policy version and model used.

    Review your model routing against the PHI boundary

    Talk through where policy is enforced today, which model calls can carry PHI and what evidence each call currently produces.

    Talk to an Expert