Claude Opus 4.5 Retirement: Three Dates, and What Breaks on Opus 5.5
Claude Opus 4.5 leaves the Claude API on 22 January 2027 and Bedrock on 23 May 2027, with a 15-day inactivity cutoff before that. How to find every pinned ID, the requests Opus 5.5 rejects, and what the swap does to the bill.
By VVV Ops ·
Anthropic deprecated Claude Opus 4.5 on 23 November 2026, and both claude-opus-4-5-20251101 and the undated claude-opus-4-5 stop working on the Claude API on 22 January 2027. The model deprecations page names claude-opus-5-5 as the replacement and says what happens after the date: the Messages API answers with a 404 not_found_error. Changing the model string is the small part. Opus 5.5 rejects several request settings that Opus 4.5 accepted, it thinks on every request, and if you call it through Amazon Bedrock your deadline is a different one.
This post is about the pipelines, CI jobs and agents that call the model, and what changes for the people who run them. If Bedrock is in the path, our post on Bedrock model access denied covers the Marketplace agreement check that a newly enabled model can need before its first call succeeds.
Three dates, depending on who serves the model
Anthropic's dates apply to the platforms it operates: the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Microsoft Foundry. Bedrock and the Google-managed Google Cloud offering set their own schedules, and the deprecations page says so in its overview.
| Where you call Opus 4.5 | What happens | Date | |---|---|---| | Claude API and other Anthropic-operated platforms | Requests fail (404 not_found_error on the Claude API) | 22 January 2027 | | Amazon Bedrock | Public extended access starts; expect higher pricing set by the provider | 23 February 2027 | | Amazon Bedrock | End of life in every listed Region; requests fail | 23 May 2027 | | Claude Models on Google Cloud (Google managed) | Set by Google; check its model table | Not on Anthropic's page |
The Bedrock rows come from the Bedrock model lifecycle (Legacy) page, which lists anthropic.claude-opus-4-5-20251101-v1:0 as Legacy from 23 November 2026. That page carries a rule that can bite before either date: once a model is Legacy, "existing customers may lose access to Legacy models after 15 days of inactivity". The rule has applied since 23 November. A monthly report job or a quarterly evaluation run goes more than 15 days between calls, so it can find the model gone long before end of life in May. You also can't create new Provisioned Throughput for a Legacy model.
Claude Sonnet 4.5 shows how far apart the schedules can sit. Its Claude API retirement date is 30 November 2026, and Bedrock keeps anthropic.claude-sonnet-4-5-20250929-v1:0 until 8 April 2027 in the commercial Regions it lists. Code that runs on both platforms needs both dates in its tracking.
Where Opus 4.5 IDs hide, and a CI check that finds them
The model ID is rarely in one place. In the setups we work on it turns up in application config, in CI variables for review bots and test generators, in Claude Code settings, in an LLM gateway's route table, and in Terraform that wires Bedrock permissions to a specific model ARN. Start with code search across the organization:
# Matches the dated ID, the undated alias and the Bedrock model ID
gh search code 'claude-opus-4-5' --owner your-org --limit 100
git grep -nE 'claude-opus-4-5' -- . ':!*.lock'
Then check the places code search misses. Repository and organization variables in GitHub Actions hold model names for agent steps. Claude Code reads ANTHROPIC_MODEL, the --model flag and the model key in settings, and ANTHROPIC_DEFAULT_OPUS_MODEL decides what the opus alias resolves to. The Claude Code model configuration page says the opus alias already resolves to Opus 5.5 on every provider it lists, so a session on the alias has moved once Claude Code is at v2.1.280 or later. A session where someone pinned the default Opus model to an Opus 4.5 ID has not, and the same page recommends pinning for third-party deployments, so expect to find some.
The usage data tells you who is still calling. The deprecations page describes an export from the Usage page in Claude Console that breaks usage down by API key and model, which turns "somebody still uses Opus 4.5" into a list of keys with owners. On Bedrock, the lifecycle state comes back from the API in each Region:
# Every Legacy model in this Region, with its extended-access and EOL times
aws bedrock list-foundation-models --region us-east-1 \
--query "modelSummaries[?modelLifecycle.status=='LEGACY'].[modelId,modelLifecycle.publicExtendedAccessTime,modelLifecycle.endOfLifeTime]" \
--output table
The modelLifecycle fields are documented in the FoundationModelLifecycle reference. Run it per Region, because the lifecycle page warns that state can differ by Region.
Once the inventory is clean, keep it that way with a step that fails the build when a retiring ID comes back. The pathspec leaves out .github/workflows, because the step would otherwise match its own pattern and fail every run:
# Illustrative GitHub Actions step; extend the pattern as new retirements are announced
- name: Block retiring Claude model IDs
run: |
if git grep -nE 'claude-opus-4-5|claude-sonnet-4-5' -- . ':!CHANGELOG.md' ':!.github/workflows'; then
echo "::error::Retiring Claude model ID found. See https://platform.claude.com/docs/en/about-claude/model-deprecations"
exit 1
fi
The requests Opus 5.5 answers with a 400
Anthropic's Opus 5.5 migration guide lists what every request to the new model must satisfy. For code written against Opus 4.5, these are the settings that turn a working call into a 400:
| Request setting | Opus 4.5 | Opus 5.5 | |---|---|---| | temperature, top_p, top_k | Accepted on API version 2023-06-01 | Rejected at non-default values on API version 2023-06-01, and at any value on 2026-10-21 | | thinking: {"type": "enabled", "budget_tokens": N} | Accepted | Rejected; use effort | | thinking: {"type": "disabled"} | Accepted | Rejected; thinking is always on | | tool_choice of any or a named tool | Accepted | Rejected, including on the token counting endpoint | | Prefilled final assistant turn | Accepted | Rejected | | effort-2025-11-24, interleaved-thinking-2025-05-14 and fine-grained-tool-streaming-2025-05-14 beta headers | Often sent | The guide says to remove them |
The forced tool_choice row hurts pipelines most. Structured extraction jobs commonly force a single tool so the model always returns JSON in the tool's shape, and Opus 5.5 answers that request with tool_choice: type "tool" and "any" are not supported for this model. The same error reached Bedrock users through the Converse API, as a Vercel AI SDK issue opened in September shows. The guide's fix is tool_choice: auto with strict tool use or structured outputs, plus a prompt that says when the tool applies. Strict tool use accepts a subset of JSON Schema and needs additionalProperties: false on every object, so each schema needs a check before you flip it on.
Teams that bump the SDK in the same pull request pick up one more change. The SDK releases that send API version 2026-10-21 (Python anthropic 2.0.0, TypeScript @anthropic-ai/sdk 1.0.0, Go v2) send the API key as Authorization: Bearer instead of X-Api-Key, according to the API version migration guide. A gateway, proxy or log filter that reads X-Api-Key stops seeing the key. We would ship the model change and the SDK major bump as separate deploys so a failure points at one of them.
Response code that breaks without an error
Some changes return a 200 and still break the caller. On Opus 4.5 a request with no thinking field runs without thinking. On Opus 5.5 every request thinks, so responses can start with one or more thinking blocks. Code that reads content[0].text, or a stream handler that treats the first content block as text, gets the wrong block. Read blocks by type.
max_tokens is a hard limit on thinking plus answer text. A job tuned to max_tokens: 1024 on Opus 4.5 now spends part of that budget thinking and can stop short. The guide suggests starting at 64k tokens for xhigh or max effort. In tool loops, pass thinking blocks back unmodified with the tool results; the API rejects edited, reordered or partly dropped blocks with a 400, which surfaces on the second turn rather than the first.
The default effort on Opus 5.5 is medium. Set it explicitly and run your own evals at two levels before you choose, instead of carrying over the old setting. Two smaller items for platform owners: Priority Tier isn't supported on Opus 5.5, so a Priority Tier commitment needs separate capacity planning, and Opus 5.5 can return stop_reason: "refusal" with a stop_details category your handler should log.
What the swap does to the bill
The list price goes down. Opus 4.5 is $5 per million input tokens and $25 per million output tokens; Opus 5.5 is $4 and $20, per Anthropic's pricing page. Batch prices halve both, to $2 and $10 for Opus 5.5.
Two things push the other way. The same page says Claude 4.7 and later models use a newer tokenizer that "produces approximately 30% more tokens for the same text", and the exact increase depends on the content. For the same prompt text, $4 times 1.3 is $5.20 against Opus 4.5's $5.00, so input costs about 4% more before anything else changes. And the migration guide notes that thinking tokens are billed as output tokens even when the thinking text is not returned. On Opus 5.5 that applies to every request, because thinking can't be turned off. A short classification call that produced 50 output tokens on Opus 4.5 now produces those plus whatever the model spends thinking at the effort level you set.
One fixed cost shrinks. The tool-use system prompt that comes with any request that has tools is 496 tokens on Opus 4.5 and 286 on Opus 5.5, by the pricing page's table. For tool-heavy agents with short turns that partly offsets the tokenizer.
We would not promise anyone a saving from this migration. Run a day of representative traffic through Opus 5.5 at your chosen effort, compare cost per request from the usage export, and set spend alerts on the new numbers. Our post on AI coding assistant cost per developer has the cap structure we use when usage moves under a team.
Opus 5.5 now, or a stopover on Opus 5 or 4.8
For most workloads we would move straight to Opus 5.5. It is the named replacement, its earliest retirement date on Anthropic's table is 22 September 2027 ("not sooner than"), and doing the work once is cheaper than doing it twice.
The exception is a pipeline built on forced tool_choice or on thinking: disabled that you can't rewrite and re-test before January. The migration guide says Claude Opus 5 and Claude Opus 4.8 still accept both. Opus 5 is listed as retiring not sooner than 24 July 2027 and Opus 4.8 not sooner than 28 May 2027, at the same $5 and $25 list prices as Opus 4.5. Neither is a drop-in. Both still need sampling parameters, budgeted thinking and prefills removed, since those changes started with Claude 4.6 and 4.7, and both use the newer tokenizer at Opus 4.5's prices, so the extra tokens arrive with no price cut. Opus 5 also thinks by default, at high effort, and accepts thinking: disabled only at high or below, so code that sends no thinking field behaves differently there too. Opus 4.8 leaves thinking off unless you ask for it, which makes it the closer match for Opus 4.5 code, with the earlier retirement date. Either stopover buys time for the tool-choice rewrite, so put the second migration on the roadmap the day you ship the first.
If you want a second pair of eyes on the inventory, the cost re-baseline or the tool-choice rewrite before 22 January, get in touch. We would start with the Console usage export and the Bedrock lifecycle query, because the keys and Regions still calling Opus 4.5 tell you how much of this work is yours.