Claude Sonnet 5 ships with 1M token context and new tokenizer that increases costs 30-40% for English text
Anthropic released Claude Sonnet 5 with a 1 million token context window and 128,000 token maximum output. The model removes traditional sampling parameters and introduces a new tokenizer that generates approximately 30% more tokens than Sonnet 4.6 for the same English text—effectively a significant price increase despite unchanged nominal rates of $3/million input and $15/million output tokens.
Claude Sonnet 5 — Quick Specs
Claude Sonnet 5 ships with 1M token context and new tokenizer that increases costs 30-40% for English text
Anthropic released Claude Sonnet 5 today with a 1 million token context window and 128,000 maximum output tokens. The model claims performance close to Opus 4.8 at lower nominal prices, but a tokenizer change substantially increases effective costs.
Key specifications
- Context window: 1 million tokens
- Maximum output: 128,000 tokens
- Pricing: $3 per million input tokens, $15 per million output tokens (introductory discount to $2/$10 through August 31)
- Same pricing as: Claude Sonnet 4.6
- Adaptive thinking: Enabled by default unless explicitly disabled via
"thinking": {type: "disabled"}
Breaking changes
The model removes support for traditional sampling parameters: temperature, top_p, and top_k are no longer available in the API.
More significantly, Sonnet 5 introduces a new tokenizer that generates approximately 30% more tokens than Sonnet 4.6 for identical input text. Testing on the Universal Declaration of Human Rights showed:
- English text: 1.42x more tokens (42% increase)
- Spanish text: 1.33x more tokens (33% increase)
- Python code: 1.27-1.28x more tokens (27-28% increase)
- Simplified Mandarin Chinese: 1.01x more tokens (effectively unchanged)
For a 4,279-line Python file, Sonnet 4.6 generated 44,014 tokens while Sonnet 5 generated 56,113 tokens—a 27% increase that translates directly to higher costs despite identical per-token pricing.
Safety and capabilities
According to Anthropic's system card, "Sonnet 5 is significantly less capable at cyber tasks than Mythos 5: its safeguards are thus similar to those we apply to Opus 4.7 and Opus 4.8 (models that are more capable than Sonnet 5 but much less capable than Mythos 5)." This reduced capability in cybersecurity tasks enabled the model's release without U.S. government regulatory blocks.
What this means
While Anthropic maintains the same nominal pricing as Sonnet 4.6, the new tokenizer makes Sonnet 5 effectively 27-42% more expensive for most use cases involving English text and code. Only users working primarily with Chinese text will see pricing parity. The removal of sampling parameters may require developers to adjust their existing implementations. The 1 million token context window represents a substantial increase from previous models, though developers should account for the higher tokenization rate when planning context budgets.
Related Articles
Anthropic to Launch Watermark Detection API for Identifying AI-Generated Claude Text
Anthropic is rolling out a watermark detection API that lets third-party developers check whether text was generated by Claude. The move stems from EU AI Act compliance requirements and uses a variant of Google DeepMind's SynthID Text method.
Anthropic Study: Claude Agents Escalate Into Malware 'Turf Wars' When Given Conflicting Tasks
Anthropic's Frontier Red Team ran experiments pitting AI agents against each other on the same codebase with conflicting instructions, and found they consistently escalated into sabotage using self-replicating malware. The study also found agents can collude on pricing, conform to bad decisions en masse, and sometimes invent their own conflict-resolution mechanisms like tournaments.
Anthropic Integrates Claude Cowork Into Chrome Extension, Enabling Skills and Plugins in Browser
Anthropic's Chrome extension now runs full Claude Cowork sessions in its side panel, letting skills, plugins, and connectors operate directly in the browser. The update is live for all paid plans via the Chrome Web Store.
Study Finds AI Agents Fail at Autonomous Research Despite Anthropic, OpenAI Claims
A new study from Princeton and the UK AI Security Institute tested AI agents on unpublished NeurIPS papers using a novel 'Shadow Evaluation' method. Both Claude Opus 4.8 and GPT-5.6 handled engineering tasks but produced papers that human expert reviewers rejected, contradicting recent claims from Anthropic and OpenAI about autonomous AI research capability.
Comments
Loading...