What works offline, and what doesn't
| Tool | Works offline | Needs internet |
|---|---|---|
| Ollama | Running downloaded models, the local API (127.0.0.1:11434) | ollama pull (over HTTPS) |
| LM Studio | Chat, chat with documents, the local server | Model search and downloads, runtime downloads, app updates |
| mlx-lm | Generating with cached models when HF_HUB_OFFLINE is set | First download of a model from Hugging Face |
What the tools say about your data
- Ollama: “Ollama runs locally. We don't see your prompts or data when you run locally” (FAQ). Its server listens only on your own machine unless you change
OLLAMA_HOST. - LM Studio: its offline docs say nothing you enter when chatting with a downloaded model leaves your device.
- mlx-lm / Hugging Face: with
HF_HUB_OFFLINE=1no requests go to the Hugging Face Hub and only cached files are used;HF_HUB_DISABLE_TELEMETRY=1turns off its telemetry (docs).
Getting ready to go offline
- Install the app and any runtimes (LM Studio downloads its engines separately).
- Download every model you'll want, in the sizes you'll use.
- Run each one once while online to confirm it loads and fits in memory.
- Disconnect and test again, including any app that uses the local API.
Plan for disk space: Gemma 4 E4B (Q4_K_M) is 6.6 GB, gpt-oss 20B (MXFP4) 14 GB and Qwen3-Coder-Next 80B-A3B (Q4_K_M) 52 GB. Each also needs that much memory plus about 4 GB for macOS to run.
Which Mac for offline AI
Offline doesn't change the hardware maths: memory decides which models fit, bandwidth decides speed. See the best Mac for AI and best local LLM for picks by memory size.
FAQ
Can I run AI offline on a Mac?
Once a model is downloaded, Ollama, LM Studio and mlx-lm all run it on your Mac with no internet connection. You need the internet only to download models, runtimes and app updates. Ollama's docs say it runs locally and doesn't see your prompts; LM Studio's offline docs say chats, document chat and its local server work offline and nothing you enter leaves your device. For mlx-lm, set HF_HUB_OFFLINE=1 so it uses only cached models. Download the models you want while online, check they run, then disconnect.
Does Ollama work without internet?
Yes, for models you've already pulled. You need a connection for `ollama pull`; running models and the local API on 127.0.0.1:11434 work offline.
Does LM Studio work offline?
Yes. LM Studio's docs say chatting, chatting with documents and the local server work offline; searching and downloading models, runtime downloads and updates need internet.
See any model on the exact Mac you're considering.
Sources
Speeds come from published measurements (with source links) or labeled estimates. How we measure