◉CLAUDE LABJP
●CC 2.1.332 — No new Claude Code release over the weekend. 2.1.332 (11/25) is still current●ANALYTICS — A fix to search counts in the Enterprise Analytics API may raise numbers from 11/17 onward●SONNET 4.5 — Today, 11/30, is Sonnet 4.5's last day on the Claude API. Move to claude-sonnet-5-5●USAGE — Some users report weekly usage jumping right after upgrading to a higher plan●NEW — New: Does what a Project remembers carry over into your everyday chats?●BILLING — More readers are looking for what to check when a payment won't go through●CC 2.1.332 — No new Claude Code release over the weekend. 2.1.332 (11/25) is still current●ANALYTICS — A fix to search counts in the Enterprise Analytics API may raise numbers from 11/17 onward●SONNET 4.5 — Today, 11/30, is Sonnet 4.5's last day on the Claude API. Move to claude-sonnet-5-5●USAGE — Some users report weekly usage jumping right after upgrading to a higher plan●NEW — New: Does what a Project remembers carry over into your everyday chats?●BILLING — More readers are looking for what to check when a payment won't go through
Articles/API & SDK
⬡ API & SDK/2026-11-30Intermediate

The unit price drops 20%, yet the bill may rise: estimating the Opus 4.5 to 5.5 switch before January 22

claude-opus-4-5-20251101 retires on January 22, 2027, and the official replacement is claude-opus-5-5. Prices fall by a fifth, but the tokenizer changes and thinking can no longer be turned off. You will be able to count the cost per 1,000 of your own requests and pick a replacement and an effort level.

Claude API150Opus 5.5Model deprecation3CostMigration10

The notice reached me on the evening of November 23, while I was going back through store reviews. Claude Opus 4.5 retires on January 22, 2027, it said, and the recommended replacement is claude-opus-5-5.

As an indie developer I run a small script for my wallpaper app that sorts reviews arriving in several languages and flags the ones that need a reply. It is pinned to claude-opus-4-5-20251101. The pricing page says the replacement costs $4 instead of $5 per million input tokens and $20 instead of $25 for output — a fifth off on both sides.

A month earlier I had nearly signed off on the Sonnet 4.5 replacement as "cheaper" before stopping myself. So this time I distrusted the price column from the start. Opus, it turned out, had one more wrinkle that Sonnet did not.

Confirm the date and what it covers

The deprecation table (I re-read it on November 30, 2026) lists claude-opus-4-5-20251101 as deprecated on November 23 with retirement on January 22, 2027. The undated claude-opus-4-5 goes on the same day. That leaves 53 days from today.

Until then, requests keep succeeding. Nothing breaks, which is exactly how a deadline sneaks up on you. What worked for me was putting a "finish the estimate" date in the calendar instead of the retirement date itself. I picked mid-December.

A fifth off per token, about 4% more for the same text

Claude 4.7 and later use a newer tokenizer that, per the pricing notes, produces roughly 30% more tokens for the same text. Opus 4.5 sits on the old tokenizer and Opus 5.5 on the new one, so this migration crosses that line.

Multiply it out: 0.8 times the price, 1.3 times the tokens, comes to about 1.04. Even with zero thinking added, the same work costs slightly more.

Item (USD / MTok)Opus 4.5Opus 5.5Same text, adjusted (×1.3)
Input$5.00$4.00~$5.20 (+4%)
Output$25.00$20.00~$26.00 (+4%)
Cache write (5 min)$6.25$5.00~$6.50 (+4%)
Cache read$0.50$0.20~$0.26 (−48%)

Cache reads are the exception. On Opus 5.5 a hit costs 0.05x the base input price, so even with 30% more tokens it lands near half. If you read a long system prompt from cache on every call, your input side should actually get cheaper. The minimum cacheable prompt on Opus 5.5 is also shorter, at 512 tokens.

The 30% is a guide, not a constant. My reviews mix Japanese, English, and Spanish, and I'd rather assume each language moves differently.

On Opus 5.5, thinking stays on

This was the part Sonnet never raised. On Opus 4.5, if you send no thinking field, there is no thinking, and the output is just the answer. That is how my script ran.

On Opus 5.5, adaptive thinking is always on. Both thinking: {"type": "disabled"} and a budget_tokens setting come back as a 400. The only control is output_config.effort, which defaults to medium, and thinking tokens are billed as output.

Now look at the output price again. $20 over $25 is 0.8, so once output tokens grow past 1.25x, Opus 5.5 costs more than Opus 4.5 on that side. The tokenizer alone gets you to 1.3x. Any thinking at all pushes output cost up.

There's a second trap. max_tokens caps thinking and answer together. Keep the value you sized for answer text on 4.5, and thinking eats into it until responses stop with stop_reason: "max_tokens". Some of you may notice this before you notice the bill.

Count the cost per 1,000 of your own requests

The multiplication only tells you which way things move. How much thinking shows up depends on the task and on effort. So I decided to pull a few real requests and replay them on Opus 5.5.

Build a JSONL file from your Opus 4.5 logs: one line per request with the system prompt, the user input, and the logged input and output tokens. Ten to twenty is enough, mixing short and long ones.

# What this solves: replay a handful of real Opus 4.5 requests against Opus 5.5,
# count input (tokenizer change) and output (thinking you can no longer switch off) separately,
# and compare the cost per 1,000 requests.
import json
import sys
from dataclasses import dataclass
 
# Prices in USD per million tokens, copied from the official pricing page on 2026-11-30
PRICE = {
    "claude-opus-4-5-20251101": {"in": 5.00, "out": 25.00},
    "claude-opus-5-5": {"in": 4.00, "out": 20.00},
}
NEW = "claude-opus-5-5"
 
 
@dataclass
class Sample:
    system: str
    user: str
    old_in: int   # usage.input_tokens logged from Opus 4.5
    old_out: int  # usage.output_tokens logged from Opus 4.5 (answer text only, no thinking)
 
 
def load(path: str) -> list[Sample]:
    with open(path, encoding="utf-8") as f:
        return [Sample(**json.loads(line)) for line in f if line.strip()]
 
 
def measure(client, s: Sample, effort: str, max_tokens: int = 8000) -> tuple[int, int]:
    """Return input and output tokens on Opus 5.5. Output includes thinking tokens."""
    counted = client.messages.count_tokens(
        model=NEW, system=s.system,
        messages=[{"role": "user", "content": s.user}],
    ).input_tokens
    res = client.messages.create(
        model=NEW, max_tokens=max_tokens, system=s.system,
        messages=[{"role": "user", "content": s.user}],
        output_config={"effort": effort},  # no thinking field: it cannot be disabled anyway
    )
    if res.stop_reason == "max_tokens":
        print(f"  warning: cut off at max_tokens (effort={effort}); thinking is eating the answer budget", file=sys.stderr)
    return counted, res.usage.output_tokens
 
 
def per_1000(model: str, tin: float, tout: float) -> float:
    p = PRICE[model]
    return (tin * p["in"] + tout * p["out"]) / 1_000_000 * 1000
 
 
def report(client, samples: list[Sample], efforts=("low", "medium")) -> None:
    n = len(samples)
    old_in = sum(s.old_in for s in samples) / n
    old_out = sum(s.old_out for s in samples) / n
    base = per_1000("claude-opus-4-5-20251101", old_in, old_out)
    print(f"Opus 4.5      : in {old_in:,.0f} / out {old_out:,.0f} tokens  -> ${base:,.2f} per 1,000")
    for effort in efforts:
        pairs = [measure(client, s, effort) for s in samples]
        new_in = sum(p[0] for p in pairs) / n
        new_out = sum(p[1] for p in pairs) / n
        cost = per_1000(NEW, new_in, new_out)
        print(f"Opus 5.5 {effort:<6}: in {new_in:,.0f} (x{new_in / old_in:.2f}) / out {new_out:,.0f} (x{new_out / old_out:.2f})"
              f"  -> ${cost:,.2f} per 1,000 ({(cost / base - 1) * 100:+.0f}%)")
 
 
if __name__ == "__main__":
    import anthropic
    report(anthropic.Anthropic(), load(sys.argv[1] if len(sys.argv) > 1 else "opus45_samples.jsonl"))

Input is counted with count_tokens; output comes from the real response's usage.output_tokens. You can't know output without sending, so this script does cost a little. I limited effort to low and medium. Since medium is the default, that row shows what you pay if you set nothing.

Read the multipliers for input and output separately. If input is near 1.3x and output is far above that, the extra is thinking. In that case lower effort first; trimming the prompt won't move the number much.

Any row with stop_reason: "max_tokens" undercounts. Raise max_tokens and run it again.

Fix what returns a 400 before you swap

Replaying requests may hit a 400 straight away. Coming from Opus 4.5, three things tend to trip it:

  1. temperature, top_p, or top_k set (400 from 4.7 on)
  2. messages ending with an assistant prefill (400 from 4.6 on)
  3. tool_choice set to any or tool to force a tool call (400 on Opus 5.5, including on count_tokens)

The third is new with Opus 5.5 — the Sonnet 4.5 migration never asked you to care. My script used exactly that trick to guarantee a fixed shape for the classification. The official alternatives are auto with strict tool definitions, or structured outputs. For "one JSON object back" jobs like classification, structured outputs is shorter.

# What this solves: an Opus 4.5 call that forced a tool via tool_choice to guarantee JSON,
# rewritten with output_config.format so Opus 5.5 does not return a 400.
import json
import anthropic
 
client = anthropic.Anthropic()
 
REVIEW_SCHEMA = {
    "type": "object",
    "properties": {
        "topic": {"type": "string", "enum": ["crash", "ads", "billing", "content", "other"]},
        "needs_reply": {"type": "boolean"},
        "summary_en": {"type": "string"},
    },
    "required": ["topic", "needs_reply", "summary_en"],
    "additionalProperties": False,  # leave this out and the schema is rejected
}
 
 
def classify(review_text: str) -> dict:
    res = client.messages.create(
        model="claude-opus-5-5",
        max_tokens=2000,  # this cap now covers thinking too, so leave more room than on 4.5
        system="Classify the store review and decide whether it needs a reply.",
        messages=[{"role": "user", "content": review_text}],
        output_config={
            "effort": "low",
            "format": {"type": "json_schema", "schema": REVIEW_SCHEMA},
        },
    )
    if res.stop_reason == "refusal":
        return {"topic": "other", "needs_reply": True, "summary_en": "(check manually: the request was refused)"}
    # thinking blocks come first, so find the text block by type
    text = next(b.text for b in res.content if b.type == "text")
    return json.loads(text)

Drop additionalProperties: false and the schema is refused. And because Opus 5.5 puts thinking blocks first, reading content[0] blindly breaks — hence the search by type. For sweeping a whole codebase for arguments that will fail, see "Before Sonnet 4.5 retires, one script to find the arguments that will return a 400".

Opus 5.5 isn't the only destination

With numbers in hand, choose where to move. There are three candidates.

CandidatePrice (in / out)Good fitWatch for
claude-opus-5-5 (official)$4 / $20Work where judgment matters more than the bill; cache-heavy workThinking can't be disabled; set effort explicitly
claude-sonnet-5-5$2 / $10Classification, summaries, routine transforms where Opus was never really neededDefault effort is high; re-count it too
claude-opus-4-6 to 4-8 (stopgap)$5 / $25Calls you can't rewrite by January 22The table's date means "not sooner than," not a retirement date

The stopgaps look like they buy time, but the table only says "Not sooner than." claude-opus-4-6 won't stop before February 5, 2027; that is not a promise it runs any longer. I wrote about reading those dates in Not Sooner Than November 24 Is Not a Retirement Date: Matching My Own Model IDs to the Table on a Sunday. If you park something on a stopgap, put the next rewrite date in the calendar the same day.

When I asked myself why my review sorter used Opus at all, the answer was so it wouldn't miss subtle complaints written in other languages. But for deciding whether a review needs a reply, Sonnet 5.5 at low may well be enough. So I'm counting Sonnet 5.5 with the same script too — one more row in the price table is all it takes.

The price list sets the unit price; thinking sets the bill. Until the Opus 4.5 deadline, I'm keeping one rule: count those two separately before deciding anything.

What to do next

Pick ten representative requests from your logs and run the script for the low and medium rows. Whether output lands above or below 1.25x — once you know that, the Opus-or-Sonnet conversation gets much shorter.

Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

⬡ API & SDK2026-10-08
Before Sonnet 4.5 retires, one script to find the arguments that will return a 400
claude-sonnet-4-5 retires on November 30. Swapping the model ID is not enough: budget_tokens, prefill, and tool_choice will fail. Here is a scanner built from the official migration guide, its real output, and the order I would fix things in.
◉ Claude.ai2026-10-04
claude-sonnet-4-5 stops on November 30 — I checked the bill before calling its replacement cheaper
claude-sonnet-4-5-20250929 retires on November 30, 2026. The recommended claude-sonnet-5-5 has lower list prices, but a new tokenizer and a 400 on temperature change the math. After reading, you can audit your own calls and plan the switch in order.
⬡ API & SDK2026-10-25
Before upgrading the SDK turns temperature into a 400, I swept my call sites
With API version 2026-10-21, sending temperature, top_p, or top_k returns a 400 even at the default value. Here is how the switch happens through an SDK upgrade, a small scanner for the lines to fix first, and the order I'd fix them in.