On December 11, 2026, OpenAI shuts down GPT-5, GPT-5 mini, GPT-5 nano, GPT-5 pro, o3 and o3-pro in its API. The shutdown was announced on June 11, 2026, and it is now less than four weeks away. OpenAI's deprecations page names a replacement for each model, and those replacements are now all GPT-6 and GPT-6.1 models.
| Shutting down | API ids | OpenAI's recommended replacement |
|---|---|---|
| GPT-5 | gpt-5, gpt-5-2025-08-07 | gpt-6.1-sol |
| o3 | o3, o3-2025-04-16 | gpt-6.1-sol |
| GPT-5 pro | gpt-5-pro, gpt-5-pro-2025-10-06 | gpt-6.1-sol with reasoning.mode: pro, in the Responses API |
| o3-pro | o3-pro, o3-pro-2025-06-10 | gpt-6.1-sol with reasoning.mode: pro, in the Responses API |
| GPT-5 mini | gpt-5-mini, gpt-5-mini-2025-08-07 | gpt-6.1-terra |
| GPT-5 nano | gpt-5-nano, gpt-5-nano-2025-08-07 | gpt-6-luna |
The recommended replacements have changed
Until last week, our retirement calendar listed GPT-5.6 models (gpt-5.6-sol, gpt-5.6-terra and gpt-5.6-luna) as the replacements for these models. OpenAI's deprecations page now names the newer GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna instead, and we have updated the calendar. OpenAI doesn't say when it changed the recommendation. If you planned your migration from an earlier version of that page, check that you are moving to the current target.
The two "pro" models need one extra step. OpenAI's replacement for GPT-5 pro and o3-pro is GPT-6.1 Sol with the reasoning.mode: pro setting in the Responses API, so code that calls these models another way needs to change how it makes the request, not just the model name.
What the replacements cost
These are the standard prices on OpenAI's pricing page:
| Per 1M tokens (Standard tier) | Input | Cached input | Output |
|---|---|---|---|
| GPT-6.1 Sol | $2.00 | $0.10 | $10.00 |
| GPT-6.1 Terra | $1.00 | $0.05 | $5.00 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 |
OpenAI's pricing page no longer lists GPT-5, o3 or their mini, nano and pro versions, so we can't compare against an official current price for the models being shut down. Check your own invoice to see what you pay today. GPT-6.1 Sol and GPT-6 Luna also charge more for prompts over 272,000 tokens: 2× the input rate and 1.5× the output rate, for the whole request. See our long-context pricing rules.
What it does to a monthly bill
We priced the three replacements on the four workloads we use across this site, at standard rates with no caching or batch discounts.
| Workload | GPT-6.1 Sol | GPT-6.1 Terra | GPT-6 Luna |
|---|---|---|---|
| Support chatbot | $360 | $180 | $18 |
| Document summaries | $320 | $160 | $16 |
| Coding assistant | $480 | $240 | $24 |
| RAG search | $750 | $375 | $37.50 |
Reasoning models bill their thinking as output tokens, so real output counts can be much higher than the answer you see. Measure your own token counts on the new model before trusting any estimate, ours included.
How the replacements compare on price
GPT-6.1 Sol costs the same as Claude Sonnet 5.5: $2 / $10. GPT-6.1 Terra, at $1 / $5, runs the support chatbot for $180 a month. That is more than Grok 4.3 ($158) and Gemini 3.8 Flash ($135), though Gemini 3.8 Flash is scheduled to double in price on January 1, 2027. GPT-6 Luna costs the same as Claude Haiku 5.5: $0.10 / $0.50.
Price is only half of the decision. These models differ in quality, speed and context handling, so treat the numbers as a shortlist for testing, not a verdict.
Run your own numbers
The calculator below includes the three OpenAI replacements next to similarly priced models from other providers.
Start from a use case
1,000 tokens is about 750 English words. Input includes your system prompt, chat history and any retrieved documents.
What to do before December 11
- Find the model names in your code. Search for
gpt-5,gpt-5-mini,gpt-5-nano,gpt-5-pro,o3ando3-pro, including the dated snapshot names in the table above. A search forgpt-5will also match newer models such asgpt-5.3-codex, so check each match. - Move to the current replacement. Use the targets on OpenAI's deprecations page today, not ones you noted earlier in the year.
- Using a pro model? Plan for the switch to the Responses API with
reasoning.mode: pro, and test it before the deadline. - Test on your own tasks. Compare answers, speed and token counts before switching production traffic.
- Re-budget. Use cached input for repeated system prompts and the Batch API for jobs that can wait.