Claude Sonnet 4: 1 Million Token Context Window!

2025-08-13
Claude Sonnet 4: 1 Million Token Context Window!

Anthropic has boosted Claude Sonnet 4's context window to a massive 1 million tokens—a 5x increase! This allows processing entire codebases (75,000+ lines of code) or dozens of research papers in a single request. The long context support is in public beta on the Anthropic API and Amazon Bedrock, with Google Cloud's Vertex AI coming soon. This unlocks powerful new use cases like large-scale code analysis, document synthesis, and context-aware agents. While pricing adjusts for prompts exceeding 200K tokens, prompt caching and batch processing offer cost savings. Early adopters like Bolt.new and iGent AI are already leveraging this enhanced capability for code generation and software engineering tasks.