Use Ollama models in ChatGPT Desktop1
Revised
ChatGPT Desktop includes Codex, OpenAI's desktop coding agent. Ollama adds compatible local and cloud models to Codex's model picker alongside ChatGPT's native models. This page shows how to connect ChatGPT Desktop to Ollama, choose models, and disconnect.2
Prerequisites
- Ollama version 0.34.03 or newer
If ChatGPT isn't4 installed, Ollama offers to download it during setup.
Connect ChatGPT
- 5Open 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.
- 6Open the ChatGPT desktop app.
- Use Codex mode.?1
Choose models
- 7Open Ollama Settings.
- Select Apps.
- Select ChatGPT.
- Choose up to five compatible local or cloud models.
- Save your changes.
Ollama asks to restart ChatGPT when a model change needs one.
Disconnect ChatGPT
- 8Open Ollama Apps.
- Turn ChatGPT off.
Ollama restores ChatGPT's connection settings and usual profile. If ChatGPT is open, Ollama asks to restart it so the change takes effect.
Codex behavior and limits
- Only requests made with an Ollama model go to Ollama. ChatGPT's native models keep using their usual provider.
- 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 doesn't9 store ChatGPT sessions.
- Web search uses Ollama's web-search service when you use an Ollama model. It requires Ollama sign-in and is limited to three calls per response.
Related integrations
- Use Codex from a terminal with Codex CLI.
- Connect other desktop apps from Claude Desktop.
Notes on this page
1 Wording Audit: improved A task title starts with a verb and names the result.
Was:
ChatGPT Desktoptype-task-one-goalproc-state-goalAuditor: The verb-led title tells readers what they can do on the page.
2 Added Audit: improved A goal sentence tells the reader what the page covers.
proc-state-goalAuditor: The added sentence previews the page’s three tasks and helps readers know what to expect.
3 Wording Audit: improved In prose, write the word "version" and the number.
Was:
v0.34.0VersionWordAuditor: Spelling out “version” follows the standard’s prose guidance without changing the requirement.
4 Wording Audit: improved Use the contraction.
Was:
is notvoice-contractionsAuditor: The contraction makes the sentence more conversational without changing its meaning.
5 Structure Audit: improved The step held two actions, so it is now two steps.
Was:
Open the Ollama desktop app and select Apps.proc-one-action-per-stepAuditor: Splitting the two actions into separate steps follows the standard’s one-action-per-step guidance.
6 Structure Audit: improved The step held two actions, so it is now two steps.
Was:
Open the ChatGPT desktop app and use Codex mode.proc-one-action-per-stepAuditor: Separating opening ChatGPT from using Codex makes the sequence easier to follow, and the owner question flags a useful missing confirmation.
7 Structure Audit: improved A run of actions in a paragraph is now a numbered list, one action per step.
Was:
Open Ollama Settings, select Apps, then select ChatGPT. Choose up to five compatible local or cloud models and save your changes.list-numbered-for-sequenceproc-one-action-per-stepAuditor: Numbering the sequence and giving each action its own step makes model selection easier to follow.
8 Structure Audit: improved Two actions in one sentence are now two numbered steps.
Was:
Open Ollama Apps and turn ChatGPT off.list-numbered-for-sequenceproc-one-action-per-stepAuditor: Numbering the two actions makes disconnecting easier to follow.
9 Wording Audit: improved Use the contraction.
Was:
does notvoice-contractionsAuditor: The contraction makes the sentence more conversational without changing its meaning.
Questions for the owner
?1 What should the reader see in Codex mode when the connection worked (for example, the Ollama models in the picker), and should the page say so?
About: “Open the ChatGPT desktop app and use Codex mode.”
Original
ChatGPT Desktop includes Codex, OpenAI's desktop coding agent. Ollama adds compatible local and cloud models to Codex's model picker alongside ChatGPT's native models.
Prerequisites
- Ollama v0.34.0 or newer
If ChatGPT is not installed, Ollama offers to download it during setup.
Connect ChatGPT
- Open the Ollama desktop app and 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.
- Open the ChatGPT desktop app and use Codex mode.
Choose models
Open Ollama Settings, select Apps, then select ChatGPT. Choose up to five compatible local or cloud models and save your changes. Ollama asks to restart ChatGPT when a model change needs one.
Disconnect ChatGPT
Open Ollama Apps and turn ChatGPT off. Ollama restores ChatGPT's connection settings and usual profile. If ChatGPT is open, Ollama asks to restart it so the change takes effect.
Codex behavior and limits
- Only requests made with an Ollama model go to Ollama. ChatGPT's native models keep using their usual provider.
- 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 uses Ollama's web-search service when you use an Ollama model. It requires Ollama sign-in and is limited to three calls per response.
Related integrations
- Use Codex from a terminal with Codex CLI.
- Connect other desktop apps from Claude Desktop.
What Changed
The title now starts with a verb and a goal sentence says what the page covers. Steps that held two actions are split, and the two prose procedures for choosing models and disconnecting are now numbered lists. The page never says how to confirm the connection worked, so that is a question for the owner.
Content type: task. The page walks the reader through connecting ChatGPT Desktop to Ollama models, with short sections for choosing models and disconnecting.
Automated check, original: 0 errors, 1 warning, 2 suggestions. Revised: 0 errors, 0 warnings, 0 suggestions.
Independent audit (GPT-6): improved. The revision makes the title more task-focused and turns the procedures into clearer steps. The changes preserve the page’s meaning, and the question flags a useful gap for the owner to address.
What the revision missed:
- The page does not end with a clear next action for readers who have finished connecting or choosing models, as the standard recommends for task pages.
Structure (4)
- 5 The step held two actions, so it is now two steps. improved
- 6 The step held two actions, so it is now two steps. improved
- 7 A run of actions in a paragraph is now a numbered list, one action per step. improved
- 8 Two actions in one sentence are now two numbered steps. improved
Wording (4)
- 1 A task title starts with a verb and names the result. improved
- 3 In prose, write the word "version" and the number. improved
- 4 Use the contraction. improved
- 9 Use the contraction. improved
Added (1)
- 2 A goal sentence tells the reader what the page covers. improved