Air-gapped AI: running a model with no internet connection
Air-gapped AI runs a model on a network with no internet link. Learn how models are delivered, updated and tested offline, and when it is the wrong choice.
Updated
Part of: Private AI in the Gulf
Air-gapped AI means a model runs on a network with no connection to the internet or any outside server. The model answers from its own weights and from the documents you send it locally, and nothing leaves the network unless your team carries it out under its own controls.
That isolation changes three things: how the model reaches the machine, how it gets updated, and how you show it still works. Each one takes more planning than a cloud API call.
How do you deliver a model to a disconnected environment?
Delivery is a controlled file transfer. Package the weights, the inference runtime, the tokenizer, the config files and every library into one bundle on a connected build system. Copy that bundle to approved media, run it through your own security review, and import it on the isolated side. Record a checksum before transfer and check it after, so you know the bundle that arrived is the one that left.
The bundle has to be complete. Nothing can be downloaded on the isolated side to fill a gap, so a missing package is a likely reason a first install fails. Do a dry install on a connected test machine that has no cached packages before you ship anything.
How do you update an air-gapped AI deployment?
Updates follow the same path as the first delivery, only less often. Build a new bundle, transfer it, and run it next to the current model before you switch. The new version has to beat the current one on your test set inside the isolated network. If it does not, keep the old bundle. Leave the old bundle on disk, so a rollback is a config change and not another transfer.
This is the main trade-off. A connected service can push a fix whenever it is ready. An air-gapped deployment moves every fix through the same transfer and review process as the first install, so it is slower by design. Agree on that process with the business before anyone asks for a fix date.
How do you test a model that cannot call out?
Testing is the step teams underestimate. The test set has to live inside the network. Build it from your own records, with the correct answers checked by people who know the work. Scoring runs locally, with scripts that read the test file and the model output. Do not use an outside model to grade results, because that call needs the internet. Use the same exact-match or field-level scoring you would use anywhere, and log each score with the bundle version that produced it.
Split the data by document, never by chunk, so no document appears in both training and test. Fix the random seed and record it with the run. A result you saw last month should then reproduce from the same bundle. The air gap removes shortcuts, not the need for discipline.
What works offline, and what does not?
A narrow task with a clear output works well. Pulling fields from forms, sorting tickets, or finding clauses in contracts all fit, because the model needs the document you send, not the internet. Whether a given task is good enough offline is something the test set inside the network has to show, not something to assume from the task type.
Some work is a bad fit. Anything that needs current information, such as today’s prices, a news story or a ticket someone opened this morning, will fail, because an offline model has no way to look it up. A task whose rules change every week will also outrun a slow update cycle. In those cases a connected system with tight controls may be the better choice. If your only worry is that data passes through a vendor, a private deployment in your own cloud account may solve it without a full air gap. For sites with weak connectivity rather than none, see offline AI for business sites.
What do you need on site?
You need hardware sized for your volume, with power and cooling to match, a person who can run the import process, and a test set that the team trusts. Self-hosting is not free. The hardware and the staff time are real costs, and they pay off only when the volume is high and steady. Below that volume, a hosted API may cost less, even though it sends data out. If you are weighing on-site hosting in general, read running an LLM on-prem first.
Own Weights runs this process for one high-volume task. We fine-tune an open-weight model on that task, test it against the model you use now on your own data, and serve it in your own cloud account or on-prem. The customer owns the weights. The fastest next step is the free AI cost audit, which shows which of your tasks could move to a model you own. To talk through an air-gapped setup, start from the homepage.
Questions
Can an LLM run without internet?
Yes. A model is a set of weight files plus the software that runs them, so it can run on a machine that never connects to the internet. It cannot look anything up or call a vendor API, so it answers only from its weights and from the input you give it.
How do you deliver an AI model to a disconnected environment?
Package the weights, runtime and every dependency into one bundle on a connected build system. Move it across on approved media, record checksums before and after transfer, and import it under your own security process. Nothing can be downloaded on the isolated side to fix a missing piece, so the bundle must be complete.
Can you run AI on a company network with no outside access?
Yes, if the model, the test data and the scoring scripts all live inside that network. Updates arrive by the same controlled transfer as the first install. Your own security team sets the rules for what crosses the boundary.
Is an offline LLM good for enterprise work?
It is good for a narrow task with a clear output, such as pulling fields from documents or sorting tickets. It is a poor fit for work that needs current information, because it cannot fetch anything new. Check the task fit before you check the hosting.