Ollama on a Mac is not only local anymore. The current app can sign in to an ollama.com account and run cloud models, with names such as gemma4:cloud, that never download to the Mac. Handy when free memory is short. But a prompt sent to a cloud model goes to Ollama's servers.
Ollama's own FAQ is plain about it. Local models run locally and Ollama does not see the prompts. For cloud models, Ollama processes prompts and responses to give the answer, and says it does not store or log that content or train on it. If the rule at your office, or your own rule, is "nothing leaves this Mac", there is a switch for that. The FAQ calls it disabling Ollama's cloud features.
This tip starts after setup. If Ollama is not on the Mac yet, see our Ollama on Apple silicon tip first.
server.json with disable_ollama_cloud
Ollama keeps models and configuration in the hidden ~/.ollama folder in your home folder. Open Terminal and create the file with one line:
echo '{"disable_ollama_cloud": true}' > ~/.ollama/server.json
If a server.json is already there with other settings, do not overwrite it. Open it in TextEdit and add the "disable_ollama_cloud": true key inside the same braces.
The FAQ lists one more way, the environment variable OLLAMA_NO_CLOUD=1. For the Mac app, server variables go through launchctl:
launchctl setenv OLLAMA_NO_CLOUD 1
The file is the easier one to keep. It stays on disk. A launchctl setenv value has to be set again after a reboot, same as the keep-alive setting in our ollama stop tip.

Photo: Apple
Restart Ollama and read server.log
The change is read at start. Quit Ollama from its menu bar icon, then open it again from Applications. If you run ollama serve by hand in Terminal, stop it with Control-C and start it again.
Then check. On a Mac the server log is ~/.ollama/logs/server.log. Search it for the line the FAQ names:
grep "cloud disabled" ~/.ollama/logs/server.log
You want to see Ollama cloud disabled: true. No line, or false? Look at the JSON for a typo, a missing quote is the usual one, and restart once more. The full log is also readable with cat ~/.ollama/logs/server.log.
What stops working
The FAQ says local-only mode turns off Ollama's cloud models and web search. It names only those two. Downloaded models keep running. ollama list shows the same local models as before, and ollama run works offline with them.
Apps that talk to Ollama keep working, as long as they ask for a local model. That includes the Claude Desktop setup in our Claude Desktop with Ollama tip and a browser chat like Open WebUI. Pick a downloaded model name in those apps, not one ending in :cloud.
To go back, change the value to false or delete server.json, then restart Ollama. If you used launchctl, clear it with launchctl unsetenv OLLAMA_NO_CLOUD.
Port 11434 stays on 127.0.0.1
Cloud models are one way data leaves the Mac. The local server port matters too. By default Ollama binds 127.0.0.1 on port 11434, so only apps on the same Mac can reach it. The FAQ shows how to open it to the network with OLLAMA_HOST "0.0.0.0:11434". If privacy is the reason for this tip, leave OLLAMA_HOST unset. Then other devices on the Wi-Fi cannot send prompts to your models either.
Models also take space. Ollama's macOS page says they can be tens to hundreds of GB, and local-only means every model sits on your own disk. Our Ollama Model location tip moves them to an external SSD.
Photo: Apple
Source: Ollama FAQ (Ollama Cloud features, disable_ollama_cloud, OLLAMA_NO_CLOUD, OLLAMA_HOST, environment variables on Mac); Ollama docs (Cloud, macOS, Troubleshooting); Apple Newsroom (Mac Studio)