107 107
108## Alternative models108## Alternative models
109 109
110
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
122110
123 111
124gpt-5.2112gpt-5.2
125 113
126Previous general-purpose model for coding and agentic tasks across industries and domains. Succeeded by GPT-5.4.114Previous general-purpose model for coding and agentic tasks, including hard debugging tasks that benefit from deeper deliberation.
127 115
128codex -m gpt-5.2116codex -m gpt-5.2
129 117
131 119
132Show details120Show details
133 121
134
135
136gpt-5.1-codex-max
137
138Optimized for long-horizon, agentic coding tasks in Codex.
139
140codex -m gpt-5.1-codex-max
141
142Copy command
143
144Show details
145
146
147
148gpt-5.1
149
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
206## Other models122## Other models
207 123
208Codex works best with the models listed above.124When you sign in with ChatGPT, Codex works best with the models listed above.
209 125
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.126You 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 127