Introduction
Claude Sonnet takes a major leap: it now supports up to 1 million tokens of context, redefining what’s possible in artificial intelligence. This Anthropic innovation enables handling complex projects, analyzing large codebases, and synthesizing documents at unprecedented scale. Discover why this evolution matters for developers and businesses.
Context
In recent years, the demand for AI models capable of processing vast amounts of data has surged. Anthropic’s Claude Sonnet now offers a context window of 1 million tokens—five times the previous capacity. This feature is in public beta via the Anthropic API and Amazon Bedrock, with Google Cloud Vertex AI support coming soon.
The Challenge
Until now, context limits prevented working with entire codebases or large document sets in a single request. Developers had to split data, risking loss of coherence and increased complexity. Building truly context-aware AI agents was also constrained.
Solution / Approach
With 1 million token support, Claude Sonnet enables:
- Analyzing complete codebases, including tests and documentation, for unmatched system-wide insight
- Synthesizing and correlating hundreds of documents—contracts, research papers—while maintaining global context
- Building AI agents that handle complex workflows and extended interactions without losing coherence
Pricing reflects the increased power: above 200,000 tokens, input/output costs rise, but options like batch processing help optimize expenses.
"Claude Sonnet 4 remains our go-to model for code generation workflows, consistently outperforming others in production. With the 1M context window, our developers can tackle much larger projects while maintaining the accuracy needed for real-world coding."
Eric Simons, CEO and Co-founder of Bolt.new
"Claude Sonnet 4 with 1M token context has supercharged Maestro’s autonomous capabilities, our software engineering agent. We can now run multi-day sessions on real-world codebases, opening a new era in agentic software engineering."
Sean Ward, CEO and Co-founder of iGent AI
FAQ
- Who can access the 1M token support? Currently Anthropic API Tier 4 and custom customers, with broader rollout underway.
- What are the costs? Above 200K tokens, input/output pricing increases. Batch processing offers additional savings.
- Which platforms support this feature? Anthropic API, Amazon Bedrock, and soon Google Cloud Vertex AI.
Conclusion
Expanding Claude Sonnet to 1 million tokens marks a turning point for AI in software development, document analysis, and context-aware agents. Anthropic strengthens its leadership, but it’s important to assess costs and technical limits before large-scale adoption.