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.
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
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
A self-hosted file manager fork with OIDC, LDAP, and real-time search
FileBrowser Quantum lets teams manage multiple storage sources with enterprise authentication and real-time search without complex setup, saving admin time and reducing security risk.
A Go implementation of MCP for connecting LLM apps to tools and data
Go developers can expose LLM tools without writing MCP plumbing, saving time on integration.
An open-source Canva alternative you can self-host, with video export
Self-hosted design tools let teams avoid subscription fees and keep data on their own servers, while adding video export unlocks new content formats for social media creators.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
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.