Anthropic Capability major

1M token context window enters beta for Claude Sonnet 4

Claude Sonnet 4 gained a 1M token context window in public beta on the Claude API and Amazon Bedrock — 5x the standard 200K — with prompts over 200K tokens billed at $6/$22.50 per million tokens.

What does this mean for me?

  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Prompts over 200K tokens cost double — $6/$22.50 per million instead of $3/$15 — so model the spend before letting anyone paste whole codebases into requests. Note the Sonnet 4 beta closed on 30 April 2026; 1M context is now GA on Opus 4.6 and Sonnet 4.6.

  • Engineer

    What to change, what breaks, what to test Worth knowing

    On `claude-sonnet-4-20250514` the 1M beta has ended, so build new long-context work on Opus 4.6 or Sonnet 4.6 where it is generally available. Pair large prefixes with prompt caching and the Batch API to blunt the long-context rate.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — the Claude apps manage context length for you.

The 1M context beta made it possible to send entire codebases or large document sets in one request on claude-sonnet-4-20250514.

Pricing is tiered by prompt size: at or below 200K tokens the normal $3/$15 per million applies; above 200K tokens the long-context rate of $6/$22.50 applies. Prompt caching and the Batch API can be combined with it to reduce cost.

Vertex AI followed on August 26, 2025. The beta ended for Sonnet 4 and Sonnet 4.5 on April 30, 2026, after 1M context went generally available on Opus 4.6 and Sonnet 4.6.

Pricing

ModelInput / MTokOutput / MTokEffective
claude-sonnet-4-20250514$6$22.52025-08-12
Long-context rate for prompts over 200K tokens; prompts at or below 200K stay at $3/$15

Platform availability

PlatformModel IDStatus
claude-apiclaude-sonnet-4-20250514preview
bedrockanthropic.claude-sonnet-4-20250514-v1:0preview

Topics: Prices and limits

Terms on this page: Batch processing, Context window, Per million tokens (MTok), Prompt caching

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person