---
title: "gpt-5.2-codex Retired Jul 23, 2026: Replace With gpt-5.6-sol"
description: "gpt-5.2-codex retired on July 23, 2026. Replacement: gpt-5.6-sol. Since.dev lists the source and when it last checked."
canonical_url: https://since.dev/calendar/openai/gpt-5.2-codex
last_updated: 2026-12-05
---

# gpt-5.2-codex retired on July 23, 2026

AI model

- **Date:** July 23, 2026 (UTC)
- **Replacement:** `gpt-5.6-sol`
- **Provider:** [OpenAI](https://since.dev/calendar/openai.md)
- **Last checked:** Dec 6, 2026

gpt-5.2-codex

Retired July 23, 2026

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:** April 22, 2026
- **Stops working:** July 23, 2026

## 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](https://developers.openai.com/api/docs/guides/prompt-guidance-gpt-5p6)
- When you switch model families, the API omits incompatible reasoning from the model's context, even when reasoning.context is all_turns. [Source](https://developers.openai.com/api/docs/guides/reasoning?api-mode=responses)
- 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](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.6-sol)

## Also in July 2026

[Every AI model and API retirement in July 2026, on every provider and cloud](https://since.dev/calendar/months/2026-07.md)

## 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](https://developers.openai.com/api/docs/deprecations)

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

[Add to your calendar](webcal://api.since.dev/v1/calendar.ics?provider=openai) · [iCal file](https://api.since.dev/v1/calendar.ics?provider=openai) · [RSS](https://api.since.dev/v1/calendar.rss?provider=openai)

## More from OpenAI

- Dec 8, 2026 · [gpt-chat-latest-2026-05-28 on Microsoft Foundry](https://since.dev/calendar/openai/gpt-chat-latest-2026-05-28/azure.md) · OpenAI · AI model
- Dec 11, 2026 · [gpt-5-2025-08-07](https://since.dev/calendar/openai/gpt-5-2025-08-07.md) · OpenAI · AI model · replace with gpt-6.2-sol
- Dec 11, 2026 · [gpt-5-pro-2025-10-06](https://since.dev/calendar/openai/gpt-5-pro-2025-10-06.md) · OpenAI · AI model · replace with gpt-6.2-sol (reasoning.mode: pro) in the Responses API
- Dec 11, 2026 · [gpt-5-mini-2025-08-07](https://since.dev/calendar/openai/gpt-5-mini-2025-08-07.md) · OpenAI · AI model · replace with gpt-6.1-terra

## Put your code on continuous maintenance.

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

[Scan a repository](https://since.dev/scan.md). 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`

[Get an API key](https://app.since.dev/login?mode=signup)

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

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
