◉CLAUDE LABJP
●2.1.312 — Fixes Claude overwriting very large CLAUDE.md files and skills going missing after a Bash cd●API — The Messages API maximum request size grew from 32 MB to 128 MB (10/28)●SONNET 4.5 — Retires on the Claude API on 11/30, 31 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●API — In API version 2026-10-21, passing temperature, top_p or top_k returns a 400 error●NEW — I Put a Ten-Line Promise File at the To…●2.1.312 — Fixes Claude overwriting very large CLAUDE.md files and skills going missing after a Bash cd●API — The Messages API maximum request size grew from 32 MB to 128 MB (10/28)●SONNET 4.5 — Retires on the Claude API on 11/30, 31 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●API — In API version 2026-10-21, passing temperature, top_p or top_k returns a 400 error●NEW — I Put a Ten-Line Promise File at the To…
Articles/Claude.ai
◉ Claude.ai/2026-04-03Intermediate

Running Claude Sonnet 4.6 in Production While Scouting the Move to Sonnet 5

Claude Sonnet 4.6 shipped February 17, 2026 and is now legacy, with retirement no sooner than February 17, 2027. Real prices against Opus 4.6, the 1M context, thinking, Computer Use, and the five places a Sonnet 5 migration returns 400.

claude-sonnet-46claude-sonnet-5claude-ai17model-migration5computer-use4production111cost-optimization31intermediate

✦ Premium Article

Holding Sonnet 4.6, or Folding It

I was staring at the per-model breakdown on my billing page one night. The Sonnet 4.6 row was still the longest bar by far, and right beneath it sat a short new row for Sonnet 5, which I had only started testing. Two weeks had gone by without me deciding which way to lean, and I noticed it standing in front of that screen.

Claude Sonnet 4.6 shipped on February 17, 2026 and still runs without trouble. Its status in the docs, though, has changed to legacy, and the recommended replacement is Claude Sonnet 5. Retirement is stated as no sooner than February 17, 2027 (Claude Sonnet 4.6 — Claude Platform Docs). There is no reason to rush. There is also no reason to keep postponing the scouting trip.

What I'd rather say first is that the thing which clouds a migration decision isn't capability — it's how cost presents itself. Line up the list prices and Sonnet 5 looks cheaper. As we'll see later, its new tokenizer produces roughly 30% more tokens for the same text, so the bill doesn't fall the way the price sheet suggests.

Specs, the 1M context, where thinking stands today, how to wire Computer Use, and the spots that return 400 on Sonnet 5 — in the order I hit them.


Key Specifications and Performance Benchmarks

Context Window

Claude Sonnet 4.6 supports a 1,000,000-token (1M token) context window. To put this in perspective, that's approximately 750,000 words in English — equivalent to around 2,500 pages of text. This isn't just a headline number; it fundamentally changes how you can architect AI applications.

The 1M window was a beta at launch. The current docs describe it differently: Claude 4.6 and later models include the full 1M token context window at standard pricing, so a 900k-token request is billed at the same per-token rate as a 9k-token one (Pricing — Long context pricing). No beta header is required.

Computer Use Performance

Sonnet 4.6 sits at 72.5 on OSWorld-Verified for computer use. Anthropic's launch post describes the arc rather than a single jump: across sixteen months from Sonnet 3.5, OSWorld scores moved from the teens into the low 70s, and scores from Sonnet 4.5 onward were measured on OSWorld-Verified, an in-place upgrade of the original benchmark (Introducing Claude Sonnet 4.6). Worth remembering when you compare numbers across generations: a re-measurement sits in the middle of that line.

Read 72.5 the other way and it says more than one attempt in four still goes sideways. What I took from the number wasn't an arrival point but a design constraint — build as if the failing quarter is normal.

Extended Thinking

Sonnet 4.6 supports Extended Thinking, allowing the model to work through complex problems systematically before delivering its response. This dramatically improves accuracy on tasks involving multi-step reasoning, mathematical derivations, system design, and nuanced judgment calls.

Pricing and Rate Limits

Sonnet 4.6 holds the same pricing as Sonnet 4.5. Cache writes come in two flavours — five minutes and one hour — at different rates, which is the part people miss.

ItemSonnet 4.6 (legacy)Sonnet 5 (current)
Input$3 / MTok$2 / MTok
Output$15 / MTok$10 / MTok
Cache write (5 min)$3.75 / MTok$2.50 / MTok
Cache write (1 hour)$6 / MTok$4 / MTok
Cache read$0.30 / MTok$0.20 / MTok
Context / max output1M / 128K tokens1M / 128K tokens
TokenizerPreviousNew (about 30% more tokens for the same text)

Prices come from Pricing — Claude Platform Docs. The Batch API's 50% discount stacks straight on top of those rates.

The Messages Batches API raises max_tokens to 300,000 through its extended-output beta. The standard ceiling is 128K tokens, so that gap is what you're buying for long-form generation and large structured extraction.


✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦Rebuild the Opus 4.6 versus Sonnet 4.6 cost comparison from real list prices, then decide where your own workload belongs
✦Get working code for the 1M context, thinking, Computer Use, and Prompt Caching that accounts for what legacy models still allow
✦Learn the five breaking changes that return 400 on Sonnet 5, and how to price a move once the tokenizer shift is included
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
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 →

Related Articles

◉ Claude.ai2026-04-29
Make Claude Your Production Debugging Companion: A Practical Design for Log Triage, Hypothesis Generation, and Repro Scripts
A field-tested blueprint for solo developers who carry their own pager. We split production debugging into three jobs Claude can actually own — log summarization, hypothesis generation, and minimal repro — with full prompts, sanitization code, and traps that cost me real downtime.
◉ Claude.ai2026-10-23
Moving a Long Claude Chat to a New One: The Three Items I Keep in the Handover Note, and What I Leave Out
When a long Claude conversation gets slow or eats your usage, a full summary is the wrong thing to carry over. Keep decisions, rejected ideas and the next step, and use this ready-made note template.
◉ Claude.ai2026-09-14
Picking Up Where You Left Off: When to Lean on Claude's Memory and When to Ask It to Search
Claude's memory and past-chat search are two different mechanisms. How to tell which one answered you, why project boundaries block searches, why deleting a chat leaves its memory behind, and which plans get what.