OpenAI Shuts Down GPT-5 and o3 on December 11: A SaaS Migration Guide

Six OpenAI models stop working in nine days. OpenAI's deprecations page lists December 11, 2026 as the shutdown date for gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, o3 and o3-pro, along with each one's dated snapshot. The notice went out on June 11, so many teams have had this on a list for months. It is still easy to miss a background job, an internal tool, or a model name stored in a tenant's settings.
The replacements are not one-line swaps. They differ on which API supports tool calling, which reasoning settings they accept, how prompt caching is billed, and what they cost per token. This guide covers who is affected, what to change, how to test it, and how to roll out before the cutoff.
Which models shut down, and what replaces them
From the deprecations page, checked on December 2, 2026:
| Shutting down December 11 | Recommended replacement |
|---|---|
gpt-5, gpt-5-2025-08-07 | gpt-6.2-sol |
gpt-5-mini, gpt-5-mini-2025-08-07 | gpt-6.1-terra |
gpt-5-nano, gpt-5-nano-2025-08-07 | gpt-6-luna |
gpt-5-pro, gpt-5-pro-2025-10-06 | gpt-6.2-sol with reasoning.mode: pro, Responses API |
o3, o3-2025-04-16 | gpt-6.2-sol |
o3-pro, o3-pro-2025-06-10 | gpt-6.2-sol with reasoning.mode: pro, Responses API |
OpenAI defines a shut-down model as one that "no longer accepts requests through the standard API." The page mentions dedicated capacity through sales for continued access after a shutdown date. For most SaaS teams, that is not a realistic plan B nine days out.
This date applies to the OpenAI API. If you call OpenAI models through a cloud provider, check that provider's lifecycle page. This guide does not cover their dates.
Who is affected
You are affected if any production code, scheduled job, evaluation script or internal tool sends one of the model IDs above. The places teams commonly miss:
- Aliases. Code that sends
gpt-5oro3without a date is just as affected as code that pins the snapshot. - Stored model names. Per-tenant settings, feature flags, admin panels and database rows that hold a model string.
- Rarely run jobs. Monthly reports, backfills and re-embedding or re-summarising pipelines that nobody will notice failing until month end.
- Batch jobs. A batch submitted near the cutoff may still be running on December 11. Finish or resubmit long batches on the new model before then.
- Third-party wrappers. Agent frameworks and gateways with a default model.
Find every call before you change any
Start with data, then code.
- Usage by model. Check usage in the OpenAI platform, broken down by model, project and API key where your setup allows, to see what still sends traffic to the six models. That tells you which services to chase.
- Ask the API. The List models endpoint returns an optional
shutdown_dateon each model. OpenAI recommends checking it to monitor shutdowns. A small CI check that fails when a configured model has a shutdown date inside 60 days catches the next one early. - Search the code and config.
grep -rnE "gpt-5(-mini|-nano|-pro)?(-20[0-9]{2}-[0-9]{2}-[0-9]{2})?[\"']|[\"']o3(-pro)?(-20[0-9]{2}-[0-9]{2}-[0-9]{2})?[\"']" \
--include=*.{ts,tsx,js,mjs,py,json,yaml,yml,env.example} .
Run the same search against database exports or settings tables if model names live there. Do not stop at the first hit per service; record every call site with its owner, the API it uses (Chat Completions or Responses), and whether it uses tools.
What breaks if you only change the model ID
These come from the GPT-6.2 migration quickstart and the replacement model pages.
Tool calling needs the Responses API
GPT-6.2 Sol and GPT-6.1 Terra support Chat Completions, but tool calling requires the Responses API. GPT-6 Luna supports function calling in Chat Completions only with reasoning_effort set to none. The gpt-5, gpt-5-mini, gpt-5-nano and o3 model pages all list Chat Completions support, and many integrations use function calling there. A common failure is a gpt-5-mini support bot on Chat Completions with tools that cannot be moved to Terra without also moving to Responses.
If that is you, the API migration is the real work. Budget for it separately from the model change.
Reasoning effort values change
gpt-5 accepted minimal, low, medium and high. The reasoning guide says GPT-6.2 Sol rejects none, and the migration quickstart says to use low if you currently use none or minimal. Terra and Luna accept none through max and default to medium. If you never set effort, you now get medium by default, which may cost more and run slower than what you had.
Sampling parameters are rejected
For Chat Completions, omit temperature, top_p, logprobs and top_logprobs. For Responses, omit temperature, top_p and top_logprobs, and remove message.output_text.logprobs from include. Code that copied a temperature: 0 habit from older models needs that line removed.
Pro models become a mode
gpt-5-pro and o3-pro have no direct successor model ID. You call gpt-6.2-sol with reasoning: { mode: "pro" } in the Responses API. The reasoning guide says pro mode bills the extra model work at the selected model's standard token rates, so the cost profile is different from the flat-priced pro models.
Flex processing is not available on Sol
The Flex processing guide says Flex is unavailable on GPT-6.2 Astra and Sol. If a gpt-5 or o3 workload sends service_tier: "flex", plan for Batch or for background mode with a discounted completion window instead. Luna still lists Flex.
Prompt caching works differently
The migration quickstart says GPT-6.2 models append top-level instructions after input, and the prompt caching guide says those tokens are billed at the uncached rate even on a cache hit. Move reusable instructions into a developer message at the start of input.
Two more changes: prompt_cache_retention is replaced by prompt_cache_options.ttl ("30m" by default), and newer models charge for cache writes (1.25x input for 30 minutes, 2.5x for 12 hours) where older models did not. Our post on OpenAI's 12-hour prompt caching covers when longer retention pays for itself.
Compare costs before you commit
List prices per million tokens at Standard processing, from each model's page on December 2:
| Retiring model | Input / output | Replacement | Input / output |
|---|---|---|---|
gpt-5 | $1.25 / $10 | gpt-6.2-sol | $2 / $10 |
gpt-5-mini | $0.25 / $2 | gpt-6.1-terra | $1 / $5 |
gpt-5-nano | $0.05 / $0.40 | gpt-6-luna | $0.10 / $0.50 |
Verified list prices only. They do not tell you the cost per request, because token counts, reasoning tokens and cache hit rates all change with the model. The gap that deserves attention is gpt-5-mini to Terra: four times the input price and two and a half times the output price.
For high-volume, simple tasks that ran on gpt-5-mini (classification, extraction, short summaries), it is worth evaluating Luna as well as Terra. That is our suggestion, not OpenAI's recommendation; OpenAI points mini users at Terra. Pick per workload using the approach in our guide to routing workloads across GPT-6 models.
A step-by-step migration
1. Centralise the model ID
Before changing anything, make sure each workload reads its model from one place, such as a config value or environment variable per workload, not a string literal per call. This step makes the next retirement a config change.
2. Fix the request shape
An illustrative before and after for a gpt-5 call on Chat Completions with a tool. It was not run against the API; field names come from OpenAI's migration and reasoning guides.
// Before: gpt-5 on Chat Completions
const res = await openai.chat.completions.create({
model: "gpt-5",
reasoning_effort: "minimal",
messages: [
{ role: "system", content: SYSTEM_PROMPT },
{ role: "user", content: userText },
],
tools,
});
// After: gpt-6.2-sol on the Responses API
const res = await openai.responses.create({
model: process.env.SUPPORT_AGENT_MODEL ?? "gpt-6.2-sol",
reasoning: { effort: "low" }, // "minimal" and "none" are not accepted on Sol
input: [
{ role: "developer", content: SYSTEM_PROMPT }, // cacheable prefix
{ role: "user", content: userText },
],
tools: responsesTools, // tool definitions use the Responses format
});
Tool definitions and tool results have a different shape in the Responses API, and responses are read from output items rather than choices. Port the parsing code and tests along with the request.
3. Set effort explicitly
Do not rely on the default. Start each workload at the lowest effort that passes your quality bar, record the setting next to the model ID, and confirm your tier's rate limits for the new model cover peak traffic.
How to test it
- Replay real traffic. OpenAI's own guidance is to run representative requests against both models and compare outputs, latency and cost. Take 50 to 200 saved inputs per workload (an illustrative range; use what you have) and run both.
- Check structure, not just text. Parse every output the way production does. Tool-call arguments, JSON schemas and anything a downstream system reads should pass the same validators.
- Watch for style shifts. The migration guide says GPT-6.2 writes more concisely by default. If prompts say "be concise", outputs may get shorter than users expect.
- Measure cost per request, including reasoning tokens and cache writes, not just list price.
- Run agent loops end to end. If you dropped earlier messages or tool calls between turns, the guide notes GPT-6.2 drops reasoning items after prefix edits, which can lower quality and raise token use. Our checklist for evaluating AI agents before production covers what to measure.
Roll out before the cutoff
Move one workload at a time, starting with the lowest-risk one. Use a flag or percentage split so each workload can go back to the old model while it still exists. Aim to have all traffic on the new models by around December 8, which leaves a few working days before the shutdown to catch anything the inventory missed. Watch error rates for 400s, which usually mean an unsupported parameter, and watch daily spend per workload.
Rollback after December 11
Until December 11, rollback is a flag flip back to the old model. After it, there is nothing to roll back to. A deployment from before the migration will send requests that fail. Before the cutoff, make sure your last known-good deployment already uses the new models, and keep an alternative within the GPT-6 family (for example Sol for a Terra workload) as the fallback.
Next on the list
The same page lists more shutdowns in the next two months: tts-1, tts-1-hd and gpt-4o-mini-tts on January 6, 2027; GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini on January 14; and the older realtime and audio models on January 20. Self-serve fine-tuning job creation also ends on December 15, 2026, earlier than the January 6 date OpenAI first announced. If you are already touching model configuration this week, inventory those IDs at the same time.
Frequently Asked Questions
What happens to gpt-5 and o3 requests after December 11, 2026?
OpenAI's deprecations page defines a shut-down model as one that no longer accepts requests through the standard API. Calls to gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, o3 and o3-pro, including their dated snapshots, should be expected to fail from that date. OpenAI mentions dedicated capacity through its sales team as the only route to continued access.
Can I just swap gpt-5-mini for gpt-6.1-terra?
Only if the request is compatible. GPT-6.1 Terra requires the Responses API for tool calling, so Chat Completions code that uses function calling has to move first. List prices are also higher: Terra is $1 input and $5 output per million tokens, against $0.25 and $2 for gpt-5-mini.
What replaces gpt-5-pro and o3-pro?
OpenAI recommends gpt-6.2-sol with reasoning.mode set to pro, in the Responses API. Pro mode bills the extra model work at Sol's standard token rates, so measure cost per request on real prompts before switching.
When this is a small job, and when it is not
It is a small job when the retiring models are called from one or two places, already through the Responses API, without sampling settings or Flex, and you have saved examples to compare. A developer can change, test and ship that in a day or two.
It is a bigger job when tool-calling code still runs on Chat Completions, when model names live in tenant settings, or when nobody has a baseline for quality and cost. The same pattern came up in our Claude Sonnet 4.5 retirement guide.
Related Reading
- GPT-6 Sol and Luna for SaaS: Route Workloads, Don't Replace Everything
- OpenAI 12-Hour Prompt Caching: Pay More Only When Reuse Is Real
- Claude Sonnet 4.5 Retires November 30: A SaaS Migration Guide
- Agent Builder Is Winding Down: Make Your AI SaaS Portable
Next Step
If your product still sends traffic to any of the six models, pull the usage report and run the code search today, then list each call site with its API, tools and owner. Teams that find tool calling on Chat Completions, pro models in core workflows, or model IDs stored per tenant often want a second pair of hands for the week. Our AI SaaS development service covers this kind of migration, from the inventory to evaluation and a staged rollout.
Working on a SaaS that's starting to feel fragile?
Talk to an engineer about the parts that break first — without rewriting what already works. We'll recommend focused support or a compact team based on your scope.
Talk to an Engineer