Migrating from gpt-5.1-codex to gpt-5.2-codex
What changes when you move from gpt-5.1-codex to gpt-5.2-codex: prices, limits, features and parameters, read from each company's own pages.
- From
- gpt-5.1-codex
- Status
- Retired
- Shutdown
- Jul 23, 2026
- Time left
- —
- Status
- Retired
- Shutdown
- Jul 23, 2026
- Time left
- —
gpt-5.2-codex is itself retired. Its replacement is gpt-5.6-sol.
Prices
USD per 1M tokens, standard tierNeither model has published per-token prices.
Limits
Tokens| Limit | gpt-5.1-codex | gpt-5.2-codex | Change |
|---|---|---|---|
| Context window | 400,000 tokensin place when tracking began (October 6, 2026) · source | 400,000 tokensin place when tracking began (October 6, 2026) · source | 0% |
| Max output tokens | 128,000 tokensin place when tracking began (October 6, 2026) · source | 128,000 tokensin place when tracking began (October 6, 2026) · source | 0% |
Benchmarks
Same benchmark, source and setting on both sides| Benchmark | gpt-5.1-codex | gpt-5.2-codex | Change |
|---|---|---|---|
| Arena WebDevArena. | 1337 ±12 | 1338 ±9 | +1 within range |
A score from one source is never compared with another source's, and company-reported scores are compared only within the same company; settings named where they differ. Data: Arena (arena.ai), CC BY 4.0.
Features and parameters
Compare modelsSame on both
- Structured outputs: supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Function calling: supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Prompt caching: supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Batch API: not supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Image input: supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Reasoning / thinking: supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Fine-tuning: not supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
- Built-in web search: supported on both.gpt-5.1-codex: in place when tracking began (October 6, 2026) · source · gpt-5.2-codex: in place when tracking began (October 6, 2026) · source
Not published for gpt-5.1-codex: PDF input, temperature parameter, top_p parameter, logprobs.
Not published for gpt-5.2-codex: PDF input, temperature parameter, top_p parameter, logprobs.
Aliases
All aliasesNo aliases point at either model.
On cloud platforms
All platform dates| Model | Platform | Platform ID | Shutdown | Time left |
|---|---|---|---|---|
| gpt-5.1-codex | Microsoft Foundryversion 2025-11-13 | gpt-5.1-codex | May 15, 2027Active | 212 days |
| gpt-5.2-codex | Microsoft Foundryversion 2026-01-14 | gpt-5.2-codex | Jul 13, 2027Active | 271 days |
Read daily from each platform's own pages. The status above uses each company's own date. Time left counts to 00:00 UTC on the shutdown date, which is the evening before in ET.
Checklist
- Change the model string from
gpt-5.1-codextogpt-5.2-codex.
Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: gpt-5.1-codex, gpt-5.2-codex.