~15 OpenAI models retire on July 23, 2026 — including five Codex models

On July 23, 2026, OpenAI shuts down about 15 models in a single batch — and five of them are Codex coding models. If you call any of these in production, the endpoint stops responding on that date. Here's the full list, with the exact model IDs and the replacement OpenAI recommends for each.

These aren't obscure snapshots. The batch includes gpt-5-codex and the whole gpt-5.1-codex / gpt-5.2-codex family, the *-chat-latest aliases, computer-use-preview, the GPT-4o search / audio / realtime mini variants, and the deep-research models. If one of them is wired into a coding assistant, an agent, or a background job, it will simply stop working on the shutdown date — usually with no error you'd catch in advance.

The Codex models retiring July 23

Sorted with the coding models first, since that's what most teams will feel. Days left updates live.

Retires Days left Model Migrate to (OpenAI's recommendation)
2026-07-23gpt-5-codexgpt-5.5
2026-07-23gpt-5.1-codexgpt-5.5
2026-07-23gpt-5.1-codex-maxgpt-5.5
2026-07-23gpt-5.1-codex-minigpt-5.4-mini
2026-07-23gpt-5.2-codexgpt-5.5
2026-07-23gpt-5-chat-latestgpt-5.5
2026-07-23gpt-5.1-chat-latestgpt-5.5
2026-07-23computer-use-preview-2025-03-11gpt-5.4-mini
2026-07-23gpt-4o-search-preview-2025-03-11gpt-5.4-mini
2026-07-23gpt-4o-mini-search-preview-2025-03-11gpt-5.4-mini
2026-07-23gpt-4o-mini-tts-2025-03-20gpt-4o-mini-tts-2025-12-15
2026-07-23gpt-audio-mini-2025-10-06gpt-audio-1.5
2026-07-23gpt-realtime-mini-2025-10-06gpt-realtime-mini
2026-07-23o3-deep-research-2025-06-26gpt-5.5-pro
2026-07-23o4-mini-deep-research-2025-06-26gpt-5.5-pro

Source: OpenAI deprecations. Replacements above are the ones OpenAI lists on that page. Note that OpenAI's current generation is now gpt-5.6 (gpt-5.6-sol / -terra / -luna) — if you're migrating anyway, it's worth testing against that rather than only the like-for-like replacement.

If you use a Codex model, do this before the 23rd

Migrating LLM models is rarely a pure drop-in — output format, tone, and tool-calling behavior can shift, so test before you cut over:

  • Coding models (gpt-5-codex, gpt-5.1-codex, gpt-5.1-codex-max, gpt-5.2-codex) → gpt-5.5; gpt-5.1-codex-minigpt-5.4-mini.
  • *-chat-latest aliasesgpt-5.5.
  • Deep-research (o3-deep-research, o4-mini-deep-research) → gpt-5.5-pro.
  • Search / computer-use previewsgpt-5.4-mini.
  • Audio / realtime / TTS mini → the newer gpt-audio-1.5 / gpt-realtime-mini / dated TTS snapshot.

This is one batch on one date. Providers add new retirement dates constantly, across OpenAI, Anthropic, and Google — rather than re-checking three deprecation pages by hand, watch the exact models you use and get an email before they retire.

Check the live Model Deprecation Radar →

Want the full picture, not just this batch? See every OpenAI, Anthropic & Google model with a 2026 retirement date, or subscribe on the radar to the exact models you call and we'll email you before they shut down.