By Ayena TCHIKPE, founder and software engineer Published
In this article
In short
- List every model call with its exact model ID, its platform and one owner. The same model retires on different dates on the Claude API, Bedrock and Azure.
- Sort each call by how a retirement hits it. It fails, it swaps silently to another model at another price, or it loses the vendor tooling its prompts and tests lived in.
- Changing the model name is the easy part. Build a test set from your own data, fix the breaking API changes, then roll out to a small share of traffic first.
- Keep prompts and test cases in your repository, log the requested and the served model on every call, and give retirements a calendar and an owner.
Claude Sonnet 4.5 was retired on the Claude API on 30 November 2026, and since 1 December Google sends calls for Gemini 2.5 Pro to another model. If a support agent, an internal assistant or an email automation called one of them, it now fails, or it answers from a model nobody tested, at that model's price. This article gives you an LLM model deprecation migration plan: the deadlines, a way to sort each model call by how a retirement hits it, and one week to move it.
The deadlines: Sonnet 4.5 retired, GPT-4o API shutdown in January 2027
The dates on each vendor's page, as of 2 December 2026:
| Date | What happens |
|---|---|
| 30 Nov 2026 | Anthropic retires Claude Sonnet 4.5 on the platforms it operates. OpenAI shuts prompt objects, Evals, Datasets and Agent Builder. |
| 1 Dec 2026 | Google routes gemini-2.5-pro to gemini-3.8-flash and gemini-2.5-flash to gemini-3.5-flash-lite, billed at the replacement's rates. |
| 11 Dec 2026 | OpenAI shuts gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, o3, o3-pro and their snapshots. |
| 1 Jan 2027 | gemini-3.8-flash goes from $0.75 to $1.50 per million input tokens, and from $3.75 to $7.50 for output. |
| 8 Jan 2027 | Claude Sonnet 4.5 on Amazon Bedrock enters extended access, where AWS warns of higher pricing, until its end of life on 8 April in commercial regions. |
| 14 Jan 2027 | OpenAI shuts gpt-4o-2024-08-06, gpt-4o-2024-11-20, gpt-4o-mini-2024-07-18, gpt-4.1-2025-04-14 and gpt-4.1-mini-2025-04-14. Azure retires gpt-4o 2024-05-13. |
| 22 Jan 2027 | Anthropic retires Claude Opus 4.5, dated ID and alias. |
Where you call a model sets its date: Sonnet 4.5 is gone from the Claude API but stays on Bedrock until April. Notice is short: at least 60 days for public Anthropic models and generally available Azure ones, with no extension on Azure. OpenAI gives generally available models at least six months, previews as little as two weeks.
Three ways a model retirement hits your AI feature
It fails. After retirement, the Claude API returns a 404 not_found_error, Azure returns 410 Gone, and an OpenAI model "no longer accepts requests through the standard API". On Bedrock, AWS is plain: "Migration will not happen automatically." You notice, unless your code hides every error behind a polite "try again later".
It swaps silently. Google's page says calls to gemini-2.5-pro now run on gemini-3.8-flash, "at Gemini 3.8 Flash rates". On Azure, Standard deployments set to upgrade automatically move to the replacement; provisioned ones are not upgraded, and stop. An open OpenHands issue of 26 November sums it up: "Requests do not fail, but they run on a different model."
It loses its tooling. On 30 November OpenAI shut its stored prompt objects, telling users to move prompts into code, along with Evals, Datasets, graders and Agent Builder. OpenAI's cookbook rebuilds evals by hand in Promptfoo and warns: "Any manually recreated grader, especially an LLM-as-a-judge grader, should be validated before you rely on it for regression decisions." Its Agent Builder guide adds that "workflows with strong determinism at their core may not migrate faithfully to a workspace agent". Extraction and routing automations usually are.
Triage: find every model call and sort it
Model IDs hide in environment variables, no-code automations, vendor dashboards and library defaults: the OpenHands issue is about gemini-cli's default model. Anthropic's Console exports usage by API key and model; Azure's Models API returns a lifecycleStatus field, Bedrock a modelLifecycle field.
| What you find | How it hits | First move |
|---|---|---|
A model shut down on your platform or due within 60 days; an Azure provisioned or NoAutoUpgrade deployment |
Fails | Migrate now, with the code changes below |
| A Gemini 2.5 model ID, or an Azure Standard deployment that auto-upgrades | Swaps silently | Test the model that now answers, then pin the one you choose |
| A Legacy model on Bedrock | Costs more, then fails | Migrate before extended access; AWS warns you may lose access after 15 days of inactivity |
| Prompts, evals or workflows in a vendor dashboard | Loses its tooling | Copy them into your repository today |
A one-week LLM model deprecation migration plan
- Day 1, list. For each call: the feature, the model ID exactly as sent, the platform, the date that applies there, one owner.
- Day 2, build a test set from your data. Real inputs from your logs, anonymised, each with the expected answer or the rule a good answer follows. Our advice: start with the cases that cost you money or a customer when they go wrong.
- Day 3, change the code, not just the model name. Read the vendor's migration guide line by line.
- Day 4, compare. Run the set on the replacement, and on the old model where it still answers. As Microsoft puts it: "Compare quality, latency, and cost together rather than relying on public benchmarks alone."
- Day 5, roll out. A small share of traffic first, a human reading the differences, the old path ready until you switch.
Take Sonnet 4.5 to Sonnet 5.5: Anthropic's migration guide lists a 400 error on a prefilled assistant turn ("This model does not support assistant message prefill."), a 400 error on a forced tool_choice, thinking that runs by default and counts toward max_tokens, and about 30 percent more tokens for the same text. An extraction automation that forces a tool call or prefills a { to get JSON now gets a 400. Anthropic's deprecation page adds that temperature, top_p and top_k return a 400 error from API version 2026-10-21.
Make the next retirement routine
- Prompts and test cases live in your repository, versioned and runnable against any vendor. We advise against keeping them only in a vendor dashboard: on 30 November, OpenAI's tooling closed before some of its models did.
- Every call logs the requested and the served model. A DEV Community post of 30 November warns: "The same string in your code can mean three different prices in three months." Gemini responses carry
modelVersion, "the model version used to generate the response" according to Google's API reference. Store it and alert when it changes. - Retirements have a calendar and an owner. Pin the version you tested, so the model changes when your calendar says. The owner reads the vendor pages monthly and sets the alerts that exist, such as Azure Service Health filtered on
Azure OpenAI Service.
How we help
Our AI agents service builds support agents, internal assistants and email automations, with a log of every action. A migration is the same work on a feature that already runs: we list the model calls, change the code, build the test set from your data and roll out with a human reading the differences. Our reliability service runs that test set in CI on every change and adds the logs and alerts that catch the next silent swap.
Send contact@aycode.dev the features that call a model, the provider and platform each one uses, and who built them. We will reply with the order we would migrate them in.
Sources (as of 2 December 2026): Anthropic, Model deprecations · Anthropic, Claude Sonnet 5.5 migration guide · OpenAI, Deprecations · OpenAI, Migrate from Agent Builder · OpenAI Cookbook, From Evals to Promptfoo · Google, Gemini API deprecations · Google, Gemini API pricing · Google, generateContent reference · Microsoft Learn, Foundry Models lifecycle · AWS, Bedrock model lifecycle (Legacy) · OpenHands issue #20097 · DEV Community, Requested Model, Billed Model.
