Private LLMs for regulated teams: four ways to keep the model inside your walls

Vadim Peskov
Vadim Peskov
Private LLMs for regulated teams: four ways to keep the model inside your walls

"Can we use AI without our data leaving?" It is usually the first question we hear from healthcare and finance teams, and most of them expect one answer: run your own model.

That is one of four options, and for most teams it is not the first one to reach for. I think of the options as a ladder. Each rung keeps more inside your walls, and each one costs more to run. The right rung is the lowest one that meets your actual requirement.

Three questions hiding inside the word "private"

When a team says it needs a private LLM, it usually means three different things at once:

  1. Where is the data stored? Which country, which cloud, and under what terms.
  2. Where does the model run? Whose servers process the prompt, and who operates them.
  3. Who can see prompts and outputs afterwards? How long they are kept, whether a person can review them, and whether they are used for training.

A setup is private when you can answer all three in writing. The four rungs are four ways to do that.

Rung 1: a hosted API with zero data retention

You call a provider's API under an agreement that prompts and outputs are not stored once the response is returned. For health data, you also sign a Business Associate Agreement (BAA).

The defaults are better than many people assume. OpenAI states that data sent to its API is not used to train its models unless you opt in, and that abuse-monitoring logs are kept for up to 30 days. Anthropic and OpenAI both offer zero data retention on request, and both sign BAAs for their APIs.

The headline is not the whole contract, so read the feature table:

  • Zero retention is approved per organization. It is not a switch you flip.
  • It covers specific endpoints. Stored files, batch jobs and saved conversation threads put data back on the provider's disks.
  • Content flagged by safety systems can still be retained for review.
  • Some of the newest models require 30 days of retention. Anthropic's data retention documentation lists the models where that applies.

Fits: most teams, including many HIPAA workloads, when the contract and the features you use line up.

Does not fit: data that may not leave your country or your cloud, or customer contracts that forbid outside processors.

Rung 2: the model inside your cloud account

The same frontier models, plus a growing list of open-weight ones, are also served by the cloud you already use: Amazon Bedrock, Microsoft Foundry on Azure, and Google's Gemini Enterprise Agent Platform (formerly Vertex AI).

The model is the same. What changes is who processes your data and under which agreement. Requests stay inside your cloud provider, under the BAA and data processing terms you already signed, behind your own access rules, network controls and logs. Microsoft says prompts and completions on Azure "are NOT available to OpenAI". AWS says model providers "don't have access to Amazon Bedrock logs or to customer prompts and completions".

Three things to check:

  • Region. A global or cross-region endpoint can process your request anywhere. Google's data residency documentation says global endpoints "don't provide any data residency guarantees". Choose regional endpoints.
  • Retention for safety monitoring. Some models carry up to 30 days of retention for abuse detection, even inside your cloud.
  • BAA coverage. A cloud BAA covers the services on that cloud's HIPAA-eligible list. Confirm that the model service and the features you use are on it.

Fits: regulated teams already on a major cloud. This is the rung we recommend most often.

Rung 3: open weights on infrastructure you run

This is what most people picture when they say on-premise AI. You download an open-weight model and serve it yourself, on GPUs in your own cloud account or in your own data center. No third party ever sees a prompt. You decide which version runs and when it changes, which matters for validated systems that must stay frozen for years.

In return, you now operate an inference service: GPUs, serving software, monitoring, security patches, and a round of testing before every model upgrade. The hardware bar is lower than it was. OpenAI's gpt-oss-120b fits on a single 80 GB GPU, and smaller models run on far less.

Plenty of companies have made this choice. In Futurum's September survey, 46% of enterprises with open-weight models in production ran them in self-managed cloud and 42% ran them on-premises.

Quality depends on the task. I covered where open models hold up in our field report, and the cost math in Self-hosted vs API-based LLMs. For one narrow, high-volume job, a small model trained on your own data can be the better fit, which is the subject of Small models, trained on your task.

Fits: data that cannot go to any third party, steady high volume, version pinning, and in-country requirements.

Rung 4: air-gapped

No network path to the outside at all. This is the world of defense, parts of government, critical infrastructure and some research labs.

Everything arrives by controlled transfer: model weights, updates, test sets, even the monitoring tools. The model you install starts aging the day you install it, so upgrades become planned projects.

Air-gapped AI is no longer open-weight only. Google now supports Gemini on Google Distributed Cloud air-gapped, which it describes as "a fully disconnected deployment that runs on purpose-built, Google-supplied hardware".

Fits: when a regulator or a security policy requires it. It is rarely the right choice by preference.

The four rungs side by side

RungWho runs the modelWhat leaves your perimeterModel choiceOperating load
1. Zero-retention APIThe model providerPrompts are processed outside and not stored, with exceptionsWidest, including the newest modelsLowest
2. In your cloud accountYour cloud providerNothing leaves your cloud and region, if configured that wayWide: frontier and open-weightLow
3. Self-managed open weightsYouNothingOpen-weight modelsHigh
4. Air-gappedYou, offlineNothing, and no network path existsOpen-weight models or a vendor applianceHighest

Is there such a thing as a HIPAA-compliant LLM?

Not on its own. No model is compliant by itself, and no vendor badge makes your product compliant. Compliance is a property of your whole setup: the agreement you signed, the features you turned on, the region you chose and the controls around the model. The same model can sit in a compliant setup at one company and a non-compliant one at another.

So the useful question is not "which LLM is HIPAA compliant?" It is "on which rung, with which configuration, can we show that protected health information is handled the way our obligations require?"

How to choose a rung

Start from the requirement, not the fear. HIPAA asks for a BAA and appropriate safeguards. It does not ask for hardware in your basement. This is not legal advice, so confirm the reading with your counsel, but many teams climb higher than their rules require.

Read your customer contracts. They are often stricter than the regulation. "No third-party processors" in an enterprise contract can rule out rung 1 on its own.

Check residency rules if you operate outside the US. Sovereign AI in practice covers that case.

Count your volume and your team. Rung 3 needs engineers who are on call for it.

Mix rungs. A product can send its sensitive steps to a private model and everything else to a hosted API. Build it so a step can move between rungs later, which is the design in The model can change, the controls do not.

The controls matter more than the location

A self-hosted model with open logs and a shared admin password is less private than a zero-retention API. Wherever the model runs, the same controls do the real work: who can call it, what is stripped from a prompt before it is sent, how long your own logs are kept, and whether every call leaves a record.

This is where projects stall. In the Futurum survey, 62% of organizations piloting open-weight models named incomplete security and compliance reviews as their main obstacle. Our HIPAA compliance checklist and our piece on agentic workflows in regulated fintech go deeper on the controls themselves.

Our honest take

Most regulated teams belong on rung 1 or rung 2, and most of the ones who start on rung 3 do it for a reason that turns out to be a preference, not a requirement. Start low, write down the requirement that would force you higher, and build so that moving up is a configuration change and not a rewrite.

If you are deciding how private your AI needs to be, start with a free 30-minute architecture review. We will map your requirement to a rung, and tell you if a lower one is enough.

Keep reading

Explore our development services