gpt-4o
gpt-4o retires on 14 Jan 2027 on OpenAI API. Official source*
Calls to gpt-4o fail with an error, so every feature that uses it stops working.
Recommended replacementgpt-6-luna
OpenAI lists only the dated snapshots this name points to; they all shut down on this date.
Where and when
| Platform | Change | Date | Time left | Replacement |
|---|---|---|---|---|
| OpenAI API | Retires | 14 Jan 2027* | 46 days | gpt-6-luna |
| Azure OpenAI | Retires | 14 Apr 2027 | 136 days | gpt-5.1 |
What to do before the date
1. Find every place your code uses it
Paste a public GitHub repository. The free scan lists each file and line that uses gpt-4o, and every other AI model and API with a date. No sign-up, and your code is deleted when the scan ends.
2. Test gpt-6-luna on your own prompts first
A newer model can answer differently: longer, shorter, or in a format your code no longer parses. Replay your real prompts on both and compare, on your own API key, with the free open-source CLI or GitHub Action:
ai-change-guard replay --set golden.jsonl --old openai:gpt-4o --new openai:gpt-6-luna
3. Get a warning before the next one
Install the GitHub App on your repositories: every pull request is checked, and you get an email before each model you use changes. Install free · Have the switch tested for you
Other OpenAI changes coming up
- OpenAI Evals platform and API30 Nov 2026 1 day
- OpenAI Reusable Prompts API (/v1/prompts)30 Nov 2026 1 day
- chatgpt-image-latest1 Dec 2026 2 days
- gpt-image-1-mini1 Dec 2026 2 days
- gpt-image-1.51 Dec 2026 2 days
- gpt-image-1.5-2025-12-161 Dec 2026 2 days
Get the weekly deadline digest
Every Monday: the AI model and API changes coming up, each with the provider's own notice. One click to unsubscribe, and we delete your address.
* Date from a provider page or news report, not yet checked against the official page.