Skip to main content
Overhead photo of a worn-down yellow pencil stub and its shavings on the left, a brass sharpener in the middle and a long new natural-wood pencil on the right, on a pale seafoam desk, a metaphor for migrating from Claude Opus 4.5 to Opus 5.5
9 min readBy Carlos Aragon

Claude Opus 4.5 Deprecation: What Breaks on Opus 5.5

Claude Opus 4.5 retires on the Claude API on January 22, 2027, and the replacement is claude-opus-5-5. Swapping the model ID isn't enough: 9 of the 19 request shapes that work on Opus 4.5 return a 400 on Opus 5.5, thinking can't be turned off, and the same text costs about 32% more tokens. Anthropic sent the deprecation notice on November 23. This morning I sent the same 24 request shapes to both models, ran 75 benchmark calls across five configs, and tested a small request converter against the live API. Everything below is what came back, not what the docs promise.

When Does Claude Opus 4.5 Stop Working?

The model deprecations page lists claude-opus-4-5-20251101 as deprecated on November 23, 2026 with retirement on January 22, 2027. The undated alias claude-opus-4-5goes with it. That's 55 days, and two of them are holidays most teams won't be deploying on.

Until January 22 nothing changes: Opus 4.5 answers exactly as before, so nothing in your logs will warn you. If you run Claude through Bedrock, Vertex or Foundry, those platforms set their own dates, so check the same page for your platform. This is the second 4.5-generation retirement in two months. Sonnet 4.5 goes on November 30, and the breakage there looked a lot like this one; I wrote that up in my Sonnet 4.5 migration test.

Start by finding every place that names the model. Fallback lists and no-code tools are the ones people miss:

# code, env files, workflow exports
grep -rnE "claude-opus-4-5" . --exclude-dir=node_modules --exclude-dir=.git

# n8n: export workflows first, then grep the JSON
n8n export:workflow --all --output=./wf.json && grep -c "claude-opus-4-5" wf.json

Which Opus 4.5 Requests Return 400 on Opus 5.5?

I built 24 request shapes that real integrations send: sampling params, the old thinking budget, prefill, forced tool use, structured outputs, the beta headers people copy from old examples, and the max output limits. Each went to claude-opus-4-5-20251101 and claude-opus-5-5 with anthropic-version: 2023-06-01, which is what most existing code still sends. The ones that matter:

Request shapeOpus 4.5Opus 5.5Fix
temperature: 0.7200400Remove it
top_k: 40200400Remove it
thinking: enabled, budget_tokens 2048200400Drop thinking, set effort
thinking: disabled200400Drop thinking, effort low
Assistant prefill as last message200400Instruction in system
tool_choice: any200400auto + instruction
tool_choice: tool (named)200400auto + instruction
interleaved-thinking beta + budget200400Drop beta and thinking
computer_20251124 tool200400computer_toolset_20260801
temperature: 1.0200200Remove anyway
temperature + top_p together400400Remove both
output_format, no beta header400400output_config.format
output_config.format200200None
effort low (with or without old beta)200200Drop the beta header
fine-grained tool streaming beta200200Drop the beta header
max_tokens: 128000400200New headroom
effort: max400200New option

The first nine rows are the migration. Each one works today on Opus 4.5 and fails on Opus 5.5. The error messages are clear, at least: `temperature` is deprecated for this model, This model does not support assistant message prefill, tool_choice: type "tool" and "any" are not supported for this model, and for thinking, a pointer to thinking.type.adaptive plus output_config.effort.

Three results surprised me:

  • temperature: 1.0 still passes on Opus 5.5under the 2023-06-01 API version, because it equals the default. Don't lean on it. API version 2026-10-21 rejects it, which I covered in what breaks on 2026-10-21.
  • Old beta headers are harmless. effort-2025-11-24 and fine-grained-tool-streaming-2025-05-14didn't cause errors on either model. The interleaved-thinking header only failed because it travels with a budget_tokens request.
  • Opus 4.5 already rejects output_format without its beta header.If your structured outputs work today, you're either on output_config.format or still sending structured-outputs-2025-11-13. Both kept working on Opus 5.5.

Is Opus 5.5 Actually Cheaper Than Opus 4.5?

On the pricing page, yes. Opus 5.5 is $4 input and $20 output per million tokens, against $5 and $25 for Opus 4.5. Two things eat that 20% discount.

The tokenizer counts about 32% more

The exact same prompts billed 26% to 38% more input tokens on Opus 5.5 (216 vs 288 on an invoice prompt, 350 vs 484 on a summary prompt). At 32% more tokens and 20% lower price, input costs you about 6% more than before, not 20% less. Any client-side token estimate tuned for Opus 4.5 is now wrong too.

Thinking is always on

Most Opus 4.5 traffic I see runs without thinking. On Opus 5.5 that option is gone. I ran five checkable tasks three times each (invoice extraction with tax math, a buggy interval-merge function graded by unit tests, 10-ticket classification, a conveyor-belt word problem, and a strict 3-bullet summary) across five configs:

Config (15 calls)Costvs Opus 4.5Mean latencyThinking tokensPassed
Opus 4.5, no thinking (old default)$0.074baseline2.6 s012/15
Opus 4.5, 4,096-token thinking budget$0.278+274%8.4 s7,77715/15
Opus 5.5, effort low$0.082+11%2.5 s1,48515/15
Opus 5.5, default (medium)$0.111+49%3.3 s2,90414/15
Opus 5.5, effort high$0.134+80%3.8 s3,98315/15

If you ran Opus 4.5 without thinking, set effort: "low"and the bill stays within about 11%. Leave the default and it's 49% higher. If you ran Opus 4.5 with a thinking budget, every Opus 5.5 config was at least 52% cheaper and 2.2x to 3.4x faster.

The pass column is the part I didn't expect. Opus 4.5 without thinking got the invoice wrong all three times: it computed 8.25% of $733.80 as $60.49 instead of $60.54, and carried the error into the total. Every Opus 5.5 run got it right, even at low effort. The one Opus 5.5 miss was a judgment call (it filed "I want to cancel my subscription" under billing instead of account).

Where Opus 5.5 got expensive was the summary. "Exactly 3 bullets, each under 20 words" made it think: 714 thinking tokens on one medium run and 1,309 on one high run, for a 3-line answer. That task cost 3.8x more at medium than on Opus 4.5. Formatting rules are a hidden thinking trigger.

Does Prompt Caching Change on Opus 5.5?

Yes, and this one works in your favor. The minimum cacheable prompt is 4,096 tokens on Opus 4.5 and 512 on Opus 5.5. Below the minimum, cache_control is silently ignored. No error, just full price.

I sent a lead-routing system prompt with cache_control three times to each model. Opus 4.5 counted it at 2,686 tokens and never cached it: all three calls showed cache_creation_input_tokens: 0 and cache_read_input_tokens: 0. Opus 5.5 counted 3,448 tokens, wrote the cache on call one and read it on calls two and three.

On every repeat call, input dropped from $0.0134 on Opus 4.5 to $0.0008 on Opus 5.5, about 16x cheaper. Cache reads on Opus 5.5 are $0.20 per million, against $0.50 on Opus 4.5. If your agents have 1,000-4,000-token system prompts you never bothered caching, add the marker during the migration.

How Do I Convert Opus 4.5 Requests Automatically?

When I have a dozen call sites, I put a converter in front of the client instead of editing each one. This is the one I ran today. It removes sampling params, maps the old thinking setting to an effort level, moves prefill and forced tool use into system instructions, moves output_format, drops dead beta headers and raises max_tokens:

DROP_BETAS = {"effort-2025-11-24", "interleaved-thinking-2025-05-14",
              "fine-grained-tool-streaming-2025-05-14"}

def to_opus_55(body: dict, betas: list[str] | None = None):
    b = {k: v for k, v in body.items() if k not in ("temperature", "top_p", "top_k")}
    b["model"] = "claude-opus-5-5"
    notes = []

    # 1. thinking is always on: map the old setting to an effort level
    thinking = b.pop("thinking", None) or {}
    budget = thinking.get("budget_tokens", 0) if thinking.get("type") == "enabled" else 0
    effort = "high" if budget >= 16000 else "medium" if budget else "low"
    oc = dict(b.get("output_config") or {})
    oc.setdefault("effort", effort)
    if "output_format" in b:                      # structured outputs moved
        oc["format"] = b.pop("output_format")
    b["output_config"] = oc

    # 2. prefill: a trailing assistant turn is a 400 now
    msgs = list(b["messages"])
    if msgs and msgs[-1]["role"] == "assistant":
        prefill = msgs.pop()["content"]
        if isinstance(prefill, list):
            prefill = "".join(p.get("text", "") for p in prefill)
        notes.append(f"Begin your reply with exactly: {prefill}")
    b["messages"] = msgs

    # 3. forced tool use: only auto and none are accepted
    tc = b.get("tool_choice") or {}
    if tc.get("type") == "tool":
        notes.append(f"You must call the {tc['name']} tool before answering.")
        b["tool_choice"] = {"type": "auto"}
    elif tc.get("type") == "any":
        notes.append("You must call one of the provided tools before answering.")
        b["tool_choice"] = {"type": "auto"}

    if notes:
        sys_ = b.get("system") or ""
        extra = "\n".join(notes)
        if isinstance(sys_, list):
            b["system"] = sys_ + [{"type": "text", "text": extra}]
        else:
            b["system"] = (sys_ + "\n\n" + extra).strip()

    # 4. max_tokens now covers thinking + text
    b["max_tokens"] = max(b.get("max_tokens", 0), 4096)
    return b, [x for x in (betas or []) if x not in DROP_BETAS]

I ran all 18 request shapes that succeed on Opus 4.5 (minus computer use) through it and sent them to Opus 5.5: 18 of 18 returned 200. Both forced-tool cases still produced a tool_use block, and the structured-output cases still returned valid JSON.

Three caveats before you ship it:

  • Prefill now shows up in the output.With a "Sure:" prefill, Opus 4.5 returned only the continuation. Opus 5.5 returned "Sure: ok". If your code glued the prefill onto the response, you'll print it twice.
  • An instruction isn't a guarantee. tool_choice: autoplus "you must call" worked on my weather tool, but it's a request, not a constraint. If a missing tool call breaks your pipeline, check for one and retry, or use structured outputs.
  • Content blocks move. Opus 5.5 can return a thinking block before the text (it did on the prefill case even at low effort). Code that reads content[0].text breaks. Find blocks by type.

Computer use needs a real rewrite, not a converter: computer_20251124 returns a 400 on the Claude API and you have to move to the computer_toolset_20260801toolset. Anthropic's Opus 5.5 migration guide has the agent loop changes.

What Should I Set max_tokens and Effort To?

On Opus 5.5, max_tokens caps thinking plus the answer, so old tight limits truncate. The 3-bullet summary used up to 1,435 output tokens at high effort. On Opus 4.5 the same task never went past 87. A max_tokens: 300 that was generous for a year will cut answers off mid-sentence with stop_reason: max_tokens.

My starting points after today's runs:

  • Opus 4.5 without thinking: effort low, max_tokens at least 4,096. Low used zero thinking tokens on classification and the code fix.
  • Opus 4.5 with a budget under 16K: effort medium, which is the default, but set it explicitly so a future default change doesn't surprise you.
  • Opus 4.5 with a large budget: effort high. Use max only where you measured a win, and give it 64K max_tokens.

If you used thinking: disabled to keep a latency-sensitive path fast, low effort was actually slightly faster than Opus 4.5 in my runs (2.5 s vs 2.6 s mean). I dug into the trade-offs of each level in turning off thinking on Opus and Sonnet 5.5. If you route some turns to other models, read what gets dropped when you switch models before mixing Opus 5.5 into an existing router.

How I Tested This

November 28, 2026, from a Mac mini in Allen, TX, with plain HTTP from Python against the Claude API and anthropic-version: 2023-06-01. Models: claude-opus-4-5-20251101 and claude-opus-5-5. The request grid was 24 shapes per model with a one-word prompt. The benchmark was 5 tasks x 3 runs x 5 configs, graded by code (exact JSON values, unit tests on the returned function, label match, final integer, bullet count). The caching test sent one system prompt three times per model with a fresh nonce. The converter test re-sent 18 shapes through it. Costs are list price from the usage fields; the whole run came to under $1. Small tasks on one account, so treat the percentages as a direction and re-baseline on your own traffic.

Migrating Off Opus 4.5?

I move production Claude agents and n8n workflows between model generations and measure cost before and after. If you have Opus 4.5 calls spread across code and automations and January 22 is getting close, send me what you're running.

Related Posts