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, usually with no error you'd catch in advance. Here's the full list with exact model IDs and OpenAI's recommended replacement for each.
The models retiring July 23, 2026
| Model | Migrate to (OpenAI's rec) |
|---|---|
gpt-5-codex |
gpt-5.5 |
gpt-5.1-codex |
gpt-5.5 |
gpt-5.1-codex-max |
gpt-5.5 |
gpt-5.1-codex-mini |
gpt-5.4-mini |
gpt-5.2-codex |
gpt-5.5 |
gpt-5-chat-latest |
gpt-5.5 |
gpt-5.1-chat-latest |
gpt-5.5 |
computer-use-preview-2025-03-11 |
gpt-5.4-mini |
gpt-4o-search-preview-2025-03-11 |
gpt-5.4-mini |
gpt-4o-mini-search-preview-2025-03-11 |
gpt-5.4-mini |
gpt-4o-mini-tts-2025-03-20 |
gpt-4o-mini-tts-2025-12-15 |
gpt-audio-mini-2025-10-06 |
gpt-audio-1.5 |
gpt-realtime-mini-2025-10-06 |
gpt-realtime-mini |
o3-deep-research-2025-06-26 |
gpt-5.5-pro |
o4-mini-deep-research-2025-06-26 |
gpt-5.5-pro |
Source: OpenAI deprecations. Migrations are rarely pure drop-ins — output format, tone, and tool-calling behavior can shift, so test before you cut over. Note OpenAI's current generation is now gpt-5.6 (gpt-5.6-sol / -terra / -luna) — worth testing against if you're migrating anyway.
Don't get caught out by the next one
This is one batch on one date. OpenAI, Anthropic, and Google add new retirement dates constantly. Rather than re-checking three deprecation pages by hand, I built a free radar that tracks all three — exact model IDs, shutdown dates, days left, and replacements. No signup: chirppal.com/radar — subscribe to the exact models you use and get an email before they retire.
Top comments (0)