# Claude Opus 4.5 retires Jan 22, 2027: what to test first

URL: https://infro.io/blog/claude-opus-4-5-retires-jan-22-2027-what-to-test-first
Author: INFRO Editorial (https://infro.io/blog/editorial)
Publisher: INFRO
Published: 2026-11-27
Last modified: 2026-11-27
Last reviewed: 2026-11-27 (next review due 2026-12-27)
Topic: Evaluation and models
Format: Checklist

> Opus 4.5 (claude-opus-4-5-20251101) retires on the Claude API on January 22, 2027, with claude-opus-5-5 as the recommended replacement [^anthropic-deprecations]. Before moving, test model-and-configuration pairs on your own traffic, rate them by cost per successful task with re-counted tokens, fix the request changes that return 400s, and cut over in stages.

Key takeaways:
- Opus 4.5 retires on the Claude API on January 22, 2027, and the undated claude-opus-4-5 alias goes with it; after that, the Messages API returns a 404 not_found_error.
- Test model-and-configuration pairs, not model names: Opus 5.5 always runs adaptive thinking, so effort level and max_tokens change output tokens and cost.
- A lower per-token rate does not settle the bill: Claude 4.7 and later use a tokenizer that produces about 30% more tokens for the same text, so re-count on your own prompts.
- Fix the 400-returning request settings first (thinking, forced tool_choice, sampling parameters, prefill) so quality tests compare answers, not errors.
- Finish the cutover with a rollback window before January 22 and keep Opus 4.5 only as a short fallback.

## What ends on January 22, and what does not

Anthropic lists `claude-opus-4-5-20251101` as deprecated on November 23, 2026 with a retirement date of January 22, 2027 and `claude-opus-5-5` as the recommended replacement. The retirement includes the undated `claude-opus-4-5` ID too.[1] After that date requests fail; on the Claude API the Messages API returns a 404 `not_found_error`.[1] Anthropic gives at least 60 days' notice for publicly released models, and this notice is exactly that: November 23 to January 22 is 60 days.[1]

Today is November 27, so 56 days remain. The real deadline is earlier, because the last stage of a safe rollout is a period of watching. This checklist is for teams calling Opus 4.5 directly on the Anthropic API. If you reach Claude through Foundry, the dates differ: the schedule I read there lists Opus 4.5 on 2027-02-22 and names the same replacement, and that has its own article.[2] Bedrock and Google-managed Claude also set their own schedules.[1]

Start with the inventory, because you cannot test what you have not found:

- [ ] Export usage from the Claude Console (Usage page, Export) and read the CSV by API key and model to list every key still sending Opus 4.5.[1]
- [ ] Search code and config for both `claude-opus-4-5-20251101` and `claude-opus-4-5`, including environment variables, prompt-management tools and agent configs.
- [ ] Name an owner per feature that calls the model, and write down which ones use extended thinking, tool calling, prompt caching and long prompts.
- [ ] Record the date you consider "done": about ten days before January 22, so that a rollback window exists.

## Choose candidates as model-plus-configuration pairs

Do not test "Opus 5.5". The configuration moves cost and behavior as much as the model name. Anthropic's list rates and earliest retirement dates for the realistic options:[3][1]

| Candidate | Input / output per MTok | Cache read per MTok | Earliest retirement (Anthropic) |
| --- | --- | --- | --- |
| Opus 4.5 (baseline) | $5 / $25 | $0.50 | January 22, 2027 |
| Opus 4.6 | $5 / $25 | $0.50 | not sooner than February 5, 2027 |
| Opus 4.8 | $5 / $25 | $0.50 | not sooner than May 28, 2027 |
| Opus 5.5 | $4 / $20 | $0.20 | not sooner than September 22, 2027 |
| Sonnet 5.5 | $2 / $10 | $0.10 | not sooner than September 28, 2027 |

Table: list rates as Anthropic published them on the day read; your contract rates replace them.

Opus 4.6 costs the same per token as 4.5 and buys about two weeks, so it is a stopgap and not a destination. Opus 5.5 is the named replacement and has the lowest Opus list rate, but its requirements are the strictest: thinking is always on, and effort is the only control over depth.[4] Anthropic's launch post says Opus 5.5 costs 40% less than Opus 5 on typical workloads at default settings; that is a comparison with Opus 5, not with Opus 4.5, so it tells you nothing about your bill against the baseline.[5] Opus 4.8 sits between: on Opus 4.8 and earlier, a request with no thinking field runs without thinking, which is the closest to how an Opus 4.5 request without extended thinking behaves.[4] Sonnet 5.5 earns a slot only for features where the pass check is objective and Opus-level reasoning is not what you are paying for. Anthropic's newest tier, Fable 5.2 (announced November 9), is priced at $8 / $40 and is worth testing only for features where Opus 5.5 fails the pass check.[6][3]

Keep to three or four pairs. A reasonable field: `opus-48-nothink`, `opus-55-medium`, `opus-55-low`, and `sonnet-55-medium` for the objective features. Put them in data, not in scattered conditionals:

```python
CANDIDATES = {
    "baseline-45": {"model": "claude-opus-4-5-20251101"},
    "opus-55-medium": {
        "model": "claude-opus-5-5",
        "output_config": {"effort": "medium"},  # set explicitly
        "max_tokens": 8192,                     # covers thinking + text
    },
    "opus-55-low": {
        "model": "claude-opus-5-5",
        "output_config": {"effort": "low"},
        "max_tokens": 4096,
    },
}
```

## Make requests runnable before comparing quality

The first failures will be 400 errors, not quality differences. For `claude-opus-5-5`, Anthropic's guide says the following are rejected:[4]

- `thinking: {"type": "disabled"}` and manual `budget_tokens`; send no thinking field or `adaptive`.
- `tool_choice` of type `any` or `tool`; use `auto` or `none`, plus strict tool use or structured outputs.
- `temperature`, `top_p` and `top_k`; omit them.
- A prefilled assistant turn as the last message; use structured outputs or system-prompt instructions.

The sampling-parameter change also stands on its own: API version 2026-10-21 removes those three parameters for every model and returns a 400, and earlier versions already return an error for non-default values on Claude 4.7 and later models.[1] If your SDK is unpinned, the harness itself can start failing; read [Anthropic API version 2026-10-21](https://infro.io/blog/anthropic-api-version-2026-10-21) before you upgrade the client.

Then the response-shape changes, which break code without any 400:

- [ ] Read content blocks by `type`. A response can begin with thinking blocks, so `content[0].text` breaks, and so do stream handlers that treat the first block as text.[4]
- [ ] Raise `max_tokens`: it covers thinking plus text, and thinking tokens are billed as output tokens even when the text is not returned. At `xhigh` or `max` effort, Anthropic suggests starting at 64k.[4]
- [ ] In tool-use loops, pass thinking blocks back complete and unmodified; edited or dropped blocks are rejected with a 400.[4]
- [ ] Thinking text is omitted by default (`display: "omitted"`). If you stream reasoning to users, the default shows up as a long pause, and `display: "summarized"` restores progress.[4]
- [ ] Handle `stop_reason: "refusal"` and decide what your fallback is.[4]
- [ ] If you hold a Priority Tier commitment, plan that separately: it is not supported on Opus 5.5.[4]

One more item for anyone who runs a router or fallback: if a request can move a conversation off Opus 5.5 mid-session, the new model runs without its thinking blocks, and which models keep them is listed in the guide.[4] Test that path before you rely on it.

## Count tokens again, then price per successful task

Claude 4.7 and later use a newer tokenizer that produces approximately 30% more tokens for the same text, and the exact increase depends on content and workload shape. Opus 4.6 and earlier use the previous tokenizer.[3] So moving from Opus 4.5 to Opus 5.5 or 4.8 lowers or holds the per-token rate while raising the tokens you send. Counting on your own prompts is the only way to know the net; the method is in [how a tokenizer change moves your bill](https://infro.io/blog/switching-models-changes-the-tokenizer-how-much-does-your-bill-move).

Cache economics change too. Opus 5.5 cache reads are $0.20 per MTok against $0.50 for Opus 4.5, and 5-minute cache writes are $5 against $6.25.[3] Anthropic also notes that on Opus 5.5, prompts of 512 tokens or more can create cache entries, so review prompts near the old minimum.[4] A model switch starts every prefix cold, so measure read share at your real request spacing, not in a burst.

Cost per successful task is the total billed cost of every attempt, including retries and repair calls, divided by the tasks that passed. Compute it from recorded usage:

```python
# USD per million tokens, list rates. Replace with your contract rates.
RATES = {
    "claude-opus-4-5-20251101": dict(inp=5.0, out=25.0, write5=6.25, read=0.50),
    "claude-opus-5-5":          dict(inp=4.0, out=20.0, write5=5.00, read=0.20),
}

def call_cost(model, u):
    r = RATES[model]
    return (u["input_tokens"] * r["inp"]
            + u["output_tokens"] * r["out"]          # includes thinking tokens
            + u.get("cache_creation_input_tokens", 0) * r["write5"]
            + u.get("cache_read_input_tokens", 0) * r["read"]) / 1e6

def cost_per_success(tasks):
    # tasks: list of {"model": ..., "calls": [usage, ...], "passed": bool}
    total = sum(call_cost(t["model"], u) for t in tasks for u in t["calls"])
    passed = sum(t["passed"] for t in tasks)
    return total / passed if passed else float("inf")
```

> **Example: Illustrative numbers, not measurements**
> Take one task shape. On the baseline it uses 10,000 input and 1,000 output tokens: $0.050 + $0.025 = $0.075 per call, with an 86% pass rate, so $0.087 per success. On Opus 5.5 at medium effort, suppose the same text counts as 13,000 input tokens (the ~30% tokenizer effect) and 1,800 output tokens including thinking: $0.052 + $0.036 = $0.088 per call at a 92% pass rate, so $0.096 per success. At low effort, suppose 1,000 output tokens and an 88% pass rate: $0.052 + $0.020 = $0.072 per call, $0.082 per success.
> 
> The point is the ranking can flip from what the rate card suggests, and the effort level decides it. Your counts will differ; run the arithmetic on your own sample.

## Build the test set and the pass check

Sample from real requests, stratified by feature and not by volume. A feature with 2% of traffic and strict JSON output deserves as many cases as the busiest chat feature. For the sizing question, see [how many eval cases you need](https://infro.io/blog/how-many-eval-cases-do-you-need-before-switching-models).

- [ ] Include the ugly tail: longest prompts, requests that stopped at `max_tokens`, tool-calling turns, retries, and outputs a human later corrected.
- [ ] Freeze inputs, including tool results, so every candidate sees the same thing. For multi-turn flows, replay recorded conversations and vary only the last turn.
- [ ] Write the pass check before running: schema validity, required fields, a valid tool call, a regex or reference answer. Use a judge model only where those cannot capture the requirement, and budget the judge calls separately from per-task cost.
- [ ] Run a fresh effort sweep per feature rather than carrying a setting over; Anthropic advises this when coming from earlier Opus models.[4]
- [ ] Compare latency at your chosen effort, including time to first visible token, since omitted thinking looks like a pause.

Prompts tuned for a model that ran without thinking may behave differently once thinking is always on. Anthropic has a separate section on prompts written for thinking disabled; read it if that describes yours.[4]

## A staged cutover to January 22

This schedule is my suggestion, not Anthropic's. Adjust it for your own change freezes.

1. **Nov 27 – Dec 4: inventory and runnable requests.** Complete the usage export, fix the 400-returning settings on a branch, and freeze the sample.
2. **Dec 7 – Dec 18: scoring.** Run the three or four pairs, compute cost per successful task and pass rate per feature, and pick a winner per feature, not one global model.
3. **Dec 21 – Jan 4: shadow and internal traffic.** Send a copy of a slice to the winner and compare against the baseline; budget the overlap, since shadow calls are billed (see [does shadow testing double your bill](https://infro.io/blog/does-shadow-testing-double-your-bill-budget-the-overlap)).
4. **Jan 5 – Jan 12: canary.** 5%, then 25%, then 50% of live traffic per feature, with rollback criteria written first: pass-rate floor, refusal rate, max_tokens stop rate, p95 latency, cost per success ceiling.
5. **Jan 12 – Jan 19: 100%.** Keep Opus 4.5 as a rollback target only. See [rolling back a migration after cutover](https://infro.io/blog/how-do-you-roll-back-a-model-migration-after-cutover).
6. **Jan 20 – Jan 22: remove the old ID** from code, configs and keys' allowed models, and confirm in the Console usage export that nothing still sends it.

Watch for changes that arrive without an error: longer answers, more answers cut off by the length limit, a lost prompt cache. They show up as cost before anyone files a bug.

## Where a gateway helps, briefly

If your traffic already goes through INFRO, its model retirement records warn organizations still sending a retiring model and, from the shutdown date, refuse it before any provider call and name the replacement. That turns a surprise 404 into an explicit refusal, but it does not replace testing. For the test itself, datasets can be built from logged requests, and experiments run a dataset across up to six variants judged by your evaluators, with the request count and estimated provider cost shown first and a spend cap. For the canary, routing rules can send a share of a route's traffic to the new target, and traffic changes flag unannounced shifts such as longer answers or a lost cache. Inference stays on your own Anthropic account and rates.

## Questions

### Do I have to move to Opus 5.5, or can I pick another model?

No. Anthropic's page names claude-opus-5-5 as the recommended replacement and tells you to migrate to it or another active model before the retirement date [1]. Treat the named model as the default candidate and test the others against it.

### Does this date apply if I call Opus 4.5 through Foundry?

Not necessarily. Anthropic says its dates apply to Anthropic-operated platforms, including Foundry, while Bedrock and Google-managed Claude set their own schedules [1]. The Foundry schedule I read earlier lists Opus 4.5 on a different date [2], so use that article if you are on Foundry.

## Sources

1. Model deprecations — Anthropic. https://docs.anthropic.com/en/docs/about-claude/model-deprecations (accessed 2026-11-27)
2. Claude retirements on Foundry: Opus 4.5, 4.6, Sonnet 4.6 dates — INFRO. https://infro.io/blog/claude-retirements-on-foundry-opus-4-5-4-6-sonnet-4-6-dates (accessed 2026-11-27)
3. Pricing — Anthropic. https://docs.anthropic.com/en/about-claude/pricing (accessed 2026-11-27)
4. Claude Opus 5.5 migration guide — Anthropic. https://docs.anthropic.com/en/models/opus-5-5/migration-guide (accessed 2026-11-27)
5. Introducing Claude Opus 5.5 — Anthropic. https://www.anthropic.com/claude-opus-5-5 (accessed 2026-11-27)
6. Newsroom — Anthropic. https://www.anthropic.com/news (accessed 2026-11-27)
