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.

Anthropic has rolled out extended context support for Claude Sonnet 4, expanding its capacity to handle up to 1 million tokens on the Anthropic API. The feature, now in public beta for Tier 4 (service levels) and custom rate-limit customers, is also available on Amazon Bedrock, with Google Cloud’s Vertex AI support coming soon.

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.

Sean Ward, CEO and Co-founder of iGent AI, said, “This leap unlocks true production-scale engineering—multi-day sessions on real-world codebases—establishing a new paradigm in agentic software engineering.”

Anthropic plans a broader rollout in the coming weeks and is exploring the integration of long context into other Claude products. With the new context window limit, Anthropic might bounce back to compete with Google Gemini for users looking for the same.

📣 Want to advertise in AIM? Book here

Picture of Ankush Das
Ankush Das
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 ankush.das@aimmediahouse.com
Related Posts
AIM Print and TV
Don’t Miss the Next Big Shift in AI.
Get one year subscription for ₹5999
Download the easiest way to
stay informed