models.md +253 −149
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.3-codex client:load
88 name="gpt-5.5"
99Most capable agentic coding model to date, combining frontier coding performance with stronger reasoning and professional knowledge capabilities. slug="gpt-5.5"
1010 wallpaperUrl="/images/api/models/gpt-5.5.jpg"
1111codex -m gpt-5.3-codex 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.3-codex-spark title: "Codex CLI & SDK",
3232 value: true,
3333Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users. },
3434 { title: "Codex app & IDE extension", value: true },
3535codex -m gpt-5.3-codex-spark {
3636 title: "Codex Cloud",
3737Copy command value: false,
3838 },
3939Capability { title: "ChatGPT Credits", value: true },
4040 { title: "API Access", value: true },
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: [
5353The gpt-5.3-codex-spark model is available in research preview for ChatGPT Pro {
5454subscribers. It is optimized for near-instant, real-time coding iteration. title: "Capability",
55 value: "",
56 icons: [
57 "openai.SparklesFilled",
58 "openai.SparklesFilled",
59 "openai.SparklesFilled",
60 "openai.SparklesFilled",
61 "openai.SparklesFilled",
62 ],
63 },
64 {
65 title: "Speed",
66 value: "",
67 icons: ["openai.Flash", "openai.Flash", "openai.Flash"],
68 },
69 {
70 title: "Codex CLI & SDK",
71 value: true,
72 },
73 { title: "Codex app & IDE extension", value: true },
74 {
75 title: "Codex Cloud",
76 value: false,
77 },
78 { title: "ChatGPT Credits", value: true },
79 { title: "API Access", value: true },
80 ],
81 }}
82/>
83
84<ModelDetails
85 client:load
86 name="gpt-5.4-mini"
87 slug="gpt-5.4-mini"
88 wallpaperUrl="/images/api/models/gpt-5-mini.jpg"
89 description="Fast, efficient mini model for responsive coding tasks and subagents."
90 data={{
91 features: [
92 {
93 title: "Capability",
94 value: "",
95 icons: [
96 "openai.SparklesFilled",
97 "openai.SparklesFilled",
98 "openai.SparklesFilled",
99 ],
100 },
101 {
102 title: "Speed",
103 value: "",
104 icons: ["openai.Flash", "openai.Flash", "openai.Flash", "openai.Flash"],
105 },
106 {
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 or API-key authentication. Use `gpt-5.4-mini` when you want a
209 faster, lower-cost option for lighter coding tasks or subagents. The
210 `gpt-5.3-codex-spark` model is available in research preview for ChatGPT Pro
211 subscribers and is optimized for near-instant, real-time coding iteration.
55 212
56## Alternative models213## Alternative models
57 214
58215<div class="not-prose grid gap-4 md:grid-cols-2 xl:grid-cols-3">
59216 <ModelDetails
60217gpt-5.2-codex client:load
61218 name="gpt-5.2"
62219Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex. slug="gpt-5.2"
63220 description="Previous general-purpose model for coding and agentic tasks, including hard debugging tasks that benefit from deeper deliberation."
64221codex -m gpt-5.2-codex collapsible
65222 data={{
66223Copy command features: [
67224 {
68225Show details title: "Capability",
69226 value: "",
70227 icons: [
71228 "openai.SparklesFilled",
72229gpt-5.2 "openai.SparklesFilled",
73230 "openai.SparklesFilled",
74231Our best general agentic model for tasks across industries and domains. "openai.SparklesFilled",
75232 ],
76233codex -m gpt-5.2 },
77234 {
78235Copy command title: "Speed",
79236 value: "",
80237Show details icons: ["openai.Flash", "openai.Flash", "openai.Flash"],
81238 },
82239 {
83240 title: "Codex CLI & SDK",
84241gpt-5.1-codex-max value: true,
85242 },
86243Optimized for long-horizon, agentic coding tasks in Codex. { title: "Codex app & IDE extension", value: true },
87244 {
88245codex -m gpt-5.1-codex-max title: "Codex Cloud",
89246 value: false,
90247Copy command },
91248 { title: "ChatGPT Credits", value: true },
92249Show details { title: "API Access", value: true },
93250 ],
94251 }}
95252 />
96253gpt-5.1
97254 </div>
98Great for coding and agentic tasks across domains. Succeeded by GPT-5.2.
99
100codex -m gpt-5.1
101
102Copy command
103
104Show details
105
106
107
108gpt-5.1-codex
109
110Optimized for long-running, agentic coding tasks in Codex. Succeeded by GPT-5.1-Codex-Max.
111
112codex -m gpt-5.1-codex
113
114Copy command
115
116Show details
117
118
119
120gpt-5-codex
121
122Version of GPT-5 tuned for long-running, agentic coding tasks. Succeeded by GPT-5.1-Codex.
123
124codex -m gpt-5-codex
125
126Copy command
127
128Show details
129
130
131
132gpt-5-codex-mini
133
134Smaller, more cost-effective version of GPT-5-Codex. Succeeded by GPT-5.1-Codex-Mini.
135
136codex -m gpt-5-codex
137
138Copy command
139
140Show details
141
142
143
144gpt-5
145
146Reasoning model for coding and agentic tasks across domains. Succeeded by GPT-5.1.
147
148codex -m gpt-5
149
150Copy command
151
152Show details
153 255
154## Other models256## Other models
155 257
156258Codex works best with the models listed above.When you sign in with ChatGPT, Codex works best with the models listed above.
157 259
158You 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.260You 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.
159 261
166 268
167The 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.269The 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.
168 270
271```toml
272model = "gpt-5.5"
169```273```
170274model = "gpt-5.2"
171275```If `gpt-5.5` isn't available in your account yet, use `gpt-5.4`.
172 276
173### Choosing a different local model temporarily277### Choosing a different local model temporarily
174 278
177To 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:281To 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:
178 282
179```bash283```bash
180284codex -m gpt-5.3-codexcodex -m gpt-5.5
181```285```
182 286
183### Choosing your model for cloud tasks287### Choosing your model for cloud tasks