Merge Gateway
Anthropic announced that Claude Sonnet 4 now supports up to 1 million tokens of context on the Anthropic API, a 5x increase enabling processing of entire codebases, extensive document sets, and agents maintaining coherence across hundreds of tool calls. The 1M context window entered public beta on the Claude Developer Platform, with Amazon Bedrock support and later Google Cloud Vertex AI availability added in August 2025. For prompts over 200K tokens, pricing adjusts to $6 per million input tokens and $22.50 per million output tokens, while standard prompts under 200K remain at $3 input and $15 output per million tokens. The longer context pairs with prompt caching to reduce latency and costs, and batch processing offers an additional 50% savings. Bolt.new cited Sonnet 4 as its go-to model for code generation workflows.