Claude Sonnet 4 URL: https://knowledge.ivjn.us/ar/works/claude-sonnet-4.html Claude Sonnet 4 是 Anthropic 于 2025 年 5 月 22 日发布的 Claude 4 家族中端主力模型,接替 Claude 3.7 Sonnet。 Claude Sonnet 4 是 Anthropic 于 2025 年 5 月 22 日发布的 Claude 4 家族中端主力模型,接替 Claude 3.7 Sonnet。[^s1] ## 发布背景 发布时上下文窗口为200,000 tokens,最大输出为64,000 tokens。[^s1] 与 Claude Opus 4 同日作为 Claude 4 家族发布,是接替 Claude Sonnet 3.7 的中端均衡主力,免费用户亦可使用 Sonnet 4。[^s1] ## 定价 每百万 token 输入 3 美元、输出 15 美元。[^s1] ## 性能表现 以下为 Anthropic 公布的自家评测结果,尚未经独立复现。[^s1] - SWE-bench Verified:72.7%(略高于 Claude Opus 4 的 72.5%,大幅高于前代 Claude Sonnet 3.7)[^s1] - Terminal-bench:35.5%(低于 Claude Opus 4 的 43.2%)[^s1] - GPQA Diamond:75.4%(低于 Claude Opus 4 的 75.5%)[^s1] - TAU-bench:Retail 80.5%、Airline 60.0%(与 Claude Opus 4 的 Retail 81.4%、Airline 59.6% 大致相当)[^s1] ## 主要特点 - 为混合推理模型,支持扩展思考中调用工具(beta)、并行工具调用和改进的记忆能力;同日 Claude Code 正式全面可用。[^s1] - 部署于 AI Safety Level 2,而非 Opus 4 的 ASL-3;2025-08-12 起支持 100 万 token 上下文公开测试版,为默认 20 万 token 的 5 倍。[^s1] ## 定位与后续 Claude 4 家族面向高用量日常任务的中端均衡主力,接替 Sonnet 3.7,后继为 Sonnet 4.5,现已退役,官方推荐替代为 Sonnet 5.5。 其前代为[Claude 3.7 Sonnet](https://knowledge.ivjn.us/ar/works/claude-3-7-sonnet.html)。[^s1] Updated: 2026-11-10 Relations: - Published by: Anthropic https://knowledge.ivjn.us/ar/organizations/anthropic.html Mentioned in: - Claude Sonnet 4.5 https://knowledge.ivjn.us/ar/works/claude-sonnet-4-5.html Sources: - Introducing Claude 4 — Anthropic https://www.anthropic.com/news/claude-4 - Claude Sonnet 4 | Generative AI on Vertex AI | Google Cloud Documentation https://docs.cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude/sonnet-4 - Anthropic announces its Claude 4 family of models - 9to5Mac https://9to5mac.com/2025/05/22/anthropic-announces-claude-4/ - Anthropic Model Deprecations: Claude Retirement Dates (2026) https://www.layer3labs.io/guides/anthropic-model-deprecations