Best private AI chat platforms for air-gapped and on-premises networks

Open WebUI, LibreChat and AnythingLLM can run inside a network you control, but each has documented dependencies that your team must close. This page shows what still needs a connection and the operating effort for each.

On this page

Which private AI chat platforms run in air-gapped networks?

If your network cannot reach the internet, all three options can be self-hosted, but only Open WebUI and AnythingLLM's desktop app have offline operation documented. LibreChat has no dedicated air-gapped installation guide, so its fit stays unconfirmed until you test it yourself. None of the three is SaaS-only, which means a hosted-only chat service cannot meet this constraint at all. The decision therefore turns on which components still reach out once the network is sealed: the chat front end, the model endpoints, the embedding and speech models, search, and the sign-in provider. Each of these can be a source of outbound traffic or a failure point, so map them before you choose.

Open WebUI documents offline use in the most detail. Its offline mode guide says to set OFFLINE_MODE=true, which sets HF_HUB_OFFLINE=1, disables the version check and forces the embedding, reranking and Whisper auto-update flags to false. Because missing models cannot be downloaded in that state, fetch the embedding and Whisper models on a connected machine and copy them into the cache paths beforehand. It warns that these variables do not block outbound connections, so you still need separate network controls to stop external access, and that cloud models, hosted web search and external authentication may stop working. Open WebUI is not OSI open source. Since v0.6.6 (April 19, 2025) it ships under the Open WebUI License, which forbids altering or removing branding in deployments above 50 end users in a rolling 30-day period unless the copyright holder gives written permission or you hold an enterprise license.

LibreChat and AnythingLLM need different checks. LibreChat's Docker Compose stack runs MongoDB, MeiliSearch, the RAG API and a vector database, and it does not run models itself; it sends requests to the model endpoints you configure, so an air-gapped build needs a model endpoint inside your network and no container reaching out. Its environment reference recommends OFFICE_PREVIEW_DISABLE_CDN=true on air-gapped or filtered networks so DOCX previews render on the server, but that setting does not replace an egress test. AnythingLLM's desktop privacy policy says the app can run entirely offline and that telemetry can be turned off in settings. The Pro license is the main risk for a sealed network: the key must be validated periodically and is treated as invalid after 48 continuous hours offline. Read the AnythingLLM subscription documentation and ask the vendor how its air-gapped licensing path works before you buy.

Where each platform still needs a connection in air-gapped networks

This table shows what each chat platform documents for offline operation and what still reaches a network, a model endpoint or a vendor service. Use the right-hand column as a test list for your network team, with an owner and a firewall or configuration decision for each item. The main takeaway: each offline setting is only one layer, and the network controls, model endpoints and licensing checks decide whether it works in your environment.

OptionLicenseFits the constraint as documentedWhat still needs a connection or vendor service
Open WebUIOpen WebUI License from v0.6.6 (branding clause); BSD-3-Clause through v0.6.5Documented offline mode via OFFLINE_MODE and model copying; docs say it is built to run entirely offlineSeparate network controls to block outbound traffic; cloud models, hosted search and external auth may stop; embedding and Whisper models need manual copy
LibreChat (Docker Compose)MIT LicenseSelf-hosted with Docker Compose; no dedicated air-gapped installation guide foundModel endpoints you configure, which must be reachable from inside your network; set OFFICE_PREVIEW_DISABLE_CDN=true for server-side DOCX previews
AnythingLLM desktop appMIT LicenseDocumented to run entirely offline; telemetry can be turned off in app settingsPro license key must be validated periodically; invalid after 48 continuous hours offline; a fully airgapped licensing path exists for IT or compliance use
AnythingLLM Docker serverMIT LicenseOffline operation is not confirmed for this deployment; confirm with the vendorConfirm offline startup, license key validation and telemetry behavior in a test environment before approval

What air-gapped networks demand from a chat platform

An air-gapped chat platform has to work with no outbound calls by default, which means every container image, model file and embedding or Whisper model must be staged in advance inside the network. Treat this as a transfer process: someone on a connected machine pulls the images, weights and model files, verifies them, and moves them through your approved media path into internal registries and cache directories. Open WebUI's offline mode guide shows the pattern. Setting OFFLINE_MODE=true sets HF_HUB_OFFLINE=1, disables the version check and forces the embedding, reranking and Whisper auto-update flags to false. Because missing embedding and Whisper models cannot be downloaded in that mode, they must be copied into the cache paths ahead of time. Ask each candidate for its complete list of first-run downloads, then test the install on a host with no route to the internet.

Offline environment variables are not network controls. The Open WebUI guide warns that these settings do not block outbound connections, so the network team still needs egress rules at the firewall, proxy and DNS layers that deny by default and log every blocked attempt. Test from inside the isolated segment, because one forgotten dependency can fail quietly, such as a DOCX preview renderer loaded from a CDN. Then list what stops working when the route closes: cloud model endpoints, hosted web search and external authentication. For each one, decide whether an internal replacement exists, such as an identity provider on the internal network or a model server inside the boundary, or whether the feature is removed. Check version and license checks as well. AnythingLLM's subscription documentation says a Pro license key is validated periodically and becomes invalid after 48 continuous hours offline, so ask the vendor how a licensed isolated deployment handles renewal before you commit.

Decide which model runtime sits inside the network before you choose the chat front end, because the front end mostly routes requests. LibreChat sends requests to the model endpoints you configure, so an air-gapped build needs an inference service inside the boundary and an internal endpoint registered in its configuration. Its Docker Compose stack also runs MongoDB, MeiliSearch, a RAG API and a vector database, and each of these images must be staged too. Set OFFICE_PREVIEW_DISABLE_CDN to true so DOCX previews render on the server with no renderer loaded from a CDN. Confirm whether LibreChat has a tested air-gapped installation guide, and request the full list of outbound calls in writing. AnythingLLM's desktop app can run entirely offline and its PostHog telemetry can be switched off in settings, but ask how its licensing section handles a fully air-gapped posture. Put the runtime decision in the statement of work so the test covers the full stack, including the model server.

How each platform's license and offline support differ for air-gapped use

Open WebUI, LibreChat and AnythingLLM all aim to run offline, but the terms that govern a restricted deployment differ. Open WebUI's license depends on user count, and its offline mode leaves network controls to you. LibreChat and AnythingLLM are both MIT licensed, with a change of ownership to track in one and periodic online license validation to plan for in the other.

Open WebUI License terms

Since v0.6.6 on April 19, 2025, Open WebUI code ships under the Open WebUI License, which is not OSI-approved open source. Code through v0.6.5 remains BSD-3-Clause, so a restricted network may hold code under two licenses across its version history. The branding clause is the condition to check: above 50 end users in a rolling 30 day period, you need an enterprise license or written permission before you alter or remove branding. Confirm your user count, and read the LICENSE file for the version you plan to pin before you standardize on it.

Open WebUI License

Offline mode needs separate egress controls

Open WebUI's offline mode sets OFFLINE_MODE=true, which sets HF_HUB_OFFLINE=1, disables the version check and turns off the auto-update flags for embedding, reranking and Whisper models. Those models must be downloaded on a connected machine and copied into the cache paths first, because missing models cannot be fetched offline. The guide warns that these variables do not block outbound connections, so firewall or network policy must enforce isolation. Cloud models, hosted web search and external authentication may stop working without a network path, so test each one inside your enclave.

Offline mode guide

MIT license under new ownership

LibreChat is MIT licensed and OSI open source, so a restricted network can fork or pin any tagged release under the terms of that license. ClickHouse acquired the project on November 4, 2025 and said existing deployments continue unchanged, with ongoing investment in the open-source project. Track the ownership change through release notes and the LICENSE file at each upgrade, and record which version you pin. The latest tagged release, v0.8.8 on October 1, 2026, is marked pre-release, so review it before you adopt it.

ClickHouse acquisition post

MIT license from Mintplex Labs

AnythingLLM is MIT licensed and open source, and Mintplex Labs Inc. holds the copyright in the repository's license file. The project describes its software as licensed for organizational use, which lets an internal team deploy the open code without a separate license agreement for it. Confirm which features sit in the open code and which depend on a paid Pro license, because the paid features carry their own validation terms. Check this against the license file for the release you plan to deploy, since the latest release is v1.20.0 on 2026-11-17.

Pro key checks and offline time

Pro license keys must be validated periodically, and the key is treated as invalid if the instance is offline for more than a continuous 48 hours. An air-gapped deployment therefore cannot count on the standard online check alone. AnythingLLM's subscription documentation includes a section for customers who need a fully airgapped experience for IT or compliance reasons. Ask the vendor how that process works, how long a license holds, and what happens at renewal before you build workflows around Pro features.

Subscription documentation

Running each platform in an air-gapped network: installs, updates and monitoring

Open WebUI puts most of its offline behavior in environment variables, so the team that runs the Docker or Python install owns the flags, the model caches and the upgrade plan. Front-end users do not touch those settings. Code from v0.6.6 onward is under the Open WebUI License, while code through v0.6.5 stays under BSD-3-Clause, so the license review should start from the version you deploy.

  • Install settings. Set OFFLINE_MODE=true, which also sets HF_HUB_OFFLINE=1, disables the version check and forces the embedding, reranking and Whisper auto-update flags to false.
  • Model caches. Download the embedding and Whisper models on a connected machine and copy them into the cache paths the server reads, because with HF_HUB_OFFLINE=1 missing models cannot be fetched later.
  • Network controls. These variables do not block outbound connections. Block egress with separate network controls, and expect cloud models, hosted web search and external authentication to stop working.
  • Staged updates. The disabled version check means the instance will not announce new releases, so watch the GitHub releases page (v0.12.3 was published on October 16, 2026), then stage and test each artifact before it enters the enclave.
  • Branding rule. Deployments above 50 users in any rolling 30-day period may not alter or remove branding unless they hold an enterprise license or written permission from the copyright holder.

Before go-live, test a chat with no route out and confirm the firewall logs show no outbound requests from the Open WebUI host beyond the ones you approved.

Updates reach the restricted network only after scanning and a one-way transfer

The diagram starts in a connected staging zone, where teams pull release images, model files, embedding and Whisper files, and documentation from approved sources. Each package is scanned and hashed before an approved one-way transfer carries the verified set into an internal artifact store inside the restricted network. The chat platform, its local model endpoint and the internal identity provider then run from that store, but offline settings do not block outbound traffic, so separate network controls must enforce that. Check that each hand-off has a named owner and that every import lands in a review or change record.

Staging, verification and one-way transfer before the chat platform loads artifacts internally.

What to verify before go-live in a restricted network

This sequence confirms the chat platform works without outside connections before users depend on it. Each step names the setting or control to check and the record that proves it. Treat the list as a checklist to adapt to the option you choose, since variable names and behavior differ between Open WebUI, LibreChat and AnythingLLM.

  1. Block outbound traffic and log failed calls

    The network team applies egress controls at the firewall or proxy so the chat host cannot reach the public internet. Open WebUI's offline guide says its offline variables do not block outbound connections, so this control must come from separate network controls. From a test account, trigger a request to an external address, such as a model provider or web search endpoint, and confirm it is denied. Done means each blocked test call has a matching entry in the firewall or proxy log that assessors can retrieve.

  2. Load embedding and Whisper models locally

    The platform team downloads the embedding, reranking and Whisper models on a connected machine, then copies them into the cache paths named in the Open WebUI offline guide. With HF_HUB_OFFLINE=1 set, a missing model cannot be downloaded, so a gap shows up as a failure during the test. Set OFFLINE_MODE=true, which sets HF_HUB_OFFLINE=1, disables the version check and forces the embedding, reranking and Whisper auto-update flags to false. Done means a test document upload and a voice transcription both complete while egress is blocked.

  3. Confirm model endpoints resolve internally

    The network team checks that each model endpoint, such as a local Ollama server or an internal OpenAI-compatible gateway, resolves through internal DNS to an address inside the network. LibreChat sends requests only to the endpoints you configure, so that configured list is the list to verify. From the chat host, run a name lookup for each hostname, then send a test prompt to each model. Done means every lookup returns an internal address and every test prompt is answered by the intended model, recorded in the application logs.

  4. Check AnythingLLM Pro license validation

    If the deployment uses an AnythingLLM Pro key, the platform owner reviews how the key is validated and checks it against the 48 hour rule. AnythingLLM's subscription documentation says a Pro key must be validated periodically and is treated as invalid if the instance is offline for more than a continuous 48 hours. The documentation also has a section for customers who need a fully airgapped experience, so ask the vendor in writing how validation works in your network. Done means the team has a dated validation plan and a written record of the vendor's answer. Teams running Open WebUI or LibreChat can mark this step not applicable.

  5. Disable telemetry and version checks, then verify

    The platform team turns off each product's telemetry and update checks, then confirms each setting from the chat host. In AnythingLLM, usage telemetry is sent through PostHog when enabled and can be turned off in the app settings. In Open WebUI, OFFLINE_MODE=true disables the version check. For LibreChat, set OFFICE_PREVIEW_DISABLE_CDN to true so DOCX previews render on the server and no renderer loads from a CDN. Done means the egress log from a full test session shows no requests to telemetry or version-check hosts.

  6. Confirm external services are internal or disabled

    The platform team lists every feature that depends on an outside service, then sets each one to an internal option or turns it off. Open WebUI's offline guide warns that cloud models, hosted web search and external authentication may stop working without network access, so each of these needs an explicit decision. Confirm the identity provider is internal, web search is disabled or served from an internal index, and no cloud model provider is enabled, checking both the admin settings and the configuration files. Done means a dated checklist shows each item as internal or disabled, and a test login and a test search behave as the checklist says.

  7. Record results as evidence for assessors

    The platform team packages the outputs from the earlier steps into one dated record: firewall and proxy logs, the model cache inventory, endpoint lookups, license validation notes, telemetry checks and the settings checklist. Keep the configuration files and the exact release versions tested with the record. Ask your internal assessors which evidence they need before testing starts, since their format requirements decide how the record is packaged. Done means assessors can trace each claim about the restricted network to a log, setting or test result without asking the implementation team for more detail.

What drives the cost of an air-gapped chat deployment

Start with who pays for what, because the software license is rarely the largest line. LibreChat and AnythingLLM are MIT licensed, and Open WebUI ships under the Open WebUI License, so the base software is not where most of the money goes. Much of the spend sits in internal hardware for the chat application, model hosting and any vector store, in staff time to stage artifacts and run updates, and in the implementation scope agreed in writing with DeployOpen. An AnythingLLM Pro license must be validated periodically and is treated as invalid after a continuous 48 hours offline, so confirm the airgapped licensing path before you purchase. For Open WebUI, the branding clause applies above 50 users in any rolling 30-day period unless you hold an enterprise license or written permission from the copyright holder.

Separate one-time work from recurring work when you build the estimate. One-time work covers the initial build, offline model staging and testing. The Open WebUI offline mode guide says to set OFFLINE_MODE=true, which also sets HF_HUB_OFFLINE=1, and that embedding and Whisper models must be downloaded on a connected machine and copied into the cache paths, because missing models cannot be fetched offline. In LibreChat, OFFICE_PREVIEW_DISABLE_CDN is another configuration item to test. Recurring work covers each update cycle, restaging every new artifact, periodic license checks and monitoring for outbound connections, since the same guide warns that these variables do not block outbound traffic. AnythingLLM has shipped roughly one release every two to four weeks, so the update cycle drives staff load more than any single upgrade.

Ask for a quote that follows from a written scope. Request a list of the in-scope applications, model sources and network boundary, plus the deliverables: a staged artifact manifest, configuration files, test results and an update runbook. Ask who stages each update, who tests it in your environment, who approves it and who owns the model hosting hardware. Then ask about retest terms: how many retests are included, what triggers one, and whether a retest follows each major upgrade. Confirm which features depend on a connection, such as cloud model endpoints, hosted web search or external authentication, and whether they are removed from scope. Because most engagements are fixed-scope, these answers define both the price and the boundary of the work.

What buyers ask before hiring help for air-gapped deployments

Can our internal team run an air-gapped private AI chat platform without outside help?

An internal team can often run Open WebUI or AnythingLLM without outside help, provided it has container, Linux and identity skills and time to test each step. Open WebUI's offline mode guide sets OFFLINE_MODE=true, which sets HF_HUB_OFFLINE=1 and turns off the version check and model auto-updates, but it does not block outbound connections, so network controls must be built separately. AnythingLLM's desktop privacy documentation says the app can run entirely offline, while its Pro license key must be validated periodically and is treated as invalid after more than a continuous 48 hours offline, so an air-gapped license path needs confirming first. LibreChat's public documentation has no dedicated air-gapped installation guide, so a team choosing it should expect to validate offline behavior itself.

How much effort does an air-gapped AI chat rollout actually take?

Effort rises with three drivers: the number of services in the stack, how many models must be staged offline, and how far identity integration goes. A stack with a database, a search service, a retrieval service and a vector store multiplies the configuration, backup and upgrade work. Model staging is often the hidden item, because embedding and speech models must be downloaded on a connected machine and copied into the cache paths the application expects, and each new model repeats that transfer. SSO into an internal identity provider adds certificate, group mapping and testing work. Cloud models, hosted web search and external authentication may stop working once the network is closed, so each of them needs a decision before the build starts.

What does an air-gapped AI chat deployment need from our side?

The client supplies the environment, the approvals and the decisions, and DeployOpen works inside them. Expect to provide:

  • Build-zone access: a connected staging area where packages, container images and models can be collected and tested before transfer.
  • Transfer approvals: a documented route and sign-off for moving artifacts into the air-gapped network, including who approves each import.
  • An internal identity provider: the SSO system, group structure and administrator contacts the platform will integrate with.
  • Model choice: the models the business wants at launch, their licenses and their hardware, since these decide what gets staged and how much capacity is needed.

Confirm the exact list of accounts, hosts and network paths in the written scope before work begins.

How long does an air-gapped private AI chat deployment take?

The timeline is set in the written scope before work starts, and it follows from that scope alone. Timing depends on the number of services to deploy, the number of models to stage, how many transfer approvals the network requires, and how quickly the identity team can supply groups and test accounts. The approval cycle can matter as much as the installation itself, so raise it early. Ask for a plan that lists each phase, its dependencies and the client actions it needs, along with what happens to the schedule if an approval runs long or a model must be replaced mid-project. Fixed-scope agreements record scope, deliverables and timelines in writing, which lets both sides check the plan against the assumptions.

What does a DeployOpen quote cover, and which costs recur?

A quote follows from the written scope. The scope covers the one-time build: planning, implementation, customization, integration, hardening, backup setup, documentation and support for the agreed components. Most engagements are fixed-scope, so the build cost is set before work starts. Recurring work is handled through retainers for upgrades, ongoing support and continuous testing, which suit teams that expect the platform to change over time. Ask the quote to separate the build, any hardware or licensed components you buy directly, and any retainer. Ask which items are one-time, which recur, and what a version upgrade is expected to take in staff time. DeployOpen does not publish a price list, so request a written quote based on your scope.

Does DeployOpen issue compliance certifications for air-gapped AI platforms?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares the systems, controls and evidence that a compliance assessment will examine, such as access settings, audit logging, data handling documentation and how updates are staged into the network. Independent auditors and certification bodies issue any report, so the work is only as useful as the evidence they accept. Ask the auditor or certification body which evidence it expects before the build starts, so the design reflects the assessment from the beginning. The compliance framework itself should be chosen by the business, based on what its regulators and customers require.

How DeployOpen deploys and operates these platforms in your network

DeployOpen plans, implements, integrates, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For private AI chat in an isolated network, that work centers on the offline settings, model and embedding files, identity integration and audit logging each platform needs, and on evidence your security and compliance teams can review. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names each platform, its network zones and any connections it still needs.
  • Scope covers which model runtimes, embedding files and identity sources are in or out of the network.
  • Engagements are fixed-scope, and retainers can follow for ongoing support, upgrades and continuous testing.

How we build

  • We set Open WebUI offline mode, stage its embedding models and set LibreChat's OFFICE_PREVIEW_DISABLE_CDN for filtered networks.
  • We add network controls around the platform, because offline variables alone do not block outbound connections.
  • We wire SSO, access control, audit logging and data handling controls so your teams can review the deployment.

How we hand over

  • Handover documents the offline procedure, model and file locations, upgrade steps and the license checks each platform needs.
  • Where a Pro license applies, the handover records the validation schedule and the vendor's air-gapped licensing route.
  • Where security testing is in scope, findings, fixes and retest results are delivered with the documentation.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing, with terms set in writing.
  • Before each upgrade, we review license changes, such as Open WebUI's branding clause, with your deployment's user count.
  • Your teams keep the operating runbook, and we document changes so the handover stays current.

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.