Mac tip: connect Ollama models to ChatGPT Desktop on Mac

MacBook Air Desk View from Apple Newsroom

Ollama on macOS can put its models into ChatGPT Desktop. The path is Apps, then ChatGPT (Desktop). Models show up in Codex mode. Regular Chat and voice stay on your usual ChatGPT connection.

Need the apps first? See our Ollama on Apple silicon tip and the ChatGPT desktop Option-Space tip. This piece starts after Ollama is installed and a model is pulled when you want local weights.

MacBook Air with ChatGPT from Apple Newsroom

Photo: Apple

Ollama v0.34 and ChatGPT Desktop

Official ChatGPT Desktop docs set the floor at Ollama v0.34.0 or newer. Update from ollama.com if the menu bar app is older.

ChatGPT Desktop itself includes Codex, OpenAI’s desktop coding agent. Ollama adds compatible local and cloud models to Codex’s model picker next to ChatGPT’s native models. If ChatGPT is not installed yet, Ollama offers to download it during setup.

This is not the manual OpenAI base URL route from our Ollama OpenAI-compatible API tip. Apps writes the ChatGPT Desktop link for you.

Open Ollama Apps and toggle ChatGPT

Open the Ollama desktop app. Select Apps. Toggle ChatGPT (Desktop) to On. Follow the setup prompts.

If ChatGPT is already open, Ollama asks to restart it before the new models appear. Allow the restart. Then open ChatGPT Desktop and switch to Codex mode. That is where the Ollama models sit.

14-inch MacBook Pro lifestyle work from Apple Newsroom

Photo: Apple

Choose up to five models in Settings

After the first connect, model choice sits in Ollama Settings. Open Settings, select Apps, then select ChatGPT. Choose up to five compatible local or cloud models and save. Ollama asks to restart ChatGPT when a model change needs one.

Pull a local model before you rely on it:

ollama pull llama3.2
ollama ls

Cloud models need an Ollama sign-in. Local weights stay under ~/.ollama. Only requests made with an Ollama model go to Ollama. ChatGPT’s native models keep using their usual provider.

Codex mode versus regular Chat

Ollama’s docs are clear on the split. Ollama models are for Codex mode. Regular Chat and voice keep using their usual ChatGPT connection. Codex manages sessions. Ollama routes model requests and compaction when Codex asks for it, but does not store ChatGPT sessions.

Web search on an Ollama model uses Ollama’s web-search service. That path needs Ollama sign-in and is limited to three calls per response.

Yesterday’s Claude Desktop + Ollama tip is the same Apps idea for Anthropic’s client. ChatGPT’s toggle is a separate switch on the same Apps page.

Disconnect or restart when models do not appear

Open Ollama Apps and turn ChatGPT off to disconnect. Ollama restores ChatGPT’s connection settings and usual profile. If ChatGPT is open, Ollama asks to restart it so the change takes effect.

If Codex still shows no Ollama model, confirm the Ollama menu bar app is running, that ChatGPT (Desktop) is On, and that you restarted ChatGPT after the toggle. Quit ChatGPT once and reopen Codex mode after Ollama finishes the setup prompts.

Photo: Apple

Source: Ollama Docs - ChatGPT Desktop; Ollama Docs - macOS; Apple Newsroom (MacBook Air Desk View, MacBook Air ChatGPT, 14-inch MacBook Pro lifestyle work)

Previous Article iPhone fix: Mail not downloading email? Check Fetch, your password, and re-add the account