Claude Sonnet 4 now supports 1M tokens of context

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Anthropic finally matches the 1M-token context offered by Google and OpenAI, but charges a 2x premium for prompts over 200K and gates access to tier-4 API users.

Read this as

Anthropic's Claude Sonnet 4 can now process up to 1 million tokens, roughly 750,000 words, in a single request. That is five times its previous limit of 200,000 tokens. Google's Gemini and OpenAI already offered similar-sized context windows. Access currently requires a premium pricing tier and at least $400 of API credit.

Anthropic has closed its context-window gap with Google and OpenAI, but at a cost: prompts over 200K tokens are billed double, $6 per million input versus $3. Only tier-4 customers with $400+ in API credits get access today, with broader availability promised in coming weeks. Competitors like Gemini 2.5 Pro remain cheaper at both context lengths.

Claude Sonnet 4 now accepts 1M-token inputs (5x the previous 200K limit), enabled by sending the context-1m-2025-08-07 beta header. Pricing is context-length-dependent: ≤200K prompts at $3/$15 per million input/output tokens, >200K at $6/$22.50. Access is restricted to tier-4 users ($400+ purchased) in public beta. Gemini 2.5 Pro charges $1.25/$10 below 200K and $2.50/$15 above.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Sonnet 4 Anthropic Gemini 2.5 Pro OpenAI Claude 3

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

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.