OpenAI shuts down GPT-5, GPT-5 mini, GPT-5 nano, GPT-5 pro, o3 and o3-pro in its API on December 11, 2026. Each one has a recommended GPT-6 replacement: gpt-6.1-sol for GPT-5, o3 and the two pro models, gpt-6.1-terra for GPT-5 mini, and gpt-6-luna for GPT-5 nano. For GPT-5, o3, GPT-5 mini and GPT-5 nano, the replacement has a higher list price on input, output or both, and the biggest jump is GPT-5 mini, where the input price goes up four times. This guide covers the dates, what each model maps to, what the prices say, and how to test the replacement on your own work before you switch.
The dates that matter
OpenAI gave notice on June 11, 2026. According to its deprecations page, the six models and their dated snapshots stop accepting requests in the standard API on December 11, 2026. Fine-tuned versions of these models follow the same schedule as their base models.
To check dates from code, OpenAI's List models endpoint (GET /v1/models) returns an optional shutdown_date field for each model.
Search your code and configs for every place a retiring model id appears, including fallbacks, batch jobs and evaluation scripts. A fallback that points at a retired model fails at exactly the moment you need it.
This guide covers OpenAI's own API. OpenAI models on Microsoft Azure and Amazon Bedrock are billed through those services, so check their pages for dates and prices. OpenAI's deprecations page also says that in some cases developers may be able to provision dedicated capacity for continued access after a shutdown date, through its sales team.
What each model maps to
OpenAI's deprecations page names one replacement per model. GPT-5 and o3 move to gpt-6.1-sol. GPT-5 pro and o3-pro also move to gpt-6.1-sol, with reasoning.mode set to pro in the Responses API. GPT-5 mini moves to gpt-6.1-terra, and GPT-5 nano moves to gpt-6-luna.
OpenAI's pricing page also lists newer models such as gpt-6.2-sol, at the same standard list price as gpt-6.1-sol, but the deprecations page doesn't name it as a replacement for GPT-5 or o3. It is a candidate to test, not a drop-in swap.
What the list prices say
Here are OpenAI's standard list prices per million input and output tokens for prompts up to 272K input tokens, as of November 30, 2026. GPT-5 is $1.25 and $10; gpt-6.1-sol is $2 and $10, so input costs 60% more and output costs the same. o3 is $2 and $8, so on gpt-6.1-sol input costs the same and output costs 25% more. GPT-5 mini is $0.25 and $2; gpt-6.1-terra is $1 and $5, four times the input price and two and a half times the output price. GPT-5 nano is $0.05 and $0.40; gpt-6-luna is $0.10 and $0.50.
Source: OpenAI deprecations and pricing pages. Input prices and the pro models are in the text; OpenAI doesn't list a separate price for pro mode.
Cached input on gpt-6.1-sol is $0.10 per million tokens, below GPT-5's $0.125 and o3's $0.50, so workloads that reuse long prompts may see less of the increase. Prompts over 272K input tokens cost more on the GPT-6 models: gpt-6.1-sol is $4 and $15 at that length. Batch prices are half the standard rate for both the retiring models and their replacements.
GPT-5 pro lists at $15 and $120, and o3-pro at $20 and $80. Both move to gpt-6.1-sol with pro reasoning mode, which OpenAI's pricing page doesn't price separately, so confirm what pro mode bills before you compare.
A list price is only part of the picture. A newer model may answer in fewer tokens, need fewer retries, or get more tasks right the first time. It may also write longer answers or reason for longer. The number that decides the switch is cost per successful task on your own traffic, and no pricing page can tell you that.
How to test the replacement on your own work
OpenAI's deprecations page gives the same starting point: run representative requests against both models and compare outputs, latency and cost before you switch production traffic. Start with a sample of recent production requests that covers each kind of task the workflow handles, along with the outputs your team accepted or corrected.
Write down what a correct answer means for each task, in the words of the people who check the work. A support lead or an analyst knows which mistakes cost money, and the test should score those mistakes.
Replay the sample through the current model and the replacement with the same prompts, and score both against that definition. For each model, record the share of tasks that pass, tokens in and out per request, latency, and total spend. Divide the spend by the number of tasks that passed. That is your cost per successful task, and it can favor the model with the higher token price.
Keep a held-out slice that you never tune prompts against, so a better score means the model is actually better. If you also rewrite prompts for the new model, test the prompt change and the model change separately so you know which one moved the score.
Test more than one candidate. If gpt-6.1-terra costs more than the workflow can carry, put gpt-6-luna, another provider's model, or a smaller model trained on your team's own examples through the same test.
Plan the switch before the deadline
Run the test while the old model still answers. Once it shuts down, you lose the baseline you are comparing against. Move traffic in stages, keep a fallback to a model that isn't retiring, and watch pass rate and cost per task for the first few weeks after the switch.
How Orchestra handles model changes
Orchestra is one platform that measures, tests and improves the AI running in your product. Your definition of good becomes evals. Options are benchmarked on your product's real work, and each change arrives as a recommendation with the evidence attached.
You approve the change and it goes live as a policy. Every policy is logged and reversible, and its results are measured again.
When do GPT-5 and o3 shut down?
OpenAI's deprecations page lists December 11, 2026 as the API shutdown date for gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, o3 and o3-pro, including their dated snapshots. OpenAI gave notice on June 11, 2026. Fine-tuned versions of these models follow the same schedule as their base models.
What replaces GPT-5 and o3?
OpenAI names gpt-6.1-sol for both. GPT-5 pro and o3-pro also move to gpt-6.1-sol, with reasoning.mode set to pro in the Responses API. GPT-5 mini moves to gpt-6.1-terra, and GPT-5 nano moves to gpt-6-luna.
How much does GPT-6.1 Sol cost?
As of November 30, 2026, OpenAI lists gpt-6.1-sol at $2 per million input tokens and $10 per million output tokens for prompts up to 272K input tokens, and $4 and $15 for longer prompts. Cached input is $0.10 per million tokens, and Batch is $1 and $5. GPT-5 lists at $1.25 and $10, and o3 at $2 and $8. Check OpenAI's pricing page before you budget.
What does GPT-6.1 Sol cost in pro mode?
OpenAI's pricing page doesn't list a separate price for gpt-6.1-sol with reasoning.mode set to pro. GPT-5 pro lists at $15 and $120 per million input and output tokens, and o3-pro at $20 and $80. Measure what pro mode bills on a sample of your own requests before you compare.
Will my GPT-5 prompts work on GPT-6.1 Sol?
Don't assume they will. Replay a sample of real requests through both models with the same prompts, score both against your own definition of a correct answer, and only then switch traffic.