Article Complete
AI NewsContextual Overkill

Claude Sonnet 4 Gets 1M Token Context Window

Anthropic’s latest move to expand the context window, now in public beta, might encourage Google Gemini users to give it another try.

Claude Sonnet 4 Gets 1M Token Context Window

Key takeaways

  • Expand context window for Claude Sonnet 4 to 1 million tokens in public beta.
  • Enable comprehensive workflows in large-scale code analysis and document processing.
  • Adjust pricing for prompts over 200,000 tokens to reflect higher compute costs.
  • Introduce prompt caching and batch processing to reduce latency and costs.
  • Plan broader rollout and integration of long context into other Claude products.

Takeaways drafted with AI from the article text.

The update represents a fivefold increase from the previous limit, enabling use cases such as analysing codebases exceeding 75,000 lines, synthesising dozens of research papers, and powering agents that maintain context across hundreds of tool calls. Anthropic says this unlocks more comprehensive workflows in large-scale code analysis, document processing, and multi-step automation.

Pricing for prompts exceeding 200,000 tokens has been adjusted to reflect higher compute costs, at $6 per million tokens for input and $22.50 per million tokens for output. Meanwhile, prompts within 200K remain priced at $3 and $15, respectively. 

Prompt caching and batch processing are available to cut latency and costs, with batch mode offering up to 50% savings. Early adopters are already testing the expanded window. 

“With the 1M context window, developers can now work on significantly larger projects while maintaining the high accuracy we need for real-world coding,” said Eric Simons, CEO of Bolt.new.

Published

Corrections: AIM corrects errors of fact and notes the change on the story. Spotted one? Tell the editors. Read our editorial standards.

More in this story

Anthropic · 5 stories
  1. Anthropic Will Use Chain of Thought Reasoning to Improve Prompts
  2. You are here: Claude Sonnet 4 Gets 1M Token Context Window
  3. Anthropic Sues Pentagon over Supply Chain Risk Label
  4. Anthropic Introduces Claude Science for End-to-End Scientific Research
  5. Anthropic Tops OpenAI’s Annual Revenue on the Way to the Wall Street: Report
About the author

Editor

I am a tech aficionado and a computer science graduate with a keen interest in AI, Coding, Open Source, Global SaaS, and Cloud. Have a tip? Reach out to

All stories
Belamy · Daily

The day’s AI news, before your first meeting.