New Tool Radar

Local AI

Confirm Ollama Chats Work with the Internet Disconnected

Download a model first, then disconnect the internet and confirm Ollama chats keep working fully offline.

Schematic with three steps: Download the model while online; Disconnect and chat; Watch for the cloud exception.

Once a model is downloaded, Ollama runs it entirely on your machine. A quick offline test proves that no prompt leaves the computer, and it also catches the one exception: models tagged :cloud run on Ollama servers and need the network.

What you need

  • Ollama installed with a model already downloaded
  • A way to disconnect the network, such as airplane mode
  • A terminal for the offline test

Step 1: Download the model while online

While connected, run ollama pull llama3.2:3b and confirm success with ollama ls. The download is the only step that needs the internet; the model files then live on your disk.

Step 2: Disconnect and chat

Turn off Wi-Fi or unplug the network cable, then run ollama run llama3.2:3b and ask a question. The model answers normally, because inference runs locally and the API is on localhost.

Step 3: Watch for the cloud exception

If a model name ends in :cloud, it runs on Ollama servers and fails offline. Set OLLAMA_NO_CLOUD=1 before starting Ollama to keep everything local, and prefer plain local tags for offline work.

Worked example: offline chat test

The table below is a synthetic example. The offline behaviour and the :cloud warning come from the cited Windows tutorial; the model name is illustrative.

Step State Expected result
Online ollama pull llama3.2:3b success
Offline ollama run llama3.2:3b Model answers
Cloud tag Model ending in :cloud Fails without internet

Expected result (UNTESTED). with the network off, ollama run answers normally for a downloaded local model, and only :cloud models fail. This check was not run live; the offline behaviour comes from the cited tutorial.

Limits

  • The model must be downloaded before going offline; a missing model cannot be fetched.
  • Models tagged :cloud are not local and need the network.
  • Ollama may still check for app updates when online; that does not affect local chats.
  • First-run setup of a new machine always needs the internet for the download.

Sources

See all