Workflow
Claude Sonnet 4 支持百万 Tokens 上下文:容量提升 5 倍,支持 7.5 万行代码一键处理
AI前线·2025-08-14 06:07

Core Viewpoint - Anthropic has significantly upgraded Claude Sonnet 4 by increasing the context length from 200,000 tokens to 1 million tokens, enhancing its capability to process large codebases and documents in a single request [2][3][4]. Group 1: Upgrade Features - The upgrade allows developers to handle vast amounts of code or documents without the need for content splitting, enabling large-scale code analysis and optimization [3][4]. - Previously, the 200,000 tokens limit was considered a major weakness of Claude Sonnet, which has now been addressed with this enhancement [4]. Group 2: Pricing and Accessibility - The new 1 million tokens context feature is currently available only to Tier 4 users, who have spent over $400 on API usage [4]. - Anthropic has introduced a tiered pricing model based on context length, similar to competitors like Gemini and OpenAI, with specific pricing for different token ranges [5][6]. Group 3: Competitive Landscape - Users have reported that Claude Sonnet 4 is faster and more concise compared to Gemini 2.5 Pro, making it suitable for AI agent applications, although it is perceived as expensive [5].