All times Eastern (ET)Provider pages checked daily at

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.

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 tier

Neither model has published per-token prices.

Limits

Tokens
Limitgpt-5.1-codexgpt-5.2-codexChange
Context window400,000 tokensin place when tracking began (October 6, 2026) · source400,000 tokensin place when tracking began (October 6, 2026) · source0%
Max output tokens128,000 tokensin place when tracking began (October 6, 2026) · source128,000 tokensin place when tracking began (October 6, 2026) · source0%

Benchmarks

Same benchmark, source and setting on both sides
Benchmarkgpt-5.1-codexgpt-5.2-codexChange
Arena WebDevArena.1337 ±121338 ±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 models

Same 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.

No aliases point at either model.

On cloud platforms

All platform dates
ModelPlatformPlatform IDShutdownTime left
gpt-5.1-codexMicrosoft Foundryversion 2025-11-13gpt-5.1-codexMay 15, 2027Active212 days
gpt-5.2-codexMicrosoft Foundryversion 2026-01-14gpt-5.2-codexJul 13, 2027Active271 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

  1. Change the model string from gpt-5.1-codex to gpt-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.