What's new in Claude Sonnet 5

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Claude Sonnet 5's new tokenizer makes text-heavy prompts cost up to 40% more than the sticker price suggests, and sampling parameters are gone for good.

Read this as

Anthropic has released Claude Sonnet 5, a new AI model it says performs almost as well as its flagship Opus 4.8 at lower prices. The official price is $3 per million input tokens, but a new tokenizer means the same text counts as roughly 30% more tokens, so real costs rise. Pricing stays the same until 31st August, when the introductory discount ends.

Claude Sonnet 5 launched at Sonnet 4.6 pricing ($3/$15 per million tokens, discounted to $2/$10 until 31st August), but its new tokenizer produces about 30% more tokens for the same text, so English text costs roughly 1.4x what Sonnet 4.6 did. Spanish is 1.33x, Python code 1.28x, Mandarin unchanged. Temperature, top_p and top_k are no longer supported, so API changes may be needed.

Sonnet 5 matches Opus 4.8's performance claim with a 1M-token context window, 128k max output, and adaptive thinking enabled by default (disable with {"type":"disabled"}). Its safeguards match Opus 4.7/4.8 because it is much weaker than 'Mythos 5' at cyber tasks, per the system card. Simon Willison's token measurements: 1.42x English, 1.33x Spanish, 1.27x Python vs Sonnet 4.6; new tokenizer is the effective cost story.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Sonnet 5 Claude Sonnet 4.6 Opus 4.8 Mythos 5 Anthropic Claude Token Counter

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.