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$2/1M tokens
Output$10/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.5, Now Powering Free Tier on Claude.ai

Anthropic released Claude Sonnet 5.5, claiming it runs 30%+ faster and costs up to 30% less than Sonnet 5 while beating it on benchmarks, at the same price. The model now powers the free tier on claude.ai, giving Anthropic a notably stronger free offering than OpenAI's ChatGPT.

model release

Anthropic Releases Claude Sonnet 5.5: 30% Faster, 30% Cheaper Than Sonnet 5

Anthropic has released Claude Sonnet 5.5, the second model in its Claude 5.5 family following last week's Opus 5.5. The model runs more than 30% faster and costs up to 30% less for most work while keeping Sonnet 5's per-token pricing.

changelog

Anthropic Python SDK 1.9.0 Adds Reference to Unreleased 'claude-sonnet-5-5' Model ID

Anthropic's anthropic-sdk-python v1.9.0 release adds a reference to an unannounced 'claude-sonnet-5-5' model ID, a new between_tools thinking type, and the ability to run tool calls while a reply streams. No pricing, context window, or benchmark data for the model has been disclosed.

model release

Anthropic Launches Claude Sonnet 5.5, Claims 30% Faster Performance at Lower Cost Than Predecessor

Anthropic has released Sonnet 5.5, the latest version of its mid-tier Claude model, claiming 30% faster performance and significantly lower token costs than its predecessor. The company says the model now outperforms Opus 5.5 on agentic coding tasks and carries cyber capabilities comparable to Opus 5.

Comments

Loading...