Local chat can work without an internet connection after the app, model, and required model-runner files are downloaded. Prepare the exact workflow you need, then test it after restarting while disconnected.
This suits travel, unreliable connections, drafting from material already on your computer, and experiments that should not depend on a hosted model. It cannot provide fresh web research without a connection.
Prepare before you leave the connection
- Install Ollama or LM Studio.
- Download one model that fits your computer. Finish the download rather than relying on a model listed in an online search result.
- Load it and complete a short conversation. This gives the app a chance to obtain any required model-runner files while online.
- Check the selected provider. Choose a downloaded local model, not a cloud-labelled model or a hosted provider.
- Disable web search and tools that fetch remote material for this test.
- Prepare any document-search model, parser, or other dependency required by your document app. Test a harmless document first.
For Ollama, ollama list shows downloads available to that server. Run an exact name from the list; ollama run with a model you have never downloaded may try to fetch it. In LM Studio, open the local model list and load a model from that list rather than searching the download catalogue.
Test a fresh offline session
Disconnect Wi-Fi and wired internet, and disable any other active connection. Close and reopen the app. On an important trip, restart the computer offline instead of leaving an already-loaded conversation open.
Start a new chat and give it text that exists only in your prompt:
I packed a mug, cable and key. List those three items alphabetically.
You should receive an answer without a sign-in, model download, or remote-provider request. Check that it lists cable, key, mug. Reopen a second new chat and repeat; a cached answer or already-open page does not count.
If documents are part of your plan, attach a harmless file containing an unusual fact, such as “The sample meeting room is named Juniper.” Ask which room is named, then ask about a detail absent from the file. You want the correct room and an admission that the missing detail is not supplied. A failed file trial after a successful text trial points to missing extraction/embedding components or an external provider.
Keep optional cloud functions out of the workflow
Turn off Ollama's cloud features. Set the environment variable OLLAMA_NO_CLOUD=1, or set "disable_ollama_cloud": true in ~/.ollama/server.json. This also turns off cloud models and web search. Set it for the app or service that actually runs Ollama: a variable typed into an unrelated terminal does not change an already-running desktop app or Linux service.
- macOS: run
launchctl setenv OLLAMA_NO_CLOUD 1, then quit and reopen the Ollama app. - Linux (systemd): run
sudo systemctl edit ollama.service. In the editor, add[Service]on one line andEnvironment="OLLAMA_NO_CLOUD=1"on the next, then save. Runsudo systemctl daemon-reloadandsudo systemctl restart ollama. - Windows: quit Ollama from the system tray, search the Start menu for "Edit environment variables for your account", create a variable named
OLLAMA_NO_CLOUDwith the value1, then start Ollama again from the Start menu.
Restart the process you changed and look for Ollama cloud disabled: true in its log. Then disconnect and try a newly uploaded test file in a new chat, so a cached answer cannot stand in for a fresh run.
Since Ollama 0.32, typing ollama with no model name opens Ollama's own start screen (an agent at first, a welcome launcher from 0.40.15), and the 0.32 release notes show a cloud-tagged model there. For offline chat, run ollama run with the exact name of a model you downloaded.
This covers Ollama only. A browser workspace can still have a hosted embedding provider, remote tool, or web search service.
LM Studio's offline documentation distinguishes core local chat, document chat, and the local server from online model discovery, downloads, and update checks. If you use Bionic, MCP, a remote connection, or another optional integration, examine that workflow's own requirements as well.
LM Studio's LM Link can route a model request to another linked device even when the API client addresses localhost. A remote model runs inference on the other device while the conversation stays on the controlling device. Bionic remote chats and projects are different: the agent can operate on a linked Bionic or llmster host, with its files, tools, permissions and network connections. Bionic 1.2.2 adds remote skills, connected apps and host-browser MCP sign-in. Inspect the selected model host and project/agent host separately. LM Studio changelog.
Open WebUI 0.13.4 replaces Direct Connections with Tether. A user-owned inference host does not make the Open WebUI server local: chats, uploaded documents, retrieval indexes and other provider calls can remain on the workspace server. Tether 0.1.14+ supports model connections; MCP requires 0.1.16+ and enabled tool servers. Local stdio MCP commands run with your account's permissions outside the Tether terminal sandbox. Release notes.
AnythingLLM 1.20.0's Chrome sidebar sends explicitly selected page text or images to its connected workspace. Determine whether that workspace, its chat provider, and its embedding provider are local. Browser extension access and MCP identity forwarding are separate permissions. Release notes.
For a single-computer offline test, pre-download the model, dependencies and embedding model; disable remote model providers, linked hosts, browser extensions, web search, MCP tools and remote embedding/reranking services. Use a new non-sensitive document, disconnect external networking, and test fresh chat plus document ingestion and retrieval. Inspect the selected providers and host activity before reconnecting. A successful disconnected test demonstrates that workflow's offline functionality, not that every optional integration is private.
When offline use fails
| Failure | What to check |
|---|---|
| The app wants to download a model | Was this exact model downloaded and loaded before disconnecting? |
| Ordinary chat works but document chat fails | Are extraction, embeddings, and any parser dependencies available locally? |
| A tool reports a network error | Does the tool fetch web pages, call another server, or require sign-in? |
| Ollama cannot connect | Start the local app or service; internet access does not repair a stopped local server |
| Output is old or factually wrong | A downloaded model's knowledge is not live information; supply current material yourself |
Keep an ordinary text editor and your source files available too.
See the privacy guide for local files, provider selection, tools, and server exposure.
