Claude Opus 4.5 retires on 22 January 2027: how to move to Opus 5.5 without breaking requests
Anthropic switches off Claude Opus 4.5 on its API on 22 January 2027 and wants you on Opus 5.5. Changing the model name alone won't get you there. Opus 5.5 turns away settings a lot of older code still sends, so plan the move.
part 54 of 54 · Platform releases, explained from scratchthe ideaChange the name and the request shape, test, then cut over.
after reading, you can- Track down every app, job and vendor tool that still calls Claude Opus 4.5 before it's switched off
- Fix the request settings Opus 5.5 refuses, so the switch works on the first try
- Check cost and answers on your own prompts before moving live traffic
If anything you run still calls Claude Opus 4.5 through Anthropic, it stops working on 22 January 2027. Anthropic deprecateddefinitionA model that still works but has an end date. When Anthropic deprecates one, it also tells you what to move to. the model on 23 November and named Claude Opus 5.5 as the replacement. Moving means changing the model name, fixing a handful of request settings that Opus 5.5 now refuses and updating code that reads replies, which can now start with thinking blocksdefinitionWhere the model does its working out before it answers. On Opus 5.5 they come first in the reply, and they're blank unless you ask for a summary.. Test it before the holidays eat the time you have.
A model your apps may call is being switched off. Its replacement is fussier, so some requests will bounce.
Many apps and internal tools send work to a Claude model by name, and Claude Opus 4.5 is one of those names. Anthropic is retiring it, and after the cut-off a request that still asks for it gets an error back instead of an answer. The fix is to point those requests at a newer model, usually Claude Opus 5.5. The newer model has a lower price per token, though it can count the same text as more tokens. It's also stricter about how a request is put together, so a few settings that worked before will now be rejected. Someone has to find every place the old name lives, change it and check that the answers still hold up.
It's like a supplier discontinuing a part your machines take. The replacement is better and lists for less, but it uses a slightly different fitting, so you check every machine before swapping parts instead of finding the odd one out when it jams.
- Teams with apps or agents on the Claude API
- Developers using Claude Code with a pinned model
- Teams reaching Claude through a cloud provider
- Vendors whose products call Claude for you
- Owners of chatbots, document and coding tools
Why it matters to you
A retired model doesn't slow down or degrade. It returns an error, so every feature that names it stops at once: the support bot, the contract summariser, the overnight batch job, the coding agent someone set up last spring. Anthropic gives at least 60 days' notice, and this time that's all there is, with the year-end freeze in the middle of it.
The price drop is real, but don't bank it yet. Opus 5.5 always thinks before it answers, and you pay for that thinking as output. The newer tokenizerdefinitionIt cuts text into tokens, which is what you're billed and limited by. The newer one can turn the same paragraph into more tokens, so old estimates run low. can also count the same text as more tokens. So a workload that ran with thinking off on Opus 4.5 could end up costing more per request. Measure it on your own traffic before anyone promises finance a saving.
The other risk is quieter. Some of the settings older code relies on, like a fixed temperature, a prefilled reply or a forced tool call, are now refused outright. If the migration is just a find-and-replace on the model name, those requests come back as errors on day one.
-
01 Your app names the model
The code, a config file or a gateway rule sends claude-opus-4-5 with every request, often set once and forgotten.
-
02 Anthropic retires it
Come 22 January the Claude API won't serve it anymore. The request gets an error, and whatever feature sent it just stops working.
-
03 Someone swaps in Opus 5.5
The name changes, but requests that set temperature, end with a prefilled reply or force a tool now get a 400 error.
-
04 Fix the request shape
Strip out what Opus 5.5 won't take and pick an effort level. Then read replies by block type, since thinking blocks now arrive first.
-
05 Test, then cut over
Run your own test cases on Opus 5.5, compare answers and cost, and only then move live traffic.
For engineers: the migration guide's checklist for an Opus 4.5 starting point stacks the changes from 4.6, 4.7, 4.8, 5 and 5.5 together. Most of them are small. The ones that throw errors are listed in the next section, and they're the ones to grep for first.
What changed between Opus 4.5 and Opus 5.5
The changes that hit code written for Opus 4.5
temperature, top_p and top_k have to go. Plenty of teams set temperature to 0 for repeatable output. Anthropic notes it never guaranteed identical answers anyway, so steer with the prompt instead.
Ending messages with the start of Claude's answer, a common trick for forcing JSON, is rejected. Use structured outputs or say what you want in the system prompt.
Turning thinking off or giving it a token budget now gets you a 400. Thinking is always on. You steer it with effort instead, which defaults to medium, so set it yourself if medium isn't what you tested.
tool_choice any or a named tool is refused. Keep auto, mark the tool strict or move the schema to structured outputs, and tell the model in the prompt when to use the tool.
Replies can open with thinking blocks, empty by default. Code that reads content[0].text picks up the wrong block, so select blocks by type, and send them back untouched in tool loops.
The same text can count as up to about 35 percent more tokens than on Opus 4.5. Re-check max_tokens, compaction triggers and any client-side token estimates.
Drop the effort, fine-grained tool streaming and interleaved thinking beta headers. Move output_format to output_config.format, or requests can fail.
Opus 5.5 takes a 1M token context by default and can write up to 128K tokens. Opus 4.5 stopped at 200K and 64K, so the code that chops long documents into pieces may not need to anymore.
| Detail | Opus 4.5 | Opus 4.6 | Opus 4.8 | Opus 5.5 | Sonnet 5.5 |
|---|---|---|---|---|---|
| Status | Deprecated | Active | Active | Active | Active |
| Retirement | 22 Jan 2027 | Not before 5 Feb 2027 | Not before 28 May 2027 | Not before 22 Sep 2027 | Not before 28 Sep 2027 |
| Input / output per MTok | $5 / $25 | $5 / $25 | $5 / $25 | $4 / $20 | $2 / $10 |
| Context window | 200K | 1M | 1M | 1M | 1M |
| Max output | 64K | 128K | 128K | 128K | 128K |
| Thinking can be off | Yes | Yes | Yes | No | Check docs |
The last row matters for planning. Opus 4.6 and Opus 4.8 still run without thinking when a request leaves it out, so they're closer to how Opus 4.5 behaves. Opus 5.5 always thinks. We didn't fill in Sonnet 5.5 because its migration notes are a separate page and we only checked the Opus path for this post.
Opus 4.6 is the smallest hop. It already refuses prefills, but it still takes temperature and thinking budgets. The catch is its own date. Anthropic says it won't retire before 5 February 2027, two weeks after the Opus 4.5 cut-off. Nobody has set the real date yet, but you'd still be moving twice in a year, and most teams would rather test once.
Dates around the Opus 4.5 cut-off
- 23 Nov 2026Deprecation notice
Anthropic emails everyone with live usage and marks Opus 4.5 deprecated. Bedrock moves it to Legacy the same day, so the clock starts on both.
- 30 Nov 2026Sonnet 4.5 retires
If you still run Sonnet 4.5 too, that one goes first. Fold it into the same project so you only test once.
- 22 Jan 2027Opus 4.5 retires
The cut-off for the Claude API, Claude Platform on AWS and Anthropic-managed Google Cloud. Anthropic's page says Microsoft Foundry goes the same day. Anything still calling it fails.
- 22 Feb 2027Foundry date on Microsoft's page
Microsoft's lifecycle table, last updated 18 November, still shows this date. Plan to the earlier one until the two pages agree.
- 23 Feb 2027Bedrock extended access
Existing Bedrock users can keep calling Opus 4.5 after this, but AWS warns the provider will likely charge more. Budget for it if you're staying.
- 23 May 2027Bedrock end of life
Opus 4.5 stops on Bedrock in the listed Regions. AWS doesn't migrate anything for you.
Your options, side by side
- Keeps the option of running with thinking off
- Opus 4.6 still takes temperature and thinking budgets, so the code changes are small
- Prefills still have to go, since Opus 4.6 already refuses them
- Same $5 / $25 price as Opus 4.5
- Their earliest retirement dates are 5 February (Opus 4.6) and 28 May 2027 (Opus 4.8). You could be back doing this within months
- You migrate once and test once. It's also Anthropic's pick, and no Opus model has a later earliest retirement date
- Lower price per token, though thinking and the tokenizer can eat into it
- More code to change, since several old request settings are refused. It can take a few days per app
- No Priority Tier on Opus 5.5. If you pay for committed capacity, you'll need to sort that out separately
If a workload doesn't need Opus-level reasoning, test Sonnet 5.5 as well. It's half the Opus 5.5 price per token. A classification job or a short summariser that ended up on Opus 4.5 by default often doesn't need the bigger model, and the retirement is a good excuse to check.
Staying on Bedrock until May buys time, but only for traffic that already runs there and keeps running. Moving a workload from the Claude API to Bedrock just to keep Opus 4.5 is a migration in itself, and AWS says new customers can't use Legacy models at all.
What to do now
What to do, by who you are
- Ask your tech lead for a list of every feature that uses Claude and which model each one names.
- Ask vendors whose products use Claude for you whether they're on Opus 4.5 and when they move. Their outage becomes yours.
- Put 22 January on the risk register with an owner, and keep the change window clear of the holiday freeze.
- Grep code, config, prompts and infrastructure files for claude-opus-4-5 as a substring, so the dated ID and the Bedrock and Vertex forms show up too. Exact-match config lookups and allow-lists will miss them.
- Remove temperature, top_p, top_k, prefills, thinking budgets and forced tool_choice from requests bound for Opus 5.5.
- Read reply blocks by type, not position. In tool loops, send the thinking blocks back exactly as you got them, or the API rejects the turn.
- Set effort explicitly and re-check max_tokens, which now covers thinking plus the answer.
- Export usage from the Usage page in Claude Console. The CSV breaks usage down by API key and model, which tells you who still calls Opus 4.5.
- Update Claude Code before anything else. Then check which model it runs, including in subagents and anything an admin pinned.
- Check gateway routing and fallback chains. A fallback that points at Opus 4.5 fails at the worst moment.
- Run your refusal tests again before cutover. Since Opus 4.7, real-time cyber safeguards can turn down some security work that used to go through.
- If your team does legitimate security testing with Claude, look at Anthropic's Cyber Verification Program.
- Make sure refusals are handled in code, so a refused request doesn't look like an empty success to a user.
A migration order that holds up
- 01Inventory callers
Combine the usage export with a code search. Give every caller an owner, including vendor products and scheduled jobs nobody watches.
- 02Build a test set
Collect real prompts with answers someone has checked. Record what Opus 4.5 gives today, so there's something to compare against.
- 03Fix the request shape
Remove the refused settings, move output_format to output_config.format, drop the old beta headers and read blocks by type.
- 04Sweep effort
Run the test set at two or three effort levels. Anthropic says to tune effort on your own evals, not by translating an old thinking budget.
- 05Compare cost and latency
Thinking tokens and the new tokenizer change both. Use real traffic numbers before you tell anyone what it will cost.
- 06Cut over with a way back
Move traffic in stages while Opus 4.5 still answers, so you can roll back. That option disappears on 22 January.
Harden so the next retirement hurts less
There'll be another one of these soon. Every active Claude model on Anthropic's table carries an earliest retirement date, and Opus 4.6's is 5 February. For teams that keep the model name in one place, it can be an afternoon's change. Everyone else starts with a search.
Before: the model name is everywhere
Each app names the model in its own code. Nobody can say who still calls Opus 4.5 without searching every repository.
After: one gateway, one model register
Apps ask for a role like 'reasoning' and the gateway picks the model. Nobody changes that mapping until the test set has run against the new one.
Durable fixes
- 01Keep a model register
Write down every feature that calls a model, who owns it and when that model retires. Someone checks it against Anthropic's list once a month, so a notice never comes as news.
- 02Name models in one place
Put the model ID in config or a gateway, never in application code. Swapping it should be a reviewed config change.
- 03Keep a standing test set
A few dozen real prompts with checked answers makes the next migration mostly testing rather than guessing.
- 04Give each app its own API key
The usage export splits by key. Shared keys make it impossible to tell which team still calls an old model.
- 05Watch the notices
Anthropic emails customers with live usage. Route those emails to a shared mailbox or ticket queue, not one person's inbox.
If it goes wrong
If requests start failing after you switch, or on the day Opus 4.5 retires
Before the retirement date, Opus 4.5 is your rollback, so use it. After that there's nothing to roll back to on Anthropic's platforms, and the plan is to fix forward fast.
- 01Spot itfirst hour
- Watch for 400 invalid_request_error responses. The message tells you which setting it refused, usually temperature, thinking or tool_choice, so you know where to look.
- Look for errors from anything still naming claude-opus-4-5 after the cut-off. Those callers are the ones your inventory missed.
- Check for blank or odd answers too. Code that reads content[0] can end up showing users an empty thinking block instead of the reply.
- 02Stop the damagefirst hour
- Still before 22 January? Point the broken feature back at Opus 4.5 so users get answers again, then sort out the request in peace.
- After the cut-off, switch the feature to a fallback model your tests already passed, or show a plain 'temporarily unavailable' message.
- Pause batch jobs that write results somewhere, so failed or partial output doesn't spread into reports.
- 03Fix the requestfirst day
- Take out whatever setting the error names. Then run that feature's test set again before you send traffic back.
- If cost jumped, lower effort for that workload and re-check max_tokens before cutting thinking any other way.
- On Bedrock, a 400 on an older model can come from the newer API version the latest SDK sends. Anthropic says to pin the SDK version you use today for models 4.6 or lower. For Python, that means below 2.
- 04Recover and learnfirst week
- Re-run any batch that failed during the outage window.
- Add the caller you missed to the model register and give it an owner. Next time it's on the list from the start.
- Tell users and affected customers what broke and what you changed. Keep it short and skip the jargon.
What this looks like in practice
Three typical setups facing the January cut-off
- the setup
- A developer built the bot last year on claude-opus-4-5, with temperature set to 0 and a prefilled opening brace to force JSON. It has run untouched since.
- what happens
- On 22 January the bot starts failing. If someone renames the model in a hurry, the prefill and temperature now return 400 errors, so the fix doesn't work either.
- what to do
- Move the JSON shape into structured outputs, drop temperature, read the text block by type and run fifty real support questions through Opus 5.5 before switching. Started now, it's a small job.
- the setup
- A nightly job on Bedrock sends contracts to Opus 4.5 for clause extraction. It runs only at month-end, and the team recently upgraded the Python SDK to 2.x.
- what happens
- Bedrock keeps Opus 4.5 until May, so the January date doesn't bite. Two other things do: the 15-day inactivity rule can remove access between month-end runs, and SDK 2.x sends an API version Bedrock refuses for older models.
- what to do
- Pin the 1.x Bedrock SDK for the job, or move the job to Opus 5.5 on Bedrock now. Budget for extended access pricing from 23 February if it stays.
- the setup
- Engineers use Claude Code, internal apps call Claude through a gateway, and two purchased tools use Claude under the hood. Some routes still map to Opus 4.5 as a fallback.
- what happens
- The main routes work after the cut-off, but the fallback fails the first time the primary model is busy. A vendor tool that hasn't moved fails too, and the support ticket lands with you.
- what to do
- Update Claude Code and check its subagent settings. Walk every gateway route and fallback, and ask each vendor for their move date in writing. Then put the lot in the model register so someone owns it.
We made these examples up to show common setups. None of them is a Cohash client, and the details are typical rather than taken from any real company.
We move apps off a retiring Claude model before the date. That means fixing the requests that would break and checking answers on your own test set before any traffic moves. See our Claude work, talk to Claude engineers or start with an AI readiness assessment.
What to take from this
- 01
Opus 4.5 stops answering on the Claude API on 22 January 2027. Whatever still asks for it breaks that morning, so start with the list of callers.
- 02
Anthropic wants you on Opus 5.5. It's cheaper per token, but it always thinks and it turns away several settings older code still sends.
- 03
Fix the requests while you're changing the name. Sampling parameters, prefills, thinking budgets, forced tools and reply parsing all need a look.
- 04
Measure cost on real traffic. Thinking tokens and the new tokenizer can cancel the lower price.
- 05
Bedrock keeps Opus 4.5 longer, to 23 May 2027. Don't lean on that, though: prices go up in the last three months and idle accounts can lose access.
- 06
Keep one model register and one place where model names live, so the next retirement is a config change.
- How Cohash delivers Anthropic Claude: scope, roles and architecture
- How Cohash delivers Amazon Bedrock: scope, roles and architecture
- How Cohash delivers Microsoft Foundry: scope, roles and architecture
- Hire vetted Anthropic Claude engineers
- LLMOps and evaluation
- Book a 30-minute working session with a senior engineer
01When does Claude Opus 4.5 stop working?
It depends where you call it. On the Claude API it's 22 January 2027, and Claude Platform on AWS and Anthropic-managed Google Cloud go the same day. Bedrock keeps it until 23 May 2027. Google's own Claude service hadn't set a date when we looked, so check its model card before you count on it.
02We only use the short name claude-opus-4-5. Does that keep working?
No. Anthropic says the retirement covers claude-opus-4-5 as well as the dated ID claude-opus-4-5-20251101. Search for both forms, plus the Bedrock and Vertex versions of the name.
03What should we move to?
Anthropic says Opus 5.5. If a job doesn't really need Opus-level reasoning, try Sonnet 5.5 as well, since it's half the price per token. Opus 4.6 needs fewer code changes, but it could retire as soon as February 2027 and you'd be moving again.
04Is it just a model name change?
For most code, no. Opus 5.5 refuses temperature, top_p and top_k, prefilled replies, thinking budgets, thinking switched off and forced tool use. Replies also start with thinking blocks, so code that reads the first block as text breaks. If you use Claude Managed Agents, Anthropic says only the model name changes.
05Will Opus 5.5 cost less?
Per token, yes: $4 in and $20 out per million, against $5 and $25. But it always thinks, thinking counts as output, and the tokenizer can count the same text as more tokens. Measure on real traffic before you promise a saving.
06We use Claude Code. What do we need to change?
Update Claude Code first, because a newer model can need a newer version of it. Then check which model it's actually running. Change it everywhere you set one, subagent definitions included, and ask your admin about any model they pinned for everyone.
07What date applies on Microsoft Foundry?
Anthropic's page says Foundry follows the Claude API schedule, which means 22 January. Microsoft's lifecycle table, last updated 18 November, still showed 22 February 2027 when we checked. Plan for January until the two agree.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Someone renames claude-opus-4-5 to claude-opus-5-5 in a bot that still sends temperature 0 and a prefilled brace. What does the first request get back?
show the answer
B. It returns a 400 error because Opus 5.5 refuses those settings Opus 5.5 rejects sampling parameters and prefilled replies outright. The name change is only half the job.
-
Q2Your nightly contract job calls Opus 4.5 through Amazon Bedrock. When does Bedrock actually stop serving it?
show the answer
C. 23 May 2027, unless it loses access sooner Bedrock keeps its own calendar, and its end-of-life date is 23 May 2027. A job that sits idle can lose access well before that, and you'll pay more for the last three months.
-
Q3Finance wants the saving from Opus 5.5's lower price booked now. What should you say?
show the answer
D. Measure first, because thinking tokens and the new tokenizer can raise token counts Opus 5.5 always thinks and you pay for that as output. The tokenizer can also count up to about 35 percent more tokens. Until you've run real traffic, nobody knows the bill.