models.md +64 −29
1# Codex Models1# Codex Models
2 2
3Meet the AI models that power Codex
4
5## Recommended models3## Recommended models
6 4
75
8 6
97gpt-5.3-codexgpt-5.4
10 8
119Most capable agentic coding model to date, combining frontier coding performance with stronger reasoning and professional knowledge capabilities.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.
12 10
1311codex -m gpt-5.3-codexcodex -m gpt-5.4
14 12
15Copy command13Copy command
16 14
28 26
29API Access27API Access
30 28
3129
32 30
3331gpt-5.3-codex-sparkgpt-5.4-mini
34 32
3533Text-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.
36 34
3735codex -m gpt-5.3-codex-sparkcodex -m gpt-5.4-mini
38 36
39Copy command37Copy command
40 38
52 50
53API Access51API Access
54 52
5553
56 54
5755gpt-5.2-codexgpt-5.3-codex
58 56
5957Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex.Industry-leading coding model for complex software engineering. Its coding capabilities now also power GPT-5.4.
60 58
6159codex -m gpt-5.2-codexcodex -m gpt-5.3-codex
60
61Copy command
62
63Capability
64
65Speed
66
67Codex CLI & SDK
68
69Codex app & IDE extension
70
71Codex Cloud
72
73ChatGPT Credits
74
75API Access
76
77
78
79gpt-5.3-codex-spark
80
81Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users.
82
83codex -m gpt-5.3-codex-spark
62 84
63Copy command85Copy command
64 86
76 98
77API Access99API Access
78 100
79101For most coding tasks in Codex, start with gpt-5.3-codex. It is available forFor most tasks in Codex, start with `gpt-5.4`. It combines strong coding,
80102ChatGPT-authenticated Codex sessions in the Codex app, CLI, IDE extension, andreasoning, native computer use, and broader professional workflows in one
81103Codex Cloud. API access for GPT-5.3-Codex will come soon. Themodel. Use `gpt-5.4-mini` when you want a faster, lower-cost option for
82104gpt-5.3-codex-spark model is available in research preview for ChatGPT Prolighter coding tasks or subagents. The `gpt-5.3-codex-spark` model is
83105subscribers.available in research preview for ChatGPT Pro subscribers and is optimized for
106near-instant, real-time coding iteration.
84 107
85## Alternative models108## Alternative models
86 109
87110
111
112gpt-5.2-codex
113
114Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex.
115
116codex -m gpt-5.2-codex
117
118Copy command
119
120Show details
121
122
88 123
89gpt-5.2124gpt-5.2
90 125
91126Our best general agentic model for tasks across industries and domains.Previous general-purpose model for coding and agentic tasks across industries and domains. Succeeded by GPT-5.4.
92 127
93codex -m gpt-5.2128codex -m gpt-5.2
94 129
96 131
97Show details132Show details
98 133
99134
100 135
101gpt-5.1-codex-max136gpt-5.1-codex-max
102 137
108 143
109Show details144Show details
110 145
111146
112 147
113gpt-5.1148gpt-5.1
114 149
120 155
121Show details156Show details
122 157
123158
124 159
125gpt-5.1-codex160gpt-5.1-codex
126 161
132 167
133Show details168Show details
134 169
135170
136 171
137gpt-5-codex172gpt-5-codex
138 173
144 179
145Show details180Show details
146 181
147182
148 183
149gpt-5-codex-mini184gpt-5-codex-mini
150 185
156 191
157Show details192Show details
158 193
159194
160 195
161gpt-5196gpt-5
162 197
184The 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.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.
185 220
186```221```
187222model = "gpt-5.2"model = "gpt-5.4"
188```223```
189 224
190### Choosing a different local model temporarily225### Choosing a different local model temporarily
194To 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: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:
195 230
196```bash231```bash
197232codex -m gpt-5.3-codexcodex -m gpt-5.4
198```233```
199 234
200### Choosing your model for cloud tasks235### Choosing your model for cloud tasks