Self-hosted vLLM for HIPAA ePHI workloads

Self-hosted vLLM can keep ePHI prompts and outputs on infrastructure you control, but the HIPAA technical safeguards depend on a gateway, logging and identity layer you build and evidence yourself.

On this page

Which HIPAA technical safeguards a self-hosted vLLM platform helps with

A covered entity or business associate running LLM workloads on ePHI can keep inference on infrastructure it controls with vLLM, but vLLM does not satisfy the HIPAA Security Rule on its own. The rule applies to covered entities (health plans, health care clearinghouses and covered health care providers) and to their business associates, for all electronic protected health information they create, receive, maintain or transmit (45 CFR 164.302). There is no HIPAA certification for a product or a platform. HHS states that no Security Rule standard requires certifying compliance and that private certifications do not prevent HHS from later finding a violation, so the evidence you assemble is what matters.

vLLM is a serving engine, and its part of the technical safeguards is narrow. Its --api-key option protects only some endpoints, and the security documentation recommends a reverse proxy that allowlists the user-facing routes, so the access control required by 45 CFR 164.312(a)(1) and the unique user identification required by 164.312(a)(2)(i) sit at a gateway in front of vLLM, not inside it. Request-level records required by 164.312(b) also come from that gateway, since vLLM's Prometheus metrics at /metrics report counts, throughput and latency rather than who sent which prompt. Transmission protection under 164.312(e)(1) depends on TLS you configure on the gateway and on isolating inter-node traffic, which the vLLM security documentation says is unencrypted and unauthenticated by default in multi-node deployments.

vLLM also does not cover automatic logoff, emergency access procedures, the administrative and physical safeguards in 164.308 and 164.310, or the business associate contract terms in 164.314(a)(2)(i). Confirm with your compliance lead which of these your gateway, identity provider and hosting environment must provide, and have the vendor and cloud or data center terms reviewed against your contracts. Plan the gateway and network design before the model goes live, because those decisions determine which safeguards your evidence can actually support.

Mapping HIPAA technical safeguards to vLLM capabilities and configuration

This table maps each relevant HIPAA technical safeguard to what vLLM provides, the gateway control that completes it, and the configuration to confirm. Required and addressable status comes from 45 CFR 164.312 and Appendix A to Subpart C, so you can see where vLLM alone falls short. The main takeaway is that vLLM's own API key does not protect every endpoint, so a reverse proxy allowlist and gateway logging carry much of the access control and audit work.

SafeguardWhat vLLM providesGateway or proxy control and configuration
Access control, 164.312(a)(1) (standard)Optional --api-key on /v1, /v2, /inference and /cohere only; no per-user identityReverse proxy allowlisting only user-facing endpoints; SSO and role-based access at the gateway; keys restricted to approved models
Unique user identification, 164.312(a)(2)(i) (required)No user identity concept in the engine; requests carry only the shared keyNamed user or service identities issued by the gateway or identity provider; no shared keys for clinical users
Audit controls, 164.312(b) (standard)Prometheus metrics at /metrics covering request counts, throughput and latency, not who sent each promptPer-request logs at the gateway recording user, model, time and endpoint; restrict /metrics to monitoring networks; retain and review logs
Transmission security, 164.312(e)(1) (standard)Serves HTTP as started; TLS termination is not described as a built-in control in the supplied security guidanceTLS on all client connections at the proxy; confirm TLS between gateway and vLLM; isolate multi-node traffic on a private network
Encryption in transit, 164.312(e)(2)(ii) (addressable)Inter-node communication is unauthenticated and unencrypted by defaultDocument the risk assessment and the chosen alternative, such as a private isolated network or encrypted tunnels, for every node-to-node path
Automatic logoff, 164.312(p) addressable specification (addressable)No session timeout concept in the serving engineSession timeouts and idle logoff in the gateway or SSO layer; document the interval chosen and why
Emergency access procedure (required)Not provided by the engineDocumented break-glass account in the gateway, stored in a secret manager, with use logged and reviewed

Evidence an auditor or OCR reviewer can examine from the serving stack

An OCR reviewer will ask what the serving stack recorded, who could reach it, and which version handled each request. The cards below cover the records that answer those questions, how to keep each one, and where retention periods must come from your own policy rather than from vLLM.

Prometheus metrics from the API server

vLLM exposes Prometheus-format metrics at /metrics, covering request counts, token throughput, latency histograms and KV cache use. These show that the service ran and how it behaved, which supports the activity review expected under 45 CFR 164.312(b). Scrape the endpoint into a store you control, confirm which histogram buckets you configured, and check that the scrape path is reachable only from your monitoring network, since the metrics endpoint is not covered by the --api-key option.

vLLM metrics docs

Gateway access logs tied to user identity

The gateway should log each request with the unique user or service identity that made it, the model called, the time and the outcome. This is the record that connects a prompt containing ePHI to a named individual, which matches the unique user identification implementation specification in 45 CFR 164.312(a)(2)(i). Confirm that logs capture identity from your SSO rather than a shared key, and that logs record the request metadata without storing full prompt text unless your policy requires it.

Version and configuration records per release

Keep a dated record of the vLLM version, container image digest, model weights revision, chat template and launch flags for every deployed configuration. vLLM ships new minor releases about every two weeks, so without this record you cannot show which engine handled a given request during a review window. Store the records in version control, tie each change to an approval, and retain them for as long as your own policy requires.

Minor release cadence
Every two weeks

Proxy endpoint allowlist

The reverse proxy configuration is evidence of access control at the network edge. vLLM's security documentation recommends a proxy that allowlists only the endpoints meant for users, because --api-key does not protect /invocations, /pause, /resume, /abort_requests, /metrics or /health. Keep the allowlist file under change control, export it at each review, and test that blocked paths return denials from outside the proxy.

vLLM security docs

Retention and review schedule

Each record above needs a retention period and a named reviewer. HIPAA's Security Rule requires activity review but does not set a fixed log retention period in the sections cited here, so the period must come from your organization's documentation and risk analysis. Ask your compliance lead to confirm the period for each source, decide who reviews gateway logs and how often, and record each review as its own evidence.

How to protect inter-node traffic and client TLS in multi-node vLLM

The first decision is that inter-node traffic in a multi-node vLLM deployment is not protected by vLLM itself. The vLLM security documentation states that communication between nodes is insecure by default, with no authorization or encryption, and must be protected by placing the nodes on an isolated network. For an ePHI workload, that means the cluster link carrying tensor and pipeline traffic between GPU hosts needs its own network segment, with no route from user subnets, no shared flat VLAN with general office traffic, and firewall rules that permit only the nodes themselves. Confirm the exact guidance for your vLLM version in the vLLM security documentation, since the wording and recommended controls can change between releases.

Client traffic is different. Terminate TLS at the gateway in front of the vLLM API servers, so that prompts containing ePHI are encrypted from the user's application to the gateway and the gateway holds the certificates, renewal process and cipher configuration that your security team can review. Whether you also encrypt the hop from the gateway to vLLM is a trade-off: re-encryption adds certificate management and some latency, while a segmented network with strict allowlisting may be what you can document as reasonable and appropriate under the addressable encryption specification in 45 CFR 164.312(e)(2)(ii). Record that decision and the reasoning in your risk analysis rather than leaving it implicit.

Before go-live, verify three things on the actual cluster: that no node-to-node port is reachable from outside the isolated segment, that the gateway enforces TLS for every client route, and that the endpoints vLLM does not protect with --api-key, such as /metrics and /health, are not exposed through the gateway. Have your security engineers test these paths directly, and keep the evidence with the configuration baseline so that a change to the network or the vLLM release triggers a repeat of the same checks.

Configuration sequence for an ePHI inference boundary

This sequence turns a self-hosted vLLM server into an inference boundary where ePHI stays inside infrastructure you control, each control is tied to a Security Rule requirement, and the evidence for each control is recorded as the work is done. It is written for the platform, security and compliance teams who will operate and later explain the setup.

  1. Map the ePHI data flow and trust boundary

    Before any configuration, the platform and compliance leads list every place ePHI enters, is processed, is logged or is stored: client applications, the gateway, the vLLM server, GPU hosts, metrics and log sinks, and backups. They draw the trust boundary around those components and mark which systems are covered entity or business associate systems. This map anchors the risk analysis required by 45 CFR 164.308(a)(1) and is the reference for every later step. It is done when each component has an owner and a documented location inside your environment.

  2. Place vLLM behind an allowlisting gateway

    Run vLLM on an internal network segment that clients cannot reach directly, and put a reverse proxy or AI gateway in front of it. The gateway exposes only the endpoints users and applications need, such as /v1/chat/completions, and blocks paths the vLLM security documentation says the --api-key option does not protect, including /invocations, /pause, /resume, /abort_requests, /metrics and /health. This supports the access control standard in 45 CFR 164.312(a)(1). It is done when a test request to each blocked path from a client network fails and the allowlist is saved in version control.

  3. Bind every request to a unique user identity

    Connect the gateway admin and user access to your identity provider through SSO so each person and service has a unique identifier, as 45 CFR 164.312(a)(2)(i) requires. Assign access by role or team, and restrict service keys to the specific models a workload needs. If you use LiteLLM as the gateway, confirm which SSO and audit features your license level includes before you rely on them. It is done when each test account maps to one identity in the gateway logs and shared or generic accounts are removed.

  4. Enable request and administrative audit logging

    Configure the gateway to record who sent each request, when, to which model, and which administrative changes were made, while deciding deliberately whether prompt and output bodies are stored. Those logs are the activity records 45 CFR 164.312(b) asks you to keep and examine, so the platform team should set retention, access to the logs and a review routine. Confirm with the vendor whether the gateway can log administrative actions and whether logs can be exported to a separate system. It is done when a test administrator change and a test inference request both appear in the log store.

  5. Protect node-to-node and client traffic

    Encrypt client-to-gateway traffic with TLS, which addresses the transmission security standard in 45 CFR 164.312(e)(1). For multi-node runs, the vLLM security documentation states that inter-node communication is insecure by default, so place all nodes on an isolated network and restrict it to the cluster's ports. Encryption of that internal traffic is a separate decision that your team should document under 164.312(e)(2)(ii). It is done when a network scan from outside the cluster shows no reachable node ports and the TLS configuration is recorded.

  6. Restrict metrics and health endpoints

    The /metrics endpoint exposes request counts, token throughput, latency and KV cache data, so it should be scraped only by monitoring systems on a restricted network, not by users. Limit health checks to the orchestrator and load balancer. Confirm that your Prometheus collection path uses its own access control and that the metrics store is covered by the same access review as the logs. It is done when an external client cannot reach /metrics or /health and the monitoring server is the only permitted scraper.

  7. Document business associate and risk analysis records

    Collect the written records that show how the boundary was decided: the risk analysis, the rationale for each addressable specification and any equivalent alternative measure under 45 CFR 164.306(d), and the business associate contracts that cover any vendor or subcontractor that handles ePHI, as 45 CFR 164.314(a)(2)(i) describes. Because vLLM is open source with no paid edition, there is no vendor contract to sign for the engine itself, but any hosting, support or gateway vendor needs one. Compliance leads should ask counsel to confirm the contract terms. It is done when each control in the map links to a document and a named owner.

Where ePHI prompts cross the trust boundary on self-hosted vLLM

The request starts with a clinical user signing in through the organization's identity provider, then passes a gateway that enforces access rules and writes request logs before it reaches the vLLM API server. vLLM alone does not enforce user identity, so the gateway allowlist is the control that exposes only user-facing endpoints. Inside the boundary, multi-node workers sit on an isolated network because inter-node traffic is unauthenticated and unencrypted by default. Check that metrics and logs reach a monitored store and that nothing leaves the boundary.

Clinical prompts pass SSO and a gateway before reaching vLLM inside the organization's boundary.

Questions buyers ask before hiring help for HIPAA-scoped vLLM

What drives the cost of a HIPAA-scoped vLLM deployment?

The largest cost drivers are accelerator capacity, the surrounding infrastructure, and the people who build and run the platform. vLLM itself has no license fee, so the budget is made up of GPU or other accelerator capacity, the gateway, identity and logging components, and the implementation work. Implementation work covers the gateway and identity integration, network design for nodes, logging and retention, the risk analysis your organization performs, and the evidence you keep for later review. Costs recur for capacity, monitoring, patching of vLLM and its gateway, and staff time. Ask any partner for a fixed-scope quote that lists each deliverable, which systems are in scope, who performs each task, and which items are one-time and which recur.

Can our internal team build a HIPAA-scoped vLLM platform alone?

Yes, many teams can, provided they have engineers who understand GPU serving, Kubernetes or host networking, identity federation and logging. The harder part is usually the compliance work around the build: mapping each technical safeguard to a control, documenting the decisions, and keeping evidence current across vLLM's release cadence. vLLM ships new minor releases about every two weeks, so someone must own upgrade testing and change records. Be honest about capacity. If the same two people run identity, the gateway and the GPU fleet, the platform will depend on them. Ask a partner which parts they would hand over to your team and which they would deliver as documentation.

What does the client need to provide before the work starts?

Before work starts, the client should be ready to supply four things. First, an identity provider that can issue user identities for single sign-on, so each person has a unique name or number that the gateway can log. Second, a network design that places vLLM nodes on an isolated network, since vLLM's security documentation states that inter-node communication is insecure by default. Third, named owners for the platform, the gateway, the identity integration, and the risk analysis. Fourth, access to the data classes and workflows that will send ePHI, so the access rules match real need to know. Confirm each item with your own security and infrastructure teams before scoping.

What makes the timeline longer or shorter?

Timing depends mostly on decisions and access, not on installing vLLM. The longest items are usually the identity integration, the network approval process, the risk analysis and the agreement on what evidence to retain. A deployment that uses an existing identity provider and a network zone already approved for sensitive workloads moves faster than one that needs new identity infrastructure or new network segments. Accelerator delivery and procurement also add time when hardware is not yet in place. Model selection and testing against your real prompts, including the chat template and output review, add more. Request a written schedule that shows which milestones depend on your approvals and which depend on the partner.

Is there a HIPAA certification that a vendor or partner can provide?

No. There is no HIPAA certification. HHS states that no Security Rule standard requires an entity to certify compliance, that it does not endorse or recognize private organizations' certifications, and that such certifications do not prevent HHS from later finding a violation (HHS FAQ 2003). HHS Office for Civil Rights enforces the rule through complaints, compliance reviews and audits. DeployOpen does not certify HIPAA compliance and does not issue audit reports or attestations. It prepares systems, controls and evidence that your compliance team and any independent assessor can review. Treat any vendor that sells a HIPAA certificate with caution and ask what it actually covers.

Do we need a business associate agreement with a hosting or implementation partner?

Ask counsel to confirm this for your specific arrangement, but a partner that creates, receives, maintains or transmits ePHI on your behalf is generally a business associate under the Security Rule. Under 45 CFR 164.314(a)(2)(i), the business associate contract must require compliance with the Security Rule, flow the same terms to subcontractors that handle ePHI, and report security incidents to you. If the partner only plans or documents the system and never accesses live ePHI, the need for an agreement may differ, but access during testing or troubleshooting can change that. Define in the written scope who can see production data, where it is stored, and how access is logged before any work begins.

Which HIPAA technical safeguards does vLLM not cover by itself?

vLLM alone does not provide the full set of technical safeguards. Its --api-key option protects only some paths under /v1, /v2, /inference and /cohere, and the documentation says not to rely on it alone. Several endpoints, including /metrics and /health, are not covered by that key. The safeguards that usually sit outside vLLM include:

  • unique user identification and access control at a gateway, using a proxy that allowlists only user endpoints
  • audit logging of user activity and retention of those records
  • automatic logoff and session management at the identity or gateway layer
  • encryption of traffic in transit between clients, the gateway and nodes
  • emergency access procedures and backup of configuration

Plan these as separate workstreams with named owners, and document how each one maps to the relevant control.

How does DeployOpen approach the risk analysis and evidence retention?

DeployOpen prepares systems, controls and evidence for compliance assessments, and its work does not replace your risk analysis. The engagement typically covers the technical configuration, the access design, logging setup and a record of decisions, all written against the client's scope. Your organization remains responsible for the risk analysis, the policies, the workforce training and the retention period for records. NIST SP 800-66 Rev. 2 (February 2024) is a useful informational guide for mapping activities to each Security Rule standard. Ask any partner to show how the evidence will be stored, who can access it, and how it will be updated after each vLLM upgrade.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For HIPAA ePHI workloads on vLLM, the work starts with a written scope that separates what the serving platform controls from what your organization must still own.

How we scope

  • Map which ePHI flows reach the vLLM server, the gateway and the logging stores before any build starts.
  • Agree in writing which Security Rule standards the gateway, vLLM and surrounding infrastructure will address, and which remain yours.
  • Confirm the endpoints to expose, the users and roles to create, and the inter-node network layout for any multi-node deployment.

How we build

  • Place vLLM behind a gateway that allowlists only user-facing endpoints, with unique user identity and access rules enforced there.
  • Configure request logging, Prometheus metrics collection and TLS on client and inter-node paths, then test each control.
  • Run security testing against the deployed stack, including prompt handling, endpoint exposure and credential handling, and fix the findings.

How we hand over

  • Deliver configuration records, network diagrams, access matrices and log retention settings in a form your compliance team can review.
  • Document the safeguards that vLLM and the gateway do not cover, with owners and the policy and procedure items your team must complete.
  • Provide an upgrade and patching runbook covering the two-week vLLM release cadence and the change records each release requires.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, scoped to your deployment and release cadence.
  • Retest controls after each engine, gateway or infrastructure change, and update the evidence package to match.
  • Confirm with your privacy officer and counsel whether a business associate agreement applies to your deployment and who signs it.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.