OpenAI
gpt-5-mini-2025-08-07 model retirement
Stops workingSubscribe to OpenAIShare
On December 11, 2026, the model gpt-5-mini-2025-08-07 will be shut down. Any API calls requesting model gpt-5-mini-2025-08-07 will fail after this date.
The error you get from December 11, 2026
What OpenAI answers a call to gpt-5-mini-2025-08-07 once the model is gone, as recorded from real responses:
{"error":{"message":"The model `gpt-5-mini-2025-08-07` 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-5-mini-2025-08-07
Move to gpt-5.6-terra, which is recommended by OpenAI as the replacement.
In OpenAI's words
Shutdown date: Dec 11, 2026; Model / system: gpt-5-mini | gpt-5-mini-2025-08-07; Recommended replacement: gpt-5.6-terra
Facts
- API
- OpenAI
api.openai.com - Model
gpt-5-mini-2025-08-07- Kind
- Model retirement
- Takes effect
- December 11, 2026
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does gpt-5-mini-2025-08-07 shut down?
Calls to the model gpt-5-mini-2025-08-07 on OpenAI stop working on December 11, 2026.
What happens to calls after December 11, 2026?
They fail from that day.
What error does gpt-5-mini-2025-08-07 return once it is shut down?
OpenAI answers HTTP 404: "The model `gpt-5-mini-2025-08-07` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from OpenAI 10
-
gpt-5Model retirement Stops workingin 35 days -
gpt-5-2025-08-07Model retirement Stops workingin 35 days -
gpt-5-miniModel retirement Stops workingin 35 days -
gpt-5-nanoModel retirement Stops workingin 35 days -
gpt-5-nano-2025-08-07Model retirement Stops workingin 35 days -
gpt-5-proModel retirement Stops workingin 35 days -
gpt-5-pro-2025-10-06Model retirement Stops workingin 35 days -
o3Model retirement Stops workingin 35 days -
o3-2025-04-16Model retirement Stops workingin 35 days -
o3-proModel retirement Stops workingin 35 days
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix before December 11, 2026.