OpenAI sets a date to retire GPT-4o and GPT-4.1 in its API
Developers have until 14 January 2027 to move off several GPT-4 series models. Here is what to check in your code now.
If your app still calls an older OpenAI model, you now have a deadline. On 14 October, OpenAI notified developers that certain GPT-4 series models will be removed from its API on 14 January 2027.
What we know
OpenAI's deprecations page says it notified developers on 14 October and that the removal date is 14 January 2027. The notice is about the API. The page does not mention ChatGPT.
Third-party coverage says the affected models include GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini, and that fine-tuned versions follow the same shutdown date as their base models (DEV Community, Shelly Palmer). Those outlets also name GPT-6 Luna as the suggested replacement. We could not read the full model table on OpenAI's page, so check it for your exact model names before you plan anything.
Not every older model shares that date. Some very old GPT-4 snapshots have earlier shutdown dates on other lists, so do not assume one deadline fits everything.
What to check now
- Search your code for model names like
gpt-4oandgpt-4.1, including dated snapshots such asgpt-4o-2024-08-06. - Check fine-tunes. If you trained on top of one of these models, plan a retrain on a newer base.
- Look at config and env files, not just source code. Model names often hide there.
- Test the replacement against your real prompts. A newer model can change tone, format and cost.
Why this keeps happening
AI models are not like libraries you can pin forever. Providers retire them on a schedule, and your product breaks the day the old name stops working. About three months of notice is enough time, but only if you start before December.
The takeaway
Put the date in your calendar, grep for the model names this week, and test a replacement before the holidays. A model swap is easy now and painful on 13 January.
Sources: OpenAI deprecations, DEV Community, Shelly Palmer.