Breaking model
14 OpenAI models shut down July 23, 2026, including gpt-5-chat-latest and the gpt-5, gpt-5.1 and gpt-5.2 codex models
What changes
Announced April 22, 2026. Shut down July 23, 2026 — computer-use-preview(-2025-03-11), gpt-4o-search-preview-2025-03-11, gpt-4o-mini-search-preview-2025-03-11, gpt-5-chat-latest, gpt-5.1-chat-latest, gpt-5-codex, gpt-5.1-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5.2-codex, gpt-audio-mini-2025-10-06, gpt-realtime-mini-2025-10-06, o3-deep-research(-2025-06-26), o4-mini-deep-research(-2025-06-26). Substitutes are gpt-5.6-terra for computer-use-preview, the two search previews and gpt-5.1-codex-mini; gpt-audio-1.5 for gpt-audio-mini-2025-10-06; gpt-realtime-2.1-mini for gpt-realtime-mini-2025-10-06; gpt-5.6-sol for the rest.
Breaking: Calls fail after this date.
What to do
Switch to the substitute listed per model; coding-agent configs that pinned a codex model are the most likely place these hide.
Strings to search for
gpt-5-chat-latestgpt-5.1-chat-latestgpt-5-codexgpt-5.1-codexgpt-5.2-codexcomputer-use-previewgpt-4o-search-preview-2025-03-11gpt-4o-mini-search-preview-2025-03-11o3-deep-researcho4-mini-deep-researchgpt-audio-mini-2025-10-06gpt-realtime-mini-2025-10-06