models.md +54 −72
2 2
3## Recommended models3## Recommended models
4 4
55
6 6
77gpt-5.3-codexgpt-5.5
8 8
99Most capable agentic coding model to date, combining frontier coding performance with stronger reasoning and professional knowledge capabilities.OpenAI's newest frontier model for complex coding, computer use, knowledge work, and research workflows in Codex.
10 10
1111codex -m gpt-5.3-codexcodex -m gpt-5.5
12 12
13Copy command13Copy command
14 14
26 26
27API Access27API Access
28 28
2929
30 30
3131gpt-5.3-codex-sparkgpt-5.4
32 32
3333Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users.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-codex-sparkcodex -m gpt-5.4
36 36
37Copy command37Copy command
38 38
50 50
51API Access51API Access
52 52
5353
54 54
5555gpt-5.2-codexgpt-5.4-mini
56 56
5757Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex.Fast, efficient mini model for responsive coding tasks and subagents.
58 58
5959codex -m gpt-5.2-codexcodex -m gpt-5.4-mini
60 60
61Copy command61Copy command
62 62
74 74
75API Access75API Access
76 76
7777For most coding tasks in Codex, start with gpt-5.3-codex. It is available for
78ChatGPT-authenticated Codex sessions in the Codex app, CLI, IDE extension, and
79Codex Cloud. API access for GPT-5.3-Codex will come soon. The
80gpt-5.3-codex-spark model is available in research preview for ChatGPT Pro
81subscribers.
82
83## Alternative models
84
85
86
87gpt-5.2
88
89Our best general agentic model for tasks across industries and domains.
90
91codex -m gpt-5.2
92
93Copy command
94
95Show details
96
97
98 78
9979gpt-5.1-codex-maxgpt-5.3-codex
100 80
10181Optimized 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.
102 82
10383codex -m gpt-5.1-codex-maxcodex -m gpt-5.3-codex
104 84
105Copy command85Copy command
106 86
10787Show detailsCapability
108 88
10989Speed
110 90
11191gpt-5.1Codex CLI & SDK
112 92
11393Great for coding and agentic tasks across domains. Succeeded by GPT-5.2.Codex app & IDE extension
114 94
11595codex -m gpt-5.1Codex Cloud
116 96
11797Copy commandChatGPT Credits
118 98
11999Show detailsAPI Access
120 100
121101
122 102
123103gpt-5.1-codexgpt-5.3-codex-spark
124 104
125105Optimized 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.
126 106
127107codex -m gpt-5.1-codexcodex -m gpt-5.3-codex-spark
128 108
129Copy command109Copy command
130 110
131111Show detailsCapability
132
133
134
135gpt-5-codex
136
137Version of GPT-5 tuned for long-running, agentic coding tasks. Succeeded by GPT-5.1-Codex.
138
139codex -m gpt-5-codex
140 112
141113Copy commandSpeed
142 114
143115Show detailsCodex CLI & SDK
144 116
145117Codex app & IDE extension
146 118
147119gpt-5-codex-miniCodex Cloud
148 120
149121Smaller, more cost-effective version of GPT-5-Codex. Succeeded by GPT-5.1-Codex-Mini.ChatGPT Credits
150 122
151123codex -m gpt-5-codexAPI Access
152 124
153125Copy commandFor 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.
154 134
155135Show details## Alternative models
156 136
157137
158 138
159139gpt-5gpt-5.2
160 140
161141Reasoning 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.
162 142
163143codex -m gpt-5codex -m gpt-5.2
164 144
165Copy command145Copy command
166 146
168 148
169## Other models149## Other models
170 150
171151Codex works best with the models listed above.When you sign in with ChatGPT, Codex works best with the models listed above.
172 152
173You 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.
174 154
181 161
182The 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.
183 163
164```toml
165model = "gpt-5.5"
184```166```
185167model = "gpt-5.2"
186168```If `gpt-5.5` isn't available in your account yet, use `gpt-5.4`.
187 169
188### Choosing a different local model temporarily170### Choosing a different local model temporarily
189 171
192To 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:
193 175
194```bash176```bash
195177codex -m gpt-5.3-codexcodex -m gpt-5.5
196```178```
197 179
198### Choosing your model for cloud tasks180### Choosing your model for cloud tasks