The error you get from January 14, 2027
What OpenAI answers a call to gpt-4o once the model is gone, as recorded from real responses:
{"error":{"message":"The model `gpt-4o` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations","type":"invalid_request_error","param":null,"code":"model_not_found"}}
What to use instead of gpt-4o
Move to gpt-6-luna, which OpenAI recommends as the replacement.
In OpenAI's words
Shutdown date: Jan 14, 2027; Affected model: GPT-4o ( gpt-4o-2024-08-06 , gpt-4o-2024-11-20 ); Status: Deprecated; Recommended replacement: gpt-6-luna; Notice date: Oct 14, 2026
Facts
- API
- OpenAI
api.openai.com - Model
gpt-4o- Released
- May 13, 2024 (models.dev)
- Kind
- Model retirement
- Takes effect
- January 14, 2027
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does gpt-4o shut down?
Calls to the model gpt-4o on OpenAI stop working on January 14, 2027.
What happens to calls after January 14, 2027?
They fail from that day.
What error does gpt-4o return once it is shut down?
OpenAI answers HTTP 404: "The model `gpt-4o` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
When was gpt-4o released?
gpt-4o was released on May 13, 2024, according to models.dev.
gpt-4o on other APIs 2
More from OpenAI 10
| Effective | Model | Status |
|---|---|---|
gpt-4.1 | stops working | |
gpt-4.1-2025-04-14 | stops working | |
gpt-4.1-mini | stops working | |
gpt-4.1-mini-2025-04-14 | stops working | |
gpt-4o-2024-08-06 | stops working | |
gpt-4o-2024-11-20 | stops working | |
gpt-4o-mini | stops working | |
gpt-4o-mini-2024-07-18 | stops working | |
gpt-4o-audio | stops working | |
gpt-4o-mini-audio | stops working |