model releaseAnthropic

Claude Sonnet 5 ships with 1M token context and new tokenizer that increases costs 30-40% for English text

TL;DR

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.

2 min read
0

Claude Sonnet 5 — Quick Specs

Context window1000K tokens
Input$3/1M tokens
Output$15/1M tokens

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

model release

Anthropic releases Claude Sonnet 5 at $2/1M input tokens, 63.2% agentic coding benchmark

Anthropic has released Claude Sonnet 5, its new mid-tier model optimized for agentic tasks, priced at $2 per million input tokens through August 31 before rising to $3/1M. The model scores 63.2% on agentic coding benchmarks, approaching Opus 4.8's 69.2% performance at a significantly lower price point.

model release

Anthropic releases Claude Sonnet 5 with improved agentic capabilities, $2/$10 per million tokens through August

Anthropic has released Claude Sonnet 5, replacing Sonnet 4.6 as its medium-sized model. The company claims improved agentic performance approaching Opus 4.8 levels while maintaining lower pricing at $2 per million input tokens and $10 per million output tokens through August 31.

model release

Claude Sonnet 5 launches on AWS Bedrock with Opus-level intelligence at Sonnet pricing

Anthropic has released Claude Sonnet 5 on Amazon Bedrock and Claude Platform on AWS. The model delivers what Anthropic describes as near-Opus intelligence while maintaining Sonnet-tier pricing, with promotional rates available through August 31, 2026.

product update

Cline v4.0.5 Adds Claude Sonnet 3.5 Support Across 7 API Providers

Cline, the VSCode AI coding assistant, released v4.0.5 with support for Anthropic's Claude Sonnet 3.5 across seven API providers. The update includes model picker integration and pricing corrections for the model.

Comments

Loading...