models.md +255 −201
2 2
3## Recommended models3## Recommended models
4 4
55<div class="not-prose grid gap-6 md:grid-cols-2 xl:grid-cols-3">
66 <ModelDetails
77gpt-5.4 client:load
88 name="gpt-5.5"
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. slug="gpt-5.5"
1010 wallpaperUrl="/images/api/models/gpt-5.5.jpg"
1111codex -m gpt-5.4 description="OpenAI's newest frontier model for complex coding, computer use, knowledge work, and research workflows in Codex."
1212 data={{
1313Copy command features: [
1414 {
1515Capability title: "Capability",
1616 value: "",
1717Speed icons: [
1818 "openai.SparklesFilled",
1919Codex CLI & SDK "openai.SparklesFilled",
2020 "openai.SparklesFilled",
2121Codex app & IDE extension "openai.SparklesFilled",
2222 "openai.SparklesFilled",
2323Codex Cloud ],
2424 },
2525ChatGPT Credits {
2626 title: "Speed",
2727API Access value: "",
2828 icons: ["openai.Flash", "openai.Flash", "openai.Flash"],
2929 },
3030 {
3131gpt-5.4-mini title: "Codex CLI & SDK",
3232 value: true,
3333Fast, efficient mini model for responsive coding tasks and subagents. },
3434 { title: "Codex app & IDE extension", value: true },
3535codex -m gpt-5.4-mini {
3636 title: "Codex Cloud",
3737Copy command value: false,
3838 },
3939Capability { title: "ChatGPT Credits", value: true },
4040 { title: "API Access", value: false },
4141Speed ],
4242 }}
4343Codex CLI & SDK />
4444
4545Codex app & IDE extension<ModelDetails
4646 client:load
4747Codex Cloud name="gpt-5.4"
4848 slug="gpt-5.4"
4949ChatGPT Credits wallpaperUrl="/images/api/models/gpt-5.4.jpg"
5050 description="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."
5151API Access data={{
5252 features: [
5353 {
5454 title: "Capability",
5555gpt-5.3-codex value: "",
5656 icons: [
5757Industry-leading coding model for complex software engineering. Its coding capabilities now also power GPT-5.4. "openai.SparklesFilled",
5858 "openai.SparklesFilled",
5959codex -m gpt-5.3-codex "openai.SparklesFilled",
6060 "openai.SparklesFilled",
6161Copy command "openai.SparklesFilled",
6262 ],
6363Capability },
6464 {
6565Speed title: "Speed",
6666 value: "",
6767Codex CLI & SDK icons: ["openai.Flash", "openai.Flash", "openai.Flash"],
6868 },
6969Codex app & IDE extension {
7070 title: "Codex CLI & SDK",
7171Codex Cloud value: true,
7272 },
7373ChatGPT Credits { title: "Codex app & IDE extension", value: true },
7474 {
7575API Access title: "Codex Cloud",
7676 value: false,
7777 },
7878 { title: "ChatGPT Credits", value: true },
7979gpt-5.3-codex-spark { title: "API Access", value: true },
8080 ],
8181Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users. }}
8282 />
8383codex -m gpt-5.3-codex-spark
8484 <ModelDetails
8585Copy command client:load
8686 name="gpt-5.4-mini"
8787Capability slug="gpt-5.4-mini"
8888 wallpaperUrl="/images/api/models/gpt-5-mini.jpg"
8989Speed description="Fast, efficient mini model for responsive coding tasks and subagents."
9090 data={{
9191Codex CLI & SDK features: [
9292 {
9393Codex app & IDE extension title: "Capability",
9494 value: "",
9595Codex Cloud icons: [
9696 "openai.SparklesFilled",
9797ChatGPT Credits "openai.SparklesFilled",
9898 "openai.SparklesFilled",
9999API Access ],
100100 },
101101For most tasks in Codex, start with `gpt-5.4`. It combines strong coding, {
102102reasoning, native computer use, and broader professional workflows in one title: "Speed",
103103model. Use `gpt-5.4-mini` when you want a faster, lower-cost option for value: "",
104104lighter coding tasks or subagents. The `gpt-5.3-codex-spark` model is icons: ["openai.Flash", "openai.Flash", "openai.Flash", "openai.Flash"],
105105available in research preview for ChatGPT Pro subscribers and is optimized for },
106106near-instant, real-time coding iteration. {
107 title: "Codex CLI & SDK",
108 value: true,
109 },
110 { title: "Codex app & IDE extension", value: true },
111 {
112 title: "Codex Cloud",
113 value: false,
114 },
115 { title: "ChatGPT Credits", value: true },
116 { title: "API Access", value: true },
117 ],
118 }}
119/>
120
121<ModelDetails
122 client:load
123 name="gpt-5.3-codex"
124 slug="gpt-5.3-codex"
125 wallpaperUrl="/images/codex/codex-wallpaper-1.webp"
126 description="Industry-leading coding model for complex software engineering. Its coding capabilities now also power GPT-5.4."
127 data={{
128 features: [
129 {
130 title: "Capability",
131 value: "",
132 icons: [
133 "openai.SparklesFilled",
134 "openai.SparklesFilled",
135 "openai.SparklesFilled",
136 "openai.SparklesFilled",
137 "openai.SparklesFilled",
138 ],
139 },
140 {
141 title: "Speed",
142 value: "",
143 icons: ["openai.Flash", "openai.Flash", "openai.Flash"],
144 },
145 {
146 title: "Codex CLI & SDK",
147 value: true,
148 },
149 { title: "Codex app & IDE extension", value: true },
150 {
151 title: "Codex Cloud",
152 value: true,
153 },
154 { title: "ChatGPT Credits", value: true },
155 { title: "API Access", value: true },
156 ],
157 }}
158/>
159
160<ModelDetails
161 client:load
162 name="gpt-5.3-codex-spark"
163 slug="gpt-5.3-codex-spark"
164 wallpaperUrl="/images/codex/codex-wallpaper-2.webp"
165 description="Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users."
166 data={{
167 features: [
168 {
169 title: "Capability",
170 value: "",
171 icons: [
172 "openai.SparklesFilled",
173 "openai.SparklesFilled",
174 "openai.SparklesFilled",
175 ],
176 },
177 {
178 title: "Speed",
179 value: "",
180 icons: [
181 "openai.Flash",
182 "openai.Flash",
183 "openai.Flash",
184 "openai.Flash",
185 "openai.Flash",
186 ],
187 },
188 {
189 title: "Codex CLI & SDK",
190 value: true,
191 },
192 { title: "Codex app & IDE extension", value: true },
193 {
194 title: "Codex Cloud",
195 value: false,
196 },
197 { title: "ChatGPT Credits", value: false },
198 { title: "API Access", value: false },
199 ],
200 }}
201/>
202
203</div>
204
205For most tasks in Codex, start with `gpt-5.5` when it appears in your model
206 picker. It is strongest for complex coding, computer use, knowledge work, and
207 research workflows. GPT-5.5 is currently available in Codex when you sign in
208 with ChatGPT; it isn't available with API-key authentication. During the
209 rollout, continue using `gpt-5.4` if `gpt-5.5` is not yet available. Use
210 `gpt-5.4-mini` when you want a faster, lower-cost option for lighter coding
211 tasks or subagents. The `gpt-5.3-codex-spark` model is available in research
212 preview for ChatGPT Pro subscribers and is optimized for near-instant,
213 real-time coding iteration.
107 214
108## Alternative models215## Alternative models
109 216
110217<div class="not-prose grid gap-4 md:grid-cols-2 xl:grid-cols-3">
111218 <ModelDetails
112219gpt-5.2-codex client:load
113220 name="gpt-5.2"
114221Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex. slug="gpt-5.2"
115222 description="Previous general-purpose model for coding and agentic tasks, including hard debugging tasks that benefit from deeper deliberation."
116223codex -m gpt-5.2-codex collapsible
117224 data={{
118225Copy command features: [
119226 {
120227Show details title: "Capability",
121228 value: "",
122229 icons: [
123230 "openai.SparklesFilled",
124231gpt-5.2 "openai.SparklesFilled",
125232 "openai.SparklesFilled",
126233Previous general-purpose model for coding and agentic tasks across industries and domains. Succeeded by GPT-5.4. "openai.SparklesFilled",
127234 ],
128235codex -m gpt-5.2 },
129236 {
130237Copy command title: "Speed",
131238 value: "",
132239Show details icons: ["openai.Flash", "openai.Flash", "openai.Flash"],
133240 },
134241 {
135242 title: "Codex CLI & SDK",
136243gpt-5.1-codex-max value: true,
137244 },
138245Optimized for long-horizon, agentic coding tasks in Codex. { title: "Codex app & IDE extension", value: true },
139246 {
140247codex -m gpt-5.1-codex-max title: "Codex Cloud",
141248 value: false,
142249Copy command },
143250 { title: "ChatGPT Credits", value: true },
144251Show details { title: "API Access", value: true },
145252 ],
146253 }}
147254 />
148255gpt-5.1
149256 </div>
150Great for coding and agentic tasks across domains. Succeeded by GPT-5.2.
151
152codex -m gpt-5.1
153
154Copy command
155
156Show details
157
158
159
160gpt-5.1-codex
161
162Optimized for long-running, agentic coding tasks in Codex. Succeeded by GPT-5.1-Codex-Max.
163
164codex -m gpt-5.1-codex
165
166Copy command
167
168Show details
169
170
171
172gpt-5-codex
173
174Version of GPT-5 tuned for long-running, agentic coding tasks. Succeeded by GPT-5.1-Codex.
175
176codex -m gpt-5-codex
177
178Copy command
179
180Show details
181
182
183
184gpt-5-codex-mini
185
186Smaller, more cost-effective version of GPT-5-Codex. Succeeded by GPT-5.1-Codex-Mini.
187
188codex -m gpt-5-codex
189
190Copy command
191
192Show details
193
194
195
196gpt-5
197
198Reasoning model for coding and agentic tasks across domains. Succeeded by GPT-5.1.
199
200codex -m gpt-5
201
202Copy command
203
204Show details
205 257
206## Other models258## Other models
207 259
208260Codex works best with the models listed above.When you sign in with ChatGPT, Codex works best with the models listed above.
209 261
210You 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.262You 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.
211 263
218 270
219The 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.271The 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.
220 272
273```toml
274model = "gpt-5.5"
221```275```
222276model = "gpt-5.4"
223277```If `gpt-5.5` isn't available in your account yet, use `gpt-5.4`.
224 278
225### Choosing a different local model temporarily279### Choosing a different local model temporarily
226 280
229To 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:283To 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:
230 284
231```bash285```bash
232286codex -m gpt-5.4codex -m gpt-5.5
233```287```
234 288
235### Choosing your model for cloud tasks289### Choosing your model for cloud tasks