Why an AI gateway for healthcare starts with PHI routing
A self-hosted AI gateway such as LiteLLM, with Apache APISIX or Kong as an optional edge layer, lets a health organization decide which models may see protected health information (PHI) and record every model call that reaches them. Clinical, revenue cycle and operations teams want LLM access for drafting notes, coding support and staff questions, while the security team must control where PHI can go. The gateway is the place where those two needs meet: it enforces an approved model list per application and logs each request, so the decision is written down in configuration rather than left to individual developers.
HIPAA has no certification. The Security Rule (45 CFR Part 164, Subpart C) applies to covered entities and their business associates for all electronic PHI they create, receive, maintain or transmit, and HHS states that no standard requires certifying compliance. A gateway therefore does not make an organization "HIPAA compliant." It produces evidence for the access control, audit controls and transmission security decisions the rule expects an organization to make and document, and that evidence is what an auditor, HHS Office for Civil Rights investigator or customer security reviewer will ask to see. Confirm with your privacy and legal counsel which vendors are business associates and whether each one has signed a business associate contract that meets 45 CFR 164.314.
The rule is also changing. HHS proposed a major Security Rule revision on 6 January 2025, and as of October 2026 no final rule has been published. The Unified Agenda projects final action for July 2027, so the timing and content may still shift. Assign someone to track the rulemaking under RIN 0945-AA22 through the Federal Register proposed rule and to review the gateway's logging, encryption and asset inventory settings against the proposal as it moves. Design the gateway so that log retention, key rotation and model allowlists are configuration values that can change without re-architecting the platform.
Which HIPAA and related requirements shape the gateway build
This table maps the HIPAA Security Rule technical safeguards and business associate terms, plus one GDPR lesson from a French enforcement decision, to specific AI gateway settings. Read each row as a requirement, the gateway setting that addresses it, and the evidence an assessor will ask to see. The main takeaway is that the Security Rule does not certify a gateway, so the evidence you keep from the gateway's own configuration and logs carries most of the weight.
| Requirement | Gateway setting to configure | Evidence to keep |
|---|---|---|
| Unique user identification (164.312(a)(2)(i), required) | SSO for the admin UI and per-user or per-team virtual keys so every model call maps to one identity | SSO configuration, key inventory with owners, and records of key creation and revocation |
| Emergency access procedure (164.312(a)(2)(ii), required) | A documented break-glass admin path that is separate from daily SSO and tightly logged | Written procedure, list of named break-glass accounts, and logs from any emergency use |
| Automatic logoff (164.312(a)(2)(iii), addressable) | Session timeouts on the admin UI and short-lived tokens for application callers where the platform supports them | Configured timeout values and a decision record explaining the chosen setting or alternative |
| Encryption and decryption (164.312(a)(2)(iv), addressable) | Encrypted storage for the PostgreSQL database holding keys, spend and logs, with secrets held in a secret manager | Storage encryption configuration and a key management record listing who can access keys |
| Transmission security (164.312(e), encryption addressable) | TLS on every hop: client to gateway, gateway to self-hosted models, and gateway to any approved external provider | Certificate inventory, TLS configuration scans and a list of endpoints that accept only encrypted traffic |
| Audit controls (164.312(b)) | Request logs recording user, key, model, route and guardrail decision, with prompt content handled under a defined retention rule | Log samples, retention settings, and access records for the log store |
| Business associate terms (164.314(a)(2)(i)) | Allowlist of approved model providers only where a signed business associate contract exists, and blocking of all others at the gateway | Signed contracts per provider, flow-down terms for subcontractors, and the provider allowlist with change history |
| Security incident reporting (164.314(a)(2)(i)) | Alerts for blocked requests, unexpected provider calls and guardrail failures routed to the security team with a defined escalation path | Alert rules, incident tickets and the timeline agreed with each business associate |
| GDPR Articles 32 and 34 (CNIL decision, September 2026) | Access control on the gateway that matches care team need to know, plus MFA and VPN-based access for any external administrative path | Access review records and MFA enforcement settings, checked against the CNIL findings on external access |
Which open-source gateways and guardrail tools fit a health setting
A health setting needs a control point that sees every model call, enforces which endpoints may receive patient data, and records what happened. The options below cover the gateway that does the routing and keys, the edge gateway it may sit behind, the guardrail layer that screens content, and the observability tools that store traces.
LiteLLM as the model gateway
LiteLLM is MIT licensed outside its enterprise directory and routes calls to more than 100 LLM providers in one OpenAI-style format. It issues virtual keys with per-key, per-user and per-team budgets and model restrictions, which lets you limit each application to the models it is approved to use. Running more than one proxy instance requires PostgreSQL and Redis 7.0 or newer. Check which controls you need, since SCIM, audit logs, organization and team RBAC and secret manager integrations sit in the Enterprise license, while SSO is free for up to 5 users from v1.76.0.
- Latest release
- v1.105.1
Apache APISIX at the edge
Apache APISIX is an Apache-2.0 cloud-native API gateway that also offers AI gateway features. In a health setting it fits where an organization already runs API management, so model traffic passes through the same authentication, rate limiting and logging path as other internal APIs. Confirm which AI routing plugins your version provides and whether they can inspect request bodies for PHI-bearing content before forwarding. Pair it with a dedicated LLM gateway if you need provider-level budgets.
- Latest release
- 3.19.0
Kong Gateway at the edge
Kong Gateway is an Apache-2.0 API gateway that some health organizations already run for partner and clinical integrations. Used as the entry point for model calls, it enforces authentication, quotas and request policies consistently with the rest of the API estate. Verify that the AI-specific plugins you rely on are available in your edition and version, and that log export reaches the storage your HIPAA audit controls require. Its open-source edition does not replace a gateway that tracks token spend per team.
- Latest release
- 3.9.4
NeMo Guardrails for PHI screening
NeMo Guardrails is an Apache 2.0 library with five rail types: input, dialog, retrieval, execution and output rails. Input rails can screen prompts for identifiers before they reach an external model, and output rails can check responses for leaked identifiers. It ships jailbreak and injection detection and content safety models, but it does not guarantee PHI detection, so test it against your own record samples. Version 0.25.0 requires Python 3.11, 3.12 or 3.13.
NeMo Guardrails repositoryNeMo microservice sunset and Helix
NVIDIA has sunset the NeMo microservices container as of October 1, 2026, and it receives no new releases or support. Existing deployments built on that container need a migration decision now. NVIDIA directs new development to NeMo Platform, and the linked repository now resolves to NVIDIA-NeMo/nemo-helix, an Apache-2.0 control plane that runs NeMo Guardrails as gateway middleware. Ask your vendor or NVIDIA account team to confirm the supported path before you design around the old container.
NeMo Helix repositoryLangfuse and Phoenix for traces
Langfuse is MIT licensed outside its ee directories and stores prompts, outputs and cost traces in your own database. Phoenix is licensed under the Elastic License 2.0, which prohibits offering it to third parties as a hosted or managed service. For an internal health deployment you operate yourself this may be acceptable, but confirm the terms with counsel if a vendor or affiliate runs it for you. Either tool must be configured so traces with PHI are protected at the same level as the gateway's own logs.
Phoenix licenseHow PHI moves through the gateway and where it must not go
A PHI-bearing request should pass through every gateway control before any model sees it, and each step should leave a record. In a typical design, the application calls the gateway with a virtual key tied to a team and an application, not to a shared provider key. The gateway authenticates that key, classifies the request by sensitivity (using rules, a classifier or both, and treating anything uncertain as PHI), redacts or tokenizes direct identifiers such as names, medical record numbers and dates of service, and then routes the sanitized request. Requests classified as PHI should be routed only to self-hosted models such as vLLM or Ollama, or to an approved contracted endpoint that the organization has already cleared. Responses are inspected on the way back, then the event is logged. The routing rule below is illustrative only: if classification == "phi" then route to model_group "local-vllm"; deny fallback to any model_group with provider_type "external". Confirm in your own LiteLLM configuration that the fallback and retry settings cannot send a PHI request to an external deployment after a local failure.
Logging prompts versus logging metadata is the central decision, and it creates a retention tension. HIPAA's technical safeguards require audit controls that record and examine activity in systems holding ePHI, but they do not tell you whether the prompt text itself must be stored. Storing full prompts makes the gateway log a copy of the ePHI it was meant to protect, so the log store needs the same access control, encryption and retention rules as the clinical systems. Many organizations log metadata (user, key, model, timestamp, token counts, policy decision, redaction count) by default and store prompt content only for defined purposes with short retention. Keep the decision and the retention period in writing, and confirm with your privacy and legal teams how minimum-necessary applies to logs. Where the gateway feeds an EU AI Act record-keeping duty, the retention needs may differ, so check both obligations together.
Any external model provider that receives PHI must sign a business associate contract, and that obligation flows down to its subcontractors. Under 45 CFR 164.314(a)(2)(i), the contract must require the business associate to comply with the Security Rule, pass the same terms to subcontractors that handle ePHI, and report security incidents, including breaches of unsecured PHI. Before a contracted endpoint is added to the gateway's approved list, confirm whether the provider will sign a business associate agreement, which of its hosting and sub-processing parties touch prompts and logs, and whether its contract terms cover the data retention you have chosen. The gateway should enforce this as configuration: a provider without a signed agreement on file should not appear in any group that PHI-classified requests can reach.
How a PHI-bearing request flows through the gateway
A request starts in the clinical application and passes an SSO and virtual key check before it reaches the gateway. A sensitivity classifier decides whether the prompt contains PHI, and a redaction step runs before any call that leaves the hospital network. The router sends PHI-bearing traffic only to a local vLLM endpoint or an approved, contracted endpoint, and anything else is blocked. Every decision is written to an audit log store inside the network, so the security team can confirm each hand-off during review.
Trust boundary around the hospital network, with PHI routed only to local or approved endpoints.
How a healthcare AI gateway rollout moves from inventory to audit evidence
The sequence turns scattered model use into a governed gateway whose routing rules, redaction controls and access logs can be shown to privacy, security and compliance reviewers.
Inventory current model use and providers
Identify every application, script, vendor tool and staff workflow that calls a model, including personal accounts and browser extensions used for clinical or administrative text. Record the provider, endpoint, data sent, and the business owner for each. The output is a model inventory that lists each provider and the kinds of health information that may reach it. The step is done when security and privacy leads have reviewed the list and no known caller is missing.
Assess risk and classify data
Map each inventory entry to the HIPAA Security Rule scope, asking whether the data is ePHI handled by a covered entity or a business associate, and whether any downstream provider would need a business associate agreement under 45 CFR 164.314. Assign each use case a sensitivity class, such as PHI, limited identifiers, de-identified text or non-clinical content. The output is a signed risk register with an approved-provider list per class. Legal counsel should confirm the agreement position for each vendor.
Design routing, keys and guardrails
Define which classes may route to self-hosted or contracted models, which providers are blocked, and where redaction runs before any external call. Set virtual key scopes per team and application, model allowlists, rate and budget limits, and the fallback order that never sends PHI to an unapproved endpoint on failure. Document the design as a routing policy and a guardrail specification. The step closes when the security and compliance owners approve both documents.
Build in a non-production environment
Deploy the gateway in a non-production environment inside the organization's own infrastructure, with PostgreSQL as the database for virtual keys and spend records and Redis once more than one proxy instance runs, since LiteLLM requires it for shared rate limits and router state. Connect SSO for the admin interface, secret manager storage for the master key, and audit logging for configuration changes. The output is a working test gateway with a configuration stored under version control.
Test security and validate redaction
Run test cases with synthetic patient records covering names, dates, record numbers and free text. Confirm that PHI-classed requests reach only approved endpoints, that blocked providers fail closed, that redaction removes identifiers before external calls, and that prompt injection attempts do not change routing. Review access logs for the fields needed to reconstruct who called which model and when. The output is a findings report with fixes and a retest record. Synthetic data should be used so that no real patient information enters the test environment.
Pilot with one department
Move one department onto the gateway with a narrow model allowlist and monitored budgets, while the rest of the organization is held to the approved-provider rules. Track blocked requests, redaction hits, fallback events and any user workarounds. Collect feedback on false positives in guardrails that stop legitimate clinical text. The output is a pilot review listing the defects fixed, the policy changes approved and the criteria for wider rollout.
Cut over to production and monitor
Switch production traffic to the gateway, block direct calls to unapproved providers at the network and credential layers, and rotate any keys that were issued outside the gateway. Configure alerts for blocked requests, budget thresholds, provider failures and log pipeline gaps. Confirm that high availability settings match the design, including Redis and PostgreSQL redundancy and the one-worker-per-pod pattern LiteLLM recommends for Kubernetes. The output is a cutover record and a monitoring runbook with named owners.
Assemble the evidence pack and review
Compile the evidence that assessors and auditors commonly request: the model inventory, risk register, routing and guardrail specifications, access control design, log samples, test reports and change records. Map each item to the relevant HIPAA safeguard or internal control, and state which items the organization must still produce, such as its risk analysis. Schedule periodic reviews of the inventory, provider list and log retention settings. DeployOpen prepares this evidence for the organization's own auditors, who determine conformance. No HIPAA certification is issued.
Evidence an auditor or HHS reviewer may ask for and the gateway component that produces it
This table maps the records a HIPAA reviewer or an independent assessor may request for a healthcare AI gateway to the gateway component or surrounding control that produces each one. Use it to confirm, before rollout, which records your gateway can export and which must come from your identity provider, contracts or incident process. No single record proves HIPAA compliance, and HHS does not certify compliance, so treat the list as a starting point for your own risk analysis.
| Evidence item | Gateway component that produces it | What to confirm before go-live |
|---|---|---|
| Access logs tied to a unique user identity | Gateway request logs with user and team identifiers from SSO or virtual keys, retained in PostgreSQL | Logs map each call to one named person, not a shared service account, and retention matches your policy |
| Approved provider list | Model allowlist per key or team and the configured provider endpoints in the gateway configuration | Written approval record for each provider and change history for every added or removed endpoint |
| Business associate agreements linked to provider entries | Not produced by the gateway; the provider inventory references each contract by identifier | Signed agreement exists for every provider that receives ePHI, and subcontractor terms flow down as 45 CFR 164.314 requires |
| Encryption configuration | TLS settings on the gateway ingress, encrypted database and secret storage settings, and provider connection settings | Evidence of encryption in transit and at rest, with the configuration exported and dated for review |
| Key and budget records | Virtual key inventory with model restrictions, rate limits and budgets, plus audit records of key creation and revocation | Keys are scoped per team, unused keys are revoked, and admin changes are attributable to an individual |
| Guardrail test results | Redaction and blocking rules applied to requests, with test runs of PHI detection against sample records | Test set uses synthetic or de-identified data, results are dated, and failures have a documented fix and retest |
| Incident records | Gateway alerts and log extracts used to open security incident tickets, linked to the business associate reporting duty | Documented procedure for reporting incidents to the covered entity, with a named owner and tested escalation path |
| Independent assessment or certification | Not produced by the gateway; evidence packages are prepared for an external assessor | HHS states no Security Rule standard requires certification and private certifications do not prevent OCR review. If pursuing HITRUST r2, plan for a two-year certification cycle |
What do healthcare teams ask before building a self-hosted AI gateway?
Does HIPAA certify a self-hosted AI gateway?
No. HIPAA has no certification. HHS states that no Security Rule standard requires an entity to certify compliance, and that private certifications do not prevent HHS from later finding a violation. The HHS Office for Civil Rights enforces the rule through complaints, compliance reviews and audits. What you can do is build the safeguards the Security Rule expects, such as unique user identification, access control, audit controls and encryption, and keep evidence that shows how they work. Any third-party assessment of the gateway, if you choose one, is performed by an independent assessor, not by DeployOpen, which prepares systems and evidence but does not issue attestations. Confirm with your privacy counsel which assessment, if any, your board or customers expect.
What drives the cost of a self-hosted healthcare AI gateway?
Cost falls into a few components: the infrastructure to run the gateway and its database, the software licenses you choose, the integration work with identity and logging systems, and the security review and operations that follow. The main one-time costs are design, integration, testing and documentation. The recurring costs are infrastructure, patching and upgrades, on-call support, log storage and periodic access reviews. Costs rise with the number of model providers, the identity integrations, the volume of logged requests and the depth of the redaction rules. Ask any partner for a quote that separates one-time work from retainers and lists which licenses and cloud resources you will pay for directly.
Can our in-house team run a self-hosted AI gateway without a partner?
Often yes, if you already run PostgreSQL, Redis, container platforms and an identity provider, and you have engineers who can own on-call support. LiteLLM's production guidance names PostgreSQL as the primary supported database and requires Redis 7.0 or newer once more than one proxy instance runs. The harder parts for healthcare are usually not the gateway itself but the policy work: deciding which data classes may reach which models, writing the business associate terms, documenting access reviews and proving that logs cannot be altered. Many teams build the core in-house and bring in a partner for the security review, the redaction tests or the documentation.
How long does a first deployment take, and what sets the schedule?
The schedule depends mainly on the number of model providers and identity integrations, how many data classes need separate routing rules, how much clinical and compliance review is required before go-live, and whether the gateway runs in an existing cluster or new infrastructure. Procurement of cloud accounts, network approvals and business associate agreements with any external model provider often take longer than the software setup. DeployOpen agrees the scope and timeline in writing before work starts, so ask for a written plan with named milestones rather than a generic duration.
What do clinical and compliance staff need to contribute?
Clinical and compliance staff define what counts as PHI in practice, which use cases may send data to external models, and which roles may view prompts and responses. Compliance leads review the business associate contract requirements under 45 CFR 164.314, the incident reporting path and the retention period for logs. Privacy officers confirm how the gateway's redaction rules handle identifiers that appear in free text. Clinical leads test representative prompts to see whether the rules block what they should. Plan for these reviews early, because they decide the routing policy that engineers then implement.
Does LiteLLM SSO or audit logging require an Enterprise license?
It depends on the feature and the number of users. The LiteLLM admin UI supports SSO with Google, Microsoft Entra ID (Azure AD), Okta and generic OIDC providers, and from v1.76.0 SSO is free for up to 5 users, with an Enterprise license needed beyond that. LiteLLM's enterprise documentation lists SSO and SCIM beyond the free limit, audit logs, organization and team RBAC, IP allowlisting and team-level guardrails and logging as Enterprise features. Confirm the current terms with LiteLLM before you finalize the design, because a healthcare rollout usually needs audit logs and RBAC from day one.
Why act now if HHS has not finalized Security Rule changes?
HHS proposed a major Security Rule revision on 6 January 2025, and as of October 2026 no final rule has been published. The Unified Agenda projects final action for July 2027, so the requirements may change. The existing rule already applies to covered entities and business associates for all ePHI they create, receive, maintain or transmit, and HIPAA civil money penalties are substantial, with inflation-adjusted ranges set out in 45 CFR 102.3. Building routing controls, access logs and redaction now gives you evidence you can show regulators or auditors, whatever the final text says.
Questions to ask an implementation partner before you sign
Start with how PHI is classified and redacted. Ask the partner which data elements the gateway treats as PHI (names, medical record numbers, dates of service, free-text clinical notes), where that classification lives (a guardrail configuration, a pre-call hook or a separate detection service), and what happens when detection is uncertain. Ask them to show a test run in which synthetic records containing identifiers are sent through the gateway and the redacted payload that reaches an external provider is captured. Then ask how they test that unapproved providers are blocked: which model allowlist entries are used, whether a request to a non-listed endpoint fails closed, and whether that test is repeated after every routing change. Confirm which LiteLLM features need an Enterprise license for your design, including SSO and SCIM beyond the free user limit, audit logs, team-level guardrails and secret manager integrations, and get the license cost in writing before the statement of work is signed.
Next, ask how logs are stored, who can read them and how long they are kept. Request the partner's plan for the PostgreSQL spend and request records, the access logs of the admin UI and any prompt logging, including whether prompt content is stored at all. Ask where logs are written, how they are protected against alteration, and how retention is set to match your HIPAA documentation and any other law that applies to you. Ask how business associate agreements and subcontractor terms are handled: whether the partner will sign a BAA with you where it handles ePHI, whether its own subcontractors (hosting, backup, model providers under contract) are bound by the same terms, and how security incidents are reported to you under the business associate contract requirements in 45 CFR 164.314. Finally, ask for the written mapping of each implemented control to the technical safeguards in 45 CFR 164.312, including unique user identification, automatic logoff and encryption, and for the retest plan after each upgrade of the gateway, its guardrail library and its database, since a mapping that is not retested goes stale. Ask for the partner's evidence in plain form, and confirm with your privacy officer and counsel which parts of the HIPAA Security Rule are being evaluated, because HIPAA has no certification that a partner can issue.
Integration points that connect the gateway to the health system
An AI gateway for healthcare is only as controlled as the systems around it. Identity, calling applications, secrets, logging and the network path to local models each decide who can reach a model, which data is recorded and where prompts can travel. Each point below names a decision the health system must make before go-live.
Identity provider for SSO and SCIM
The LiteLLM admin UI supports SSO with Google, Microsoft Entra ID, Okta and generic OIDC providers. Decide which identity provider is the source of truth for clinicians, researchers and administrators, and who may hold the admin role. SSO for more than 5 users requires a LiteLLM Enterprise license, and SCIM provisioning is also an Enterprise feature, so confirm the license scope with the vendor before budgeting. Check that deprovisioning removes gateway access when staff leave.
Admin UI SSO docsEHR and clinical app callers
Callers such as an EHR plug-in, a clinical decision support tool or an internal portal send requests to the gateway with their own keys. Map each caller to a virtual key with a model allowlist, so an app that summarizes notes cannot reach a provider approved only for de-identified data. Confirm with the EHR vendor whether its integration can send a per-application key and whether it can pass the patient context needed for logging.
Secret manager for LITELLM_MASTER_KEY
LiteLLM recommends keeping LITELLM_MASTER_KEY, which must start with sk-, in a secret manager rather than in configuration files. Decide which vault holds the master key and the provider API keys, who can read them and how rotation is performed without taking clinical applications offline. Enterprise deployments can integrate AWS, Azure, Google, HashiCorp Vault and CyberArk, so confirm which one the health system already operates.
Production best practicesObservability stack and log destination
Gateway logs are the record of which model saw which prompt. Decide where request logs are stored, which fields are kept (user, key, model, timestamp, token counts) and whether prompt bodies are stored at all. Logs carrying PHI become regulated records themselves, so they need the same access controls and encryption as the source system. Confirm with the vendor whether logs can be exported to storage the health system controls.
SIEM ingestion and alerting
Security operations teams need gateway events in the SIEM to detect misuse, such as repeated blocked requests to an unapproved provider, unusual volume from one key or admin changes to routing rules. Decide which events are forwarded, in what format and with what retention in the SIEM. Map alerts to the HIPAA audit controls the security team already reviews, and test that a blocked request produces an alert.
Network segmentation for local GPU models
Self-hosted models served by vLLM or Ollama on local GPUs should sit in a segment that only the gateway can reach, with no direct access from workstations or applications. Decide which subnets may call the model servers, whether egress from the gateway to hosted providers passes a controlled proxy, and how traffic is inspected. Verify the path with test traffic before any PHI is routed, and document the firewall rules as evidence.
What the gateway does not solve for healthcare
The gateway does not make a model HIPAA compliant, and it does not replace the risk analysis the Security Rule requires. The HIPAA Security Rule applies to covered entities and business associates for all ePHI they create, receive, maintain or transmit (45 CFR 164.302), so the question is whether the whole workflow around the model is covered: who may submit records, where prompts and outputs are stored, which vendor signed a business associate agreement, and how incidents are reported under 45 CFR 164.314. A gateway that routes to an approved endpoint and writes access logs supports several technical safeguards, but it cannot establish that a provider's contract, retention, or staff training meets the rule. Your security team should document the risk analysis for the AI workflow as its own scope, confirm which model endpoints are covered by a business associate contract, and confirm with counsel that the contract flows the Security Rule terms down to subcontractors. There is no HIPAA certification to point to either, since HHS states that no standard requires certifying compliance (HHS FAQ 2003), and the proposed Security Rule revision from January 2025 has not been finalized, so confirm the current status before setting controls against it.
The gateway also does not decide who may open a patient record. If prompts are built from EHR content or chart lookups run through an agent, access control remains in the EHR and identity layer, and the gateway only sees what the application sends. The CNIL's September 2026 fine against a French hospital under GDPR Articles 32 and 34 turned on missing VPN and multi-factor authentication for external access and on access rules that ignored the care team's need to know, which is an identity and EHR control question, not a model routing question. For context, NIS2 Annex I lists health as a sector of high criticality, including healthcare providers and manufacturers of medical devices, and the European Health Data Space regulation (Regulation (EU) 2025/327) sets rules for health data use in the EU. Whether either applies to your organization, and how they interact with HIPAA and your gateway logs, is a question to confirm with counsel before you rely on the gateway for evidence.
How DeployOpen scopes and supports a healthcare AI gateway
The sequence moves from a written scope to a gateway built inside the client's own infrastructure, tested, documented as evidence for compliance reviews, and kept current under an agreed support arrangement.
Confirm the PHI data map and model inventory
DeployOpen works with the client's privacy, security and clinical informatics leads to list which applications may send PHI, which model providers and self-hosted models are in use or approved, and which data classes must never leave the organization. The output is a written inventory of applications, endpoints, data classes and approved routes that becomes the basis for the scope. The step is complete when the client's named owners have signed off on that inventory.
Agree the written scope and deliverables
DeployOpen and the client agree in writing on the engagement scope, the gateway components to be deployed, the guardrail and logging requirements, the integrations with identity and existing systems, and the deliverables for each phase. Most engagements are fixed-scope, so the document also states what is excluded, such as business associate contract negotiation, which remains with the client's legal team. The step is complete when the scope, deliverables and acceptance criteria are signed by both parties.
Build the gateway inside the client's infrastructure
DeployOpen deploys the gateway in the client's own cloud accounts, data centers or private network, typically using LiteLLM or Apache APISIX with PostgreSQL and Redis for shared state. The build covers provider and self-hosted model routing, virtual keys and budgets per team, approved-provider allowlists, SSO for the admin interface and secrets held in a secret manager. The output is a running environment with configuration kept under version control and a build record the client's team can review.
Configure guardrails and PHI redaction
DeployOpen configures input and output controls that detect identifiers and clinical content, redact PHI before any external call, and block requests routed to providers outside the approved list. Where the client chooses an open-source guardrail library such as NeMo Guardrails, the configuration is written as versioned rules with documented rail types. The output is a rule set with test cases showing which inputs are redacted, blocked or passed, so reviewers can check the behavior.
Set up access logs for audit review
DeployOpen configures structured logging of each model call with user, application, route, timestamp and redaction outcome, and stores logs in the client's own storage with retention set by the client's policy. Access to the logs is restricted by role, and log integrity controls are documented. The output is a sample audit extract and a description of where each log field comes from, so the client's compliance team can confirm the logs support its HIPAA audit controls review.
Test the gateway and guardrails
DeployOpen runs security testing against the gateway and its guardrails, covering prompt injection, attempts to bypass the provider allowlist, redaction failures, credential handling, admin access and log tampering. Findings are delivered in a written report with severity, reproduction steps and recommended fixes, followed by a retest of the fixed items. The step is complete when the retest report shows each accepted finding closed or formally risk-accepted by the client.
Prepare evidence for compliance assessments
DeployOpen assembles the technical evidence that the client's compliance, audit or assessment teams will ask for, such as configuration baselines, access control settings, routing and allowlist records, test results and log samples, mapped to the relevant HIPAA Security Rule standards and the client's own control framework. DeployOpen does not issue audit reports, attestations or certifications, and there is no HIPAA certification to obtain. The output is an evidence pack and a mapping document that the client's assessors can review independently.
Agree retainers for upgrades and continuous testing
Once the gateway is in production, DeployOpen and the client can agree a retainer covering version upgrades, security patches, configuration changes, periodic retesting and evidence refreshes as models, providers and regulations change. The retainer scope is written down with its own deliverables and review points. The step is complete when the retainer terms and the operating responsibilities between the client's team and DeployOpen are documented and agreed.

