models.md +39 −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.3-codex
34 32
3533Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users.Industry-leading coding model for complex software engineering. Its coding capabilities now also power GPT-5.4.
36 34
3735codex -m gpt-5.3-codex-sparkcodex -m gpt-5.3-codex
38 36
39Copy command37Copy command
40 38
52 50
53API Access51API Access
54 52
5553
56 54
5755gpt-5.2-codexgpt-5.3-codex-spark
58 56
5957Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex.Text-only research preview model optimized for near-instant, real-time coding iteration. Available to ChatGPT Pro users.
60 58
6159codex -m gpt-5.2-codexcodex -m gpt-5.3-codex-spark
62 60
63Copy command61Copy command
64 62
76 74
77API Access75API Access
78 76
7977For 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,
8078ChatGPT-authenticated Codex sessions in the Codex app, CLI, IDE extension, andreasoning, native computer use, and broader professional workflows in one
8179Codex Cloud. API access for GPT-5.3-Codex will come soon. Themodel. The `gpt-5.3-codex-spark` model is available in research preview for
8280gpt-5.3-codex-spark model is available in research preview for ChatGPT ProChatGPT Pro subscribers and is optimized for near-instant, real-time coding
8381subscribers.iteration.
84 82
85## Alternative models83## Alternative models
86 84
8785
86
87gpt-5.2-codex
88
89Advanced coding model for real-world engineering. Succeeded by GPT-5.3-Codex.
90
91codex -m gpt-5.2-codex
92
93Copy command
94
95Show details
96
97
88 98
89gpt-5.299gpt-5.2
90 100
91101Our 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 102
93codex -m gpt-5.2103codex -m gpt-5.2
94 104
96 106
97Show details107Show details
98 108
99109
100 110
101gpt-5.1-codex-max111gpt-5.1-codex-max
102 112
108 118
109Show details119Show details
110 120
111121
112 122
113gpt-5.1123gpt-5.1
114 124
120 130
121Show details131Show details
122 132
123133
124 134
125gpt-5.1-codex135gpt-5.1-codex
126 136
132 142
133Show details143Show details
134 144
135145
136 146
137gpt-5-codex147gpt-5-codex
138 148
144 154
145Show details155Show details
146 156
147157
148 158
149gpt-5-codex-mini159gpt-5-codex-mini
150 160
156 166
157Show details167Show details
158 168
159169
160 170
161gpt-5171gpt-5
162 172
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.194The 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 195
186```196```
187197model = "gpt-5.2"model = "gpt-5.4"
188```198```
189 199
190### Choosing a different local model temporarily200### 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:204To 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 205
196```bash206```bash
197207codex -m gpt-5.3-codexcodex -m gpt-5.4
198```208```
199 209
200### Choosing your model for cloud tasks210### Choosing your model for cloud tasks