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.
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
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
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.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.