gpt-5.2-codex retired on July 23, 2026

AI model

Date
(UTC)
Replacement
gpt-5.6-sol
Provider
OpenAI
Last checked

gpt-5.2-codex

Retired

In its place: gpt-5.6-sol

since.dev/calendar/openai/gpt-5.2-codex

What changes

Deprecated on 2026-04-22. Recommended replacement: gpt-5.6-sol. Announced on 2026-04-22.

Deprecated
Stops working

What works differently on gpt-5.6-sol

From its documentation. Moving to it is more than a new model ID.

  • The response includes a reasoning.context field that shows the effective reasoning context mode. To keep the old behavior: check the response's reasoning.context field to confirm the effective mode. Source
  • When you switch model families, the API omits incompatible reasoning from the model's context, even when reasoning.context is all_turns. Source
  • When migrating from GPT-5.5 or earlier, prompt_cache_retention is replaced with prompt_cache_options.ttl. To keep the old behavior: replace prompt_cache_retention with prompt_cache_options.ttl set to "30m". Source

Also in July 2026

Every AI model and API retirement in July 2026, on every provider and cloud

Questions

When does gpt-5.2-codex retire?
gpt-5.2-codex retired on July 23, 2026.
Can I still use gpt-5.2-codex?
No. It retired on July 23, 2026.
What replaces gpt-5.2-codex?
Its provider names gpt-5.6-sol. Moving to it is more than a new model ID: its documentation lists 3 differences, on this page.

Source

developers.openai.com

July 23, 2026 | gpt-5.2-codex | gpt-5.6-sol

Does your code use it?

Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.

Public repository. No sign-in.

A warm wave of orange and red light over deep blue

Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

See how out of date your code is.

Any public GitHub repository. No sign-in.

Tell your agent what changed since it was trained.

claude mcp add --transport http since https://api.since.dev/mcp

Codex, Cursor and any MCP client use https://api.since.dev/mcp.