models.md +54 −84
2 2
3## Recommended models3## Recommended models
4 4
55
6 6
77gpt-5.4gpt-5.5
8 8
99Flagship frontier model for professional work that brings the industry-leading coding capabilities of GPT-5.3-Codex together with stronger reasoning, tool use, and agentic workflows.OpenAI's newest frontier model for complex coding, computer use, knowledge work, and research workflows in Codex.
10 10
1111codex -m gpt-5.4codex -m gpt-5.5
12 12
13Copy command13Copy command
14 14
26 26
27API Access27API Access
28 28
2929
30 30
3131gpt-5.3-codexgpt-5.4
32 32
3333Industry-leading coding model for complex software engineering. Its coding capabilities now also power GPT-5.4.Flagship frontier model for professional work that brings the industry-leading coding capabilities of GPT-5.3-Codex together with stronger reasoning, tool use, and agentic workflows.
34 34
3535codex -m gpt-5.3-codexcodex -m gpt-5.4
36 36
37Copy command37Copy command
38 38
50 50
51API Access51API Access
52 52
5353
54 54
5555gpt-5.3-codex-sparkgpt-5.4-mini
56 56
5757Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users.Fast, efficient mini model for responsive coding tasks and subagents.
58 58
5959codex -m gpt-5.3-codex-sparkcodex -m gpt-5.4-mini
60 60
61Copy command61Copy command
62 62
74 74
75API Access75API Access
76 76
7777For most tasks in Codex, start with `gpt-5.4`. It combines strong coding,
78reasoning, native computer use, and broader professional workflows in one
79model. The `gpt-5.3-codex-spark` model is available in research preview for
80ChatGPT Pro subscribers and is optimized for near-instant, real-time coding
81iteration.
82
83## Alternative models
84
85
86
87gpt-5.2-codex
88
89Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex.
90
91codex -m gpt-5.2-codex
92
93Copy command
94
95Show details
96
97
98
99gpt-5.2
100
101Previous general-purpose model for coding and agentic tasks across industries and domains. Succeeded by GPT-5.4.
102
103codex -m gpt-5.2
104
105Copy command
106
107Show details
108
109
110 78
11179gpt-5.1-codex-maxgpt-5.3-codex
112 80
11381Optimized for long-horizon, agentic coding tasks in Codex.Industry-leading coding model for complex software engineering. Its coding capabilities now also power GPT-5.4.
114 82
11583codex -m gpt-5.1-codex-maxcodex -m gpt-5.3-codex
116 84
117Copy command85Copy command
118 86
11987Show detailsCapability
120 88
12189Speed
122 90
12391gpt-5.1Codex CLI & SDK
124 92
12593Great for coding and agentic tasks across domains. Succeeded by GPT-5.2.Codex app & IDE extension
126 94
12795codex -m gpt-5.1Codex Cloud
128 96
12997Copy commandChatGPT Credits
130 98
13199Show detailsAPI Access
132 100
133101
134 102
135103gpt-5.1-codexgpt-5.3-codex-spark
136 104
137105Optimized for long-running, agentic coding tasks in Codex. Succeeded by GPT-5.1-Codex-Max.Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users.
138 106
139107codex -m gpt-5.1-codexcodex -m gpt-5.3-codex-spark
140 108
141Copy command109Copy command
142 110
143111Show detailsCapability
144
145
146
147gpt-5-codex
148
149Version of GPT-5 tuned for long-running, agentic coding tasks. Succeeded by GPT-5.1-Codex.
150 112
151113codex -m gpt-5-codexSpeed
152 114
153115Copy commandCodex CLI & SDK
154 116
155117Show detailsCodex app & IDE extension
156 118
157119Codex Cloud
158 120
159121gpt-5-codex-miniChatGPT Credits
160 122
161123Smaller, more cost-effective version of GPT-5-Codex. Succeeded by GPT-5.1-Codex-Mini.API Access
162 124
163125codex -m gpt-5-codexFor most tasks in Codex, start with `gpt-5.5` when it appears in your model
126 picker. It is strongest for complex coding, computer use, knowledge work, and
127 research workflows. GPT-5.5 is currently available in Codex when you sign in
128 with ChatGPT; it isn't available with API-key authentication. During the
129 rollout, continue using `gpt-5.4` if `gpt-5.5` is not yet available. Use
130 `gpt-5.4-mini` when you want a faster, lower-cost option for lighter coding
131 tasks or subagents. The `gpt-5.3-codex-spark` model is available in research
132 preview for ChatGPT Pro subscribers and is optimized for near-instant,
133 real-time coding iteration.
164 134
165135Copy command## Alternative models
166
167Show details
168 136
169137
170 138
171139gpt-5gpt-5.2
172 140
173141Reasoning model for coding and agentic tasks across domains. Succeeded by GPT-5.1.Previous general-purpose model for coding and agentic tasks, including hard debugging tasks that benefit from deeper deliberation.
174 142
175143codex -m gpt-5codex -m gpt-5.2
176 144
177Copy command145Copy command
178 146
180 148
181## Other models149## Other models
182 150
183151Codex works best with the models listed above.When you sign in with ChatGPT, Codex works best with the models listed above.
184 152
185You can also point Codex at any model and provider that supports either the [Chat Completions](https://platform.openai.com/docs/api-reference/chat) or [Responses APIs](https://platform.openai.com/docs/api-reference/responses) to fit your specific use case.153You can also point Codex at any model and provider that supports either the [Chat Completions](https://platform.openai.com/docs/api-reference/chat) or [Responses APIs](https://platform.openai.com/docs/api-reference/responses) to fit your specific use case.
186 154
193 161
194The Codex CLI and IDE extension use the same `config.toml` [configuration file](https://developers.openai.com/codex/config-basic). To specify a model, add a `model` entry to your configuration file. If you don't specify a model, the Codex app, CLI, or IDE Extension defaults to a recommended model.162The Codex CLI and IDE extension use the same `config.toml` [configuration file](https://developers.openai.com/codex/config-basic). To specify a model, add a `model` entry to your configuration file. If you don't specify a model, the Codex app, CLI, or IDE Extension defaults to a recommended model.
195 163
196164``````toml
197165model = "gpt-5.4"model = "gpt-5.5"
198```166```
199 167
168If `gpt-5.5` isn't available in your account yet, use `gpt-5.4`.
169
200### Choosing a different local model temporarily170### Choosing a different local model temporarily
201 171
202In the Codex CLI, you can use the `/model` command during an active thread to change the model. In the IDE extension, you can use the model selector below the input box to choose your model.172In the Codex CLI, you can use the `/model` command during an active thread to change the model. In the IDE extension, you can use the model selector below the input box to choose your model.
204To start a new Codex CLI thread with a specific model or to specify the model for `codex exec` you can use the `--model`/`-m` flag:174To start a new Codex CLI thread with a specific model or to specify the model for `codex exec` you can use the `--model`/`-m` flag:
205 175
206```bash176```bash
207177codex -m gpt-5.4codex -m gpt-5.5
208```178```
209 179
210### Choosing your model for cloud tasks180### Choosing your model for cloud tasks