GPT-5, GPT-5 mini, GPT-5 nano and o3 are shut down on 11 Dec 2026
On the OpenAI API, these models and their dated snapshots stop answering on 11 Dec 2026 (OpenAI's deprecations page). Unlike a reroute, a shutdown fails loudly: every call returns an error, so a missed one takes the feature down.
What OpenAI says to switch to
| Your code uses | Replacement | Price now | Replacement price |
|---|---|---|---|
| gpt-5gpt-5-2025-08-07 | gpt-6.1-sol | $1.25 / $10.00 | $2.00 / $10.00 |
| gpt-5-minigpt-5-mini-2025-08-07 | gpt-6.1-terra | $0.25 / $2.00 | $1.00 / $5.00 |
| gpt-5-nanogpt-5-nano-2025-08-07 | gpt-6-luna | $0.05 / $0.40 | $0.10 / $0.50 |
| o3o3-2025-04-16 | gpt-6.1-sol | $2.00 / $8.00 | $2.00 / $10.00 |
| gpt-5-progpt-5-pro-2025-10-06 | gpt-6.1-sol, reasoning.mode: pro | $15.00 / $120.00 | see OpenAI's pricing |
| o3-proo3-pro-2025-06-10 | gpt-6.1-sol, reasoning.mode: pro | $20.00 / $80.00 | see OpenAI's pricing |
US dollars per million input / output tokens, from OpenAI's pricing page. For the two pro models, OpenAI's replacement is gpt-6.1-sol with reasoning.mode: pro, which is available in the Responses API only.
The suggested replacement is not always the cheapest one that works
The biggest change is gpt-5-mini: its suggested replacement, gpt-6.1-terra, costs 4 times as much per input token and 2.5 times as much per output token. If gpt-5-mini was chosen to keep costs down, test gpt-6-luna ($0.10 / $0.50) on your own prompts as well before you switch. It may do the job at a tenth of the price, or it may not; only your prompts can tell you which.
What to do before 11 December
1. Find every place your code uses them
The free scan lists each file and line, including dated snapshots and every other AI model with a date. Public GitHub repositories, no sign-up.
Or scan a private repository on your own machine:
npx ai-change-guard scan .
2. Test the replacement on your own prompts, and a cheaper one too
Replay your real prompts on the old model and on each candidate, and see which answers change or break, and what each costs. Free and open source; runs on your own OpenAI key:
OPENAI_API_KEY=... npx ai-change-guard replay --set golden.jsonl --old openai:gpt-5-mini --new openai:gpt-6.1-terra OPENAI_API_KEY=... npx ai-change-guard replay --set golden.jsonl --old openai:gpt-5-mini --new openai:gpt-6-luna
No golden set yet?
npx ai-change-guard starter . --model openai:gpt-6-luna --out golden.jsonlwrites one from the system prompts in your code, andimportbuilds one from your logs. See the README.3. Switch before the date, to the model you tested
Change the model ID in your code (and the dated snapshot IDs, which shut down the same day). The GitHub Action can open the pull request for you, with the replay report attached as proof.
4. Hear about the next one first
Next on OpenAI's list: GPT-4o and GPT-4.1 on 14 January 2027. Install the free GitHub App to get an alert before each model your code uses changes, or follow the Model Change Radar (also as RSS).
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.
Rather have the switch tested for you? We build the golden set, replay it and hand you a tested pull request. See Migration Proof.