Air-gapped AI deployment: a practical guide

The short answer

An air-gapped AI deployment runs the whole system, model included, on infrastructure with no network connection to the outside: nothing calls an external API, sends telemetry or pulls an update. You gain the strongest answer available to "where does our data go". You give up frontier-scale hosted models, elastic capacity and quick updates, and you take on GPUs, an offline release process and the staff to run both.

In this guide

  • What "air-gapped" means, and four things that quietly break it
  • How it differs from VPC and on-premise
  • Running models locally: what has to be inside the boundary
  • Sizing hardware in general terms, with a worked example
  • The offline update process, step by step
  • What you give up, and when it is worth it

What does air-gapped actually mean?

The NIST glossary, citing CNSSI 4009, defines an air gap as an interface between two systems that are not physically connected, where any logical connection is not automated and data moves only manually, under human control (NIST CSRC glossary).

For an AI system that definition has teeth. It rules out more than the model API:

  • Model inference. No hosted model. The weights run on your hardware.
  • Telemetry. No usage metrics, crash reports or traces sent to the vendor.
  • Licence checks. No phone-home to validate a key.
  • Dependencies. No pulling container images, packages or model files from public registries at install or run time.

Any one of these, left in place, makes the deployment restricted egress, not air-gapped. Ask the vendor for the list of outbound connections the product attempts on a clean install. The right answer is none.

How is it different from VPC or on-premise?

DeploymentWhere the model runsOutbound connectionsWho operates it
Your VPC, external model APIModel providerModel API, usually telemetryYou and vendor
Your VPC, model insideYour cloud accountOptional telemetry and updatesYou and vendor
On-premiseYour data centreOptional, through your firewallYou
Air-gappedYour isolated networkNoneYou

On-premise describes where the servers are. Air-gapped describes what they can reach.

What has to run inside the boundary?

Everything the workflow touches at run time:

  1. Model weights and an inference server. Open-weight models, served on your GPUs.
  2. Document processing. OCR, layout parsing and any embedding model.
  3. The workflow engine and its stores. Queues, databases, the vector index, the audit log.
  4. Reference data. Anything the workflow would normally look up online.

The last item catches teams out. A KYB workflow checks a Secretary of State registry and a sanctions list. Inside an air gap those lookups have nowhere to go. You have three choices: import the data on a schedule as files, do that step by hand outside the enclave, or accept that the workflow stops at a handoff.

How do you size the hardware?

Hardware sizing comes down to two numbers: memory capacity to hold the model and throughput to handle peak volume.

Memory. The weights need roughly parameters × bytes per parameter.

Model size16-bit weights4-bit quantised
8 billion parameters16 GB4 GB
32 billion parameters64 GB16 GB

Add headroom for context and concurrent requests, and measure it under your real load. Quantising to fewer bits saves memory and can cost accuracy, so test the quantised model on your eval set, not the original.

Throughput. Size for the peak hour, then add a spare. A fictional example, with a throughput figure you would replace with your own measurement:

  • 1,200 cases a day, 15 model calls per case: 1,200 × 15 = 18,000 calls a day
  • Processed over a 10-hour window: 18,000 ÷ 10 = 1,800 calls an hour on average
  • Peak hour at three times the average: 5,400 calls an hour
  • Measured on your documents, one GPU server handles 4 calls at once at 6 seconds each: 4 ÷ 6 × 3,600 = 2,400 calls an hour
  • Servers for the peak: 5,400 ÷ 2,400 = 2.25, so 3
  • Plus one spare for failure and maintenance: 4 servers

Three levers shrink that number: fewer model calls per case, smaller models on the steps that allow it, and a queue that moves the peak overnight. See small models vs frontier models.

How do updates work with no network?

By carrying them in, under control. A workable process:

StepWhat happensOwner
Build and signVendor assembles a release bundle (container images, model weights, dependency mirror, workflow definitions) and signs it with a manifest of checksumsVendor
TransferBundle moves on approved media or through a one-way transfer device, loggedYour security team
VerifySignature and every checksum are checked. Media is scannedYour security team
Stage and testBundle is installed in a staging enclave that mirrors production. The regression set of closed cases is replayed and compared with the current versionPlatform team, process owner
Approve and promoteChange record signed off. Production is updated, with the previous version kept for rollbackChange board

Agree an expedited path for security patches in advance. Model updates deserve the slow path: a new model is a change to every AI step, and the test step is where you find out what it changed. Support changes too: the vendor cannot see your logs, so agree how diagnostic bundles are produced, redacted and carried out.

What do you give up?

  • The largest hosted models. The strongest proprietary models are offered as services. Inside an air gap you run open-weight models you can host. How much that matters depends on the step, so measure it on your own cases. Expect any difference to show most on the hardest judgment steps, which raises the share of cases a person must decide.
  • Elastic capacity. Month-end volume cannot borrow GPUs from a cloud. You buy for the peak.
  • Fast fixes. A patch waits for your change cycle.
  • Capital and people. GPUs, a place to put them, and engineers who can run inference servers.

When is air-gapped worth it?

SituationReasonable choice
A regulator, a government customer or a contract requires an isolated networkAir-gapped
The data is classified, or legally barred from any external processingAir-gapped
Policy says "no customer data to third-party AI providers"Your VPC or on-premise with the model inside is usually enough
The workflow depends on live external lookupsNot air-gapped, or air-gapped with a defined manual handoff

If the requirement can be met by keeping the model inside your own VPC, you keep most of the control with far less to operate. See zero data retention explained for what each option does to the data path.

Where it goes wrong

  • A "temporary" outbound rule for licensing or updates. It is no longer an air gap, and it tends to become permanent.
  • Forgetting OCR and embeddings. The model is local, and the document parser still calls a cloud service.
  • Sizing from a vendor slide. Measure throughput on your own documents.
  • No staging enclave. Updates go straight to production and the first test is a live case.

How Context Labs fits in

Context Labs (thecontextlabs.com) is an AI workforce platform for insurance, banking and private equity. Its deployment options are multi-tenant, single tenant, bring your own cloud or private VPC, on-premise and air-gapped. The air-gapped option uses locally hosted models, with no external APIs or telemetry and an offline update process. Forward-deployed engineers and deployment strategists work on site, and the hand-over runs from Context Labs-led to full client ownership. Ask us for our security documentation and we will walk your security team through the architecture.

FAQ

What is an air-gapped AI deployment?

An air-gapped AI deployment is an AI system that runs entirely on a network with no connection to outside systems. Models are hosted locally, and nothing sends data, telemetry or licence checks out. Updates arrive on controlled media or through a one-way transfer, under human control, and are verified and tested before they reach production.

Can large language models run without internet access?

Yes. Open-weight models can be downloaded once, verified, and served from your own GPUs with no outside connection. What you cannot run this way are proprietary models offered only as hosted services. Plan the workflow around models you can host, and test them on your own cases.

Is on-premise the same as air-gapped?

No. On-premise says the servers are in your data centre. Air-gapped says they cannot reach anything outside. Many on-premise installs still call a hosted model, send telemetry or fetch updates. Ask for the list of outbound connections to tell the two apart.

What hardware do we need for air-gapped AI?

GPU servers with enough memory for the model you choose and enough throughput for your peak hour, plus a spare, a staging environment and storage. As a rule of thumb, weights need parameters times bytes per parameter, so a 32 billion parameter model at 16 bits needs about 64 GB before headroom.

How are models updated in an air-gapped environment?

Through a signed release bundle carried across the gap. Your team verifies the signature and checksums, installs it in a staging enclave, replays a regression set of closed cases, and promotes it only after approval. The previous version is kept so you can roll back.

Sources

Frontier Intelligence in your hands.

Book a demo