In short.
This guide helps developers connect Ollama models to ChatGPT Desktop's coding agent, but the integration applies only to Codex mode. It documents installation prerequisites, model selection, request routing, session handling and disconnection. Web search through an Ollama model requires Ollama sign-in and permits three calls per response. Model compatibility details, hardware requirements, costs and coding performance are not established, and nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected page at [https://docs.ollama.com/integrations/chatgpt.md], including prerequisites, connection, model selection, disconnection, behavior limits, the documentation-index notice and related-integration links. The linked documentation index, Codex CLI guide and Claude Desktop guide are excluded. Installation, model requests, compaction, search, session handling and restoration were not executed or verified; model quality and performance remain unassessed.
The overview
Identity
The resource is Ollama's ChatGPT Desktop integration guide at [https://docs.ollama.com/integrations/chatgpt.md]. It explains how Ollama adds compatible local and cloud models to the model picker in Codex, described on the page as OpenAI's desktop coding agent included in ChatGPT Desktop.
Assessment
The guide provides a concrete path for developers who want to select Ollama models while working in ChatGPT Desktop's Codex mode. Its useful details include where to enable the connection, when restarts are requested and how to restore the usual connection. It does not establish reliability, coding quality or performance for any model.
Users
The guide suits developers using Codex in ChatGPT Desktop who want access to compatible Ollama models. Its interface-based instructions are approachable without command-line experience. People seeking Ollama models for regular Chat or voice will not get that behavior through this documented integration.
Capabilities
The documented integration adds up to five selected compatible local or cloud models alongside ChatGPT's native models. Users can change their selection through Ollama's settings and disable the connection through its Apps panel.
When an Ollama model is selected, web search uses Ollama's web-search service. Codex also asks Ollama to handle compaction, the process of condensing context, when needed. The page gives no model-specific feature matrix.
Using it
Requirements
The stated prerequisite is Ollama v0.34.0 or newer. Setup uses the Ollama desktop app and ChatGPT Desktop; Ollama offers to download ChatGPT if it is missing. Web search requires Ollama sign-in.
The page does not specify supported operating systems, a minimum ChatGPT Desktop version, compatible model names, local hardware needs or ChatGPT account and subscription requirements.
Mechanism
Routing follows the selected model: requests using an Ollama model go to Ollama, while requests using ChatGPT's native models keep their usual provider. Regular Chat and voice retain their usual ChatGPT connection.
Codex manages sessions. According to the page, Ollama routes model requests and compaction when Codex requests it and does not store ChatGPT sessions. That statement does not establish prompt logging, cloud-model retention or web-search data handling.
Setup
Open Apps in the Ollama desktop app, enable ChatGPT (Desktop) and follow the setup prompts. If ChatGPT is already running, Ollama requests a restart before the models appear. Then open ChatGPT Desktop and enter Codex mode.
To choose models, open Ollama Settings, select Apps and then ChatGPT, choose up to five compatible local or cloud models and save. Restart ChatGPT if prompted. To disconnect, turn ChatGPT off in Ollama Apps; the page says this restores ChatGPT's connection settings and usual profile, with a restart requested if ChatGPT is open.
Example
An illustrative use is selecting one compatible local model in Ollama's ChatGPT settings, saving the selection, restarting ChatGPT if prompted and choosing that model in Codex for a coding request. The documented routing sends that request to Ollama. Choosing a native ChatGPT model keeps its usual provider. This example was not executed, and no generated code or output quality was assessed.
Assessment & evidence
Limitations
The connection applies to Codex mode and allows selection of up to five compatible models. It does not change regular Chat or voice. Model changes can require restarting ChatGPT.
Web search with an Ollama model requires sign-in and is limited to three calls per response. The guide does not establish context limits, coding-tool compatibility, latency, resource consumption or failure behavior for particular models.
Fit and tradeoffs
The documented routing makes this useful for developers who want to choose an Ollama model for coding while retaining access to native ChatGPT models. Whether that choice improves quality, speed or cost remains unknown.
Selecting a local model does not establish that every feature runs locally: the page explicitly assigns web search to Ollama's service. Its support for cloud models also means that data handling depends on the selected model and features.
Alternatives
ChatGPT's native models remain a documented option in the same model picker. The page also points to a Codex CLI guide for terminal use [https://docs.ollama.com/integrations/codex.md] and a Claude Desktop integration guide [https://docs.ollama.com/integrations/claude-desktop.md]. Those linked guides are outside the assessed scope; their requirements, capabilities and costs are unknown here.
Evidence
The evidence is the complete Ollama ChatGPT Desktop documentation page at [https://docs.ollama.com/integrations/chatgpt.md], captured on 2026-11-23 at 02:55:19 UTC. It supports the described setup steps and stated behavior. It contains no execution results, benchmarks, compatibility matrix or independent performance measurements.
Access & freshness
Costs
The page gives no prices, billing rules or subscription requirements. It specifies a web-search limit of three calls per response. Costs for the integration, cloud models, ChatGPT access and Ollama web search are unknown. It does not establish that any of these are free or provide an estimate of local operating costs.
Rights
The page supplies no documentation licence, redistribution permission, model licences or commercial-use terms. Rights covering the documentation, software, chosen models and generated outputs cannot be established from this page.
Freshness
The page specifies Ollama v0.34.0 or newer but gives no publication date, last-update date or ChatGPT Desktop version. The capture date establishes when this text was retained, not when the guide was last revised. Changes after capture and compatibility with other configurations are unknown.
Next steps
Confirm your Ollama version and inspect which models the ChatGPT settings panel marks compatible. Establish the chosen model's hardware needs, costs and terms separately, since this guide does not supply them. Follow the documented connection steps and assess a small coding task for usefulness in your work. If web search matters, account for Ollama sign-in and the three-call limit per response.
