ollama/docs
Devon Rifkin 948de6bbd2
add ability to disable cloud (#14221)
* add ability to disable cloud

Users can now easily opt-out of cloud inference and web search by
setting

```
"disable_ollama_cloud": true
```

in their `~/.ollama/server.json` settings file. After a setting update,
the server must be restarted.

Alternatively, setting the environment variable `OLLAMA_NO_CLOUD=1` will
also disable cloud features. While users previously were able to avoid
cloud models by not pulling or `ollama run`ing them, this gives them an
easy way to enforce that decision. Any attempt to run a cloud model when
cloud is disabled will fail.

The app's old "airplane mode" setting, which did a similar thing for
hiding cloud models within the app is now unified with this new cloud
disabled mode. That setting has been replaced with a "Cloud" toggle,
which behind the scenes edits `server.json` and then restarts the
server.

* gate cloud models across TUI and launch flows when cloud is disabled

Block cloud models from being selected, launched, or written to
integration configs when cloud mode is turned off:

- TUI main menu: open model picker instead of launching with a
  disabled cloud model
- cmd.go: add IsCloudModelDisabled checks for all Selection* paths
- LaunchCmd: filter cloud models from saved Editor configs before
  launch, fall through to picker if none remain
- Editor Run() methods (droid, opencode, openclaw): filter cloud
  models before calling Edit() and persist the cleaned list
- Export SaveIntegration, remove SaveIntegrationModel wrapper that
  was accumulating models instead of replacing them

* rename saveIntegration to SaveIntegration in config.go and tests

* cmd/config: add --model guarding and empty model list fixes

* Update docs/faq.mdx

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>

* Update internal/cloud/policy.go

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>

* Update internal/cloud/policy.go

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>

* Update server/routes.go

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>

* Revert "Update internal/cloud/policy.go"

This reverts commit 8bff8615f9.

Since this error shows up in other integrations, we want it to be
prefixed with Ollama

* rename cloud status

* more status renaming

* fix tests that weren't updated after rename

---------

Co-authored-by: ParthSareen <parth.sareen@ollama.com>
Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
2026-02-12 15:47:00 -08:00
..
api docs: ollama launch (#13852) 2026-01-23 23:18:50 -08:00
capabilities docs: update web search param in examples (#13711) 2026-01-14 00:38:39 -08:00
images docs: add marimo integration (#13326) 2026-01-14 17:37:38 -08:00
integrations docs: integration overview (#13831) 2026-02-10 11:41:09 -08:00
tools/extract-examples docs: add docs for v1/responses and rework openai compat section (#13416) 2025-12-11 17:39:40 -08:00
api.md Add experimental image generation fields to /api/generate (#13753) 2026-01-17 18:27:41 -08:00
cli.mdx docs: ollama launch (#13852) 2026-01-23 23:18:50 -08:00
cloud.mdx add ability to disable cloud (#14221) 2026-02-12 15:47:00 -08:00
context-length.mdx update context length format. 2026-02-10 17:06:05 -08:00
development.md Add Vulkan GPU support instructions in development.md (#13265) 2025-12-02 13:37:32 -08:00
docker.mdx Enable Vulkan with a temporary opt-in setting (#12931) 2025-11-12 08:40:38 -08:00
docs.json docs: integration overview (#13831) 2026-02-10 11:41:09 -08:00
examples.md docs: update readme and links (#12809) 2025-10-28 16:20:02 -07:00
faq.mdx add ability to disable cloud (#14221) 2026-02-12 15:47:00 -08:00
favicon-dark.svg docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
favicon.svg docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
gpu.mdx docs: add GB10 to supported devices (#13987) 2026-01-31 12:45:27 -08:00
import.mdx docs: remove unsupported quantizations (#13982) 2026-01-31 12:46:20 -08:00
index.mdx docs: ollama launch (#13852) 2026-01-23 23:18:50 -08:00
linux.mdx Revert "Documentation edits made through Mintlify web editor" (#13688) 2026-01-14 07:42:34 -08:00
logo.svg docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
macos.mdx docs: update readme and links (#12809) 2025-10-28 16:20:02 -07:00
modelfile.mdx add REQUIRES command to Modelfile (#13361) 2025-12-18 13:21:29 -08:00
ollama-logo.svg docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
ollama.png docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
openapi.yaml docs: fix openapi schema for /api/ps and /api/tags endpoints (#14210) 2026-02-11 17:37:40 -08:00
quickstart.mdx docs: update quickstart for tui (#14208) 2026-02-12 08:44:33 -08:00
README.md api: implement anthropic api (#13600) 2026-01-09 11:53:36 -08:00
styling.css docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
template.mdx docs: add docs for docs.ollama.com (#12805) 2025-10-28 13:18:48 -07:00
troubleshooting.mdx docs: fix broken .md links and render issues (#13550) 2025-12-23 12:44:55 -05:00
windows.mdx docs: update readme and links (#12809) 2025-10-28 16:20:02 -07:00