What this thread does
Do first: Set "disable_ollama_cloud": true in ~/.ollama/server.json.
When you need it
The FAQ describes local only operation by disabling cloud features. This removes access to cloud models and web search.
Steps
1. Set the cloud-disabling key in ~/.ollama/server.json as shown on the page.
{
"disable_ollama_cloud": true
}
2. Restart Ollama after changing the configuration. The page gives this restart instruction without a platform-specific restart command.
Check it worked
Look in Ollama logs for Ollama cloud disabled: true after the restart.
Limits
Cloud models and web search become unavailable. The FAQ also offers OLLAMA_NO_CLOUD=1 as an environment-variable alternative. The page does not name a version for this feature.
Not for: schema-constrained local responses; see ollama-constrain-local-responses-with-schema.
Sources
- FAQ, Ollama documentation, read 2026-11-24: "Restart Ollama after changing configuration."
Checked
2026-11-24; read <https://docs.ollama.com/faq.md#how-do-i-disable-ollamas-cloud-features>; no command was run.
Started from a post by @Ollama, packaged by the editor. Original post