All times Eastern (ET)Provider pages checked daily at

Migrating from gpt-5-codex to gpt-5.1-codex

What changes when you move from gpt-5-codex to gpt-5.1-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.1-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-codexgpt-5.1-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%

Features and parameters

Compare models

Same on both

  • Structured outputs: supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Function calling: supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Prompt caching: supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Batch API: not supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Image input: supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Reasoning / thinking: supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Fine-tuning: not supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source
  • Built-in web search: supported on both.gpt-5-codex: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex: in place when tracking began (October 6, 2026) · source

Not published for gpt-5-codex: PDF input, temperature parameter, top_p parameter, logprobs.

Not published for gpt-5.1-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-codexMicrosoft Foundryversion 2025-09-15gpt-5-codexMar 17, 2027Active153 days
gpt-5.1-codexMicrosoft Foundryversion 2025-11-13gpt-5.1-codexMay 15, 2027Active212 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-codex to gpt-5.1-codex.

Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: gpt-5-codex, gpt-5.1-codex.