数据状态

同步自 OpenRouter · 337 个模型 · source=openrouter · 2026-08-01T20:13:36.328Z

anthropic

Claude Sonnet 4

anthropic/claude-sonnet-4

Claude Sonnet 4 是 Anthropic 于 2025 年 5 月发布的 Claude 4 系列平衡模型,显著提升前代 Sonnet 3.7 的编码和推理能力,支持 1M 上下文窗口及混合推理模式(快速响应与扩展思考)。模型优化了自主代码库导航、Agent 驱动工作流、复杂指令遵循和工具使用,适用于软件开发、AI 助手、高容量内容生成、专业分析等场景。支持文本与图像输入,输出文本。知识截止以厂商/网关为准。后续有 4.5、4.6 等迭代版本,进一步增强 Agent 与长任务能力。以厂商/网关为准。

Anthropic 平衡型 Sonnet 模型,擅长编码与推理,支持 1M 上下文。

ToolsReasoningVision闭源text+image+file->text
上下文1M
输入 $/M$3.00
输出 $/M$15.0
智力指数28.9
代码指数37.6
Agent / Arena16.6
Claude · Anthropic: Claude Sonnet 4 配图
模型家族 · 历史版本 · 知识库

Claude

Anthropic · 知识库 159 模 / 31 族

Anthropic 平衡型 Sonnet 模型,擅长编码与推理,支持 1M 上下文。

Claude Sonnet 4 是 Anthropic 于 2025 年 5 月发布的 Claude 4 系列平衡模型,显著提升前代 Sonnet 3.7 的编码和推理能力,支持 1M 上下文窗口及混合推理模式(快速响应与扩展思考)。模型优化了自主代码库导航、Agent 驱动工作流、复杂指令遵循和工具使用,适用于软件开发、AI 助手、高容量内容生成、专业分析等场景。支持文本与图像输入,输出文本。知识截止以厂商/网关为准。后续有 4.5、4.6 等迭代版本,进一步增强 Agent 与长任务能力。以厂商/网关为准。

Anthropic Claude 系列,长文、代码与安全对齐表现突出。

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

  • Anthropic 平衡型 Sonnet 模型,擅长编码与推理,支持 1M 上下文。
  • 归并版本 21 个
  • Sonnet 4 版本,2025 年 5 月发布,1M 上下文窗口,参数量以厂商为准

适用场景

  • 软件开发与代码审查
  • 长上下文 Agent 任务
  • 专业文档与分析

能力 / 优势

  • 编码与调试
  • 复杂推理
  • Agentic 工作流
  • 工具调用

边界 / 不适合

  • 需要最前沿智能的极复杂任务
  • 极低成本高吞吐简单查询

接入提示:通过 OpenRouter 使用 OpenAI 兼容 API,模型 ID 为 anthropic/claude-sonnet-4;支持 1M 上下文,测速入口为 OpenRouter 平台。

claudesonnetanthropiccodingreasoning对话代码闭源

常见问题

Claude Sonnet 4 支持哪些输入模态?

支持文本和图像输入,输出文本。

该模型的上下文长度是多少?

支持 1M 上下文窗口。

历史版本 / 相关变体

版本模型参数来源说明
4.8Claude Opus 4.8 (Fast)
anthropic/claude-opus-4.8-fast
OpenRouter
4.8Claude Opus 4.8
anthropic/claude-opus-4.8
OpenRouter
4.7Claude Opus 4.7 (Fast)
anthropic/claude-opus-4.7-fast
OpenRouter
4.7Claude Opus 4.7
anthropic/claude-opus-4.7
OpenRouter
4.6Claude Sonnet 4.6
anthropic/claude-sonnet-4.6
OpenRouter
4.6Claude Opus 4.6
anthropic/claude-opus-4.6
OpenRouter
4.5Claude Opus 4.5
anthropic/claude-opus-4.5
OpenRouter
4.5Claude Haiku 4.5
anthropic/claude-haiku-4.5
OpenRouter
4.5Claude Sonnet 4.5
anthropic/claude-sonnet-4.5
OpenRouter
4.1Claude Opus 4.1
anthropic/claude-opus-4.1
OpenRouter
Claude Opus 5 (Fast)
anthropic/claude-opus-5-fast
OpenRouter
Claude Opus 5
anthropic/claude-opus-5
OpenRouter
Claude Sonnet 5
anthropic/claude-sonnet-5
OpenRouter
Claude Fable Latest
~anthropic/claude-fable-latest
OpenRouter
Claude Fable 5
anthropic/claude-fable-5
OpenRouter
Anthropic Claude Haiku Latest
~anthropic/claude-haiku-latest
OpenRouter
Anthropic Claude Sonnet Latest
~anthropic/claude-sonnet-latest
OpenRouter
Claude Opus Latest
~anthropic/claude-opus-latest
OpenRouter
Claude Opus 4
anthropic/claude-opus-4
OpenRouter
当前Claude Sonnet 4
anthropic/claude-sonnet-4
OpenRouter
Claude 3 Haiku
anthropic/claude-3-haiku
OpenRouter

定价与限制

输入$3.00 / 百万 tokens
输出$15.0 / 百万 tokens
缓存读 / 写$0.300 / $3.75
最大输出64k
输入模态image, text, file
输出模态text
HF

支持参数

include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_ktop_p

价格与基准分优先同步自 OpenRouter;网关短 ID 由本站平台清单补全,介绍/历史版本融合 Hugging Face 检索与家族知识库。能力验真请用 bench_v1 实验室 · OCR 天梯