同步自 OpenRouter · 400 个模型 · source=openrouter · 2026-08-10T01:43:56.168Z
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 上下文。

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 上下文。
- 归并版本 32 个
- Sonnet 4 版本,2025 年 5 月发布,1M 上下文窗口,参数量以厂商为准
适用场景
- 软件开发与代码审查
- 长上下文 Agent 任务
- 专业文档与分析
能力 / 优势
- 编码与调试
- 复杂推理
- Agentic 工作流
- 工具调用
边界 / 不适合
- 需要最前沿智能的极复杂任务
- 极低成本高吞吐简单查询
接入提示:通过 OpenRouter 使用 OpenAI 兼容 API,模型 ID 为 anthropic/claude-sonnet-4;支持 1M 上下文,测速入口为 OpenRouter 平台。
常见问题
Claude Sonnet 4 支持哪些输入模态?
支持文本和图像输入,输出文本。
该模型的上下文长度是多少?
支持 1M 上下文窗口。
历史版本 / 相关变体
| 版本 | 模型 | 参数 | 来源 | 说明 |
|---|---|---|---|---|
| 4.8 | Claude Opus 4.8 (Fast) anthropic/claude-opus-4.8-fast | — | OpenRouter | |
| 4.8 | Claude Opus 4.8 anthropic/claude-opus-4.8 | — | OpenRouter | |
| 4.7 | Claude Opus 4.7 (Fast) anthropic/claude-opus-4.7-fast | — | OpenRouter | |
| 4.7 | Claude Opus 4.7 anthropic/claude-opus-4.7 | — | OpenRouter | |
| 4.6 | Claude Sonnet 4.6 anthropic/claude-sonnet-4.6 | — | OpenRouter | |
| 4.6 | Claude Opus 4.6 anthropic/claude-opus-4.6 | — | OpenRouter | |
| 4.5 | Claude Opus 4.5 anthropic/claude-opus-4.5 | — | OpenRouter | |
| 4.5 | Claude Haiku 4.5 anthropic/claude-haiku-4.5 | — | OpenRouter | |
| 4.5 | Claude Sonnet 4.5 anthropic/claude-sonnet-4.5 | — | OpenRouter | |
| 4.1 | Claude 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 Opus 5 (batch) anthropic/claude-opus-5:batch | — | OpenRouter | |
| — | Claude Sonnet 5 anthropic/claude-sonnet-5 | — | OpenRouter | |
| — | Claude Sonnet 5 (batch) anthropic/claude-sonnet-5:batch | — | OpenRouter | |
| — | Claude Fable Latest ~anthropic/claude-fable-latest | — | OpenRouter | |
| — | Claude Fable 5 anthropic/claude-fable-5 | — | OpenRouter | |
| — | Claude Fable 5 (batch) anthropic/claude-fable-5:batch | — | OpenRouter | |
| — | Claude Opus 4.8 (batch) anthropic/claude-opus-4.8:batch | — | 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.7 (batch) anthropic/claude-opus-4.7:batch | — | OpenRouter | |
| — | Claude Sonnet 4.6 (batch) anthropic/claude-sonnet-4.6:batch | — | OpenRouter |
定价与限制
| 输入 | $3.00 / 百万 tokens |
| 输出 | $15.0 / 百万 tokens |
| 缓存读 / 写 | $0.300 / $3.75 |
| 最大输出 | 64k |
| 输入模态 | image, text, file |
| 输出模态 | text |
| HF | — |
支持参数
价格与基准分优先同步自 OpenRouter;网关短 ID 由本站平台清单补全,介绍/历史版本融合 Hugging Face 检索与家族知识库。能力验真请用 bench_v1 实验室 · OCR 天梯。
关于本页实体
Claude Sonnet 4:怎么用本页做决策
Claude Sonnet 4 模型页汇总价格、上下文与能力线索,并与天梯/排行联动。
深度解读见相关指南;跑分与挂价会更新,请以当日快照为准。
相关指南
- 2026 模型天梯实测:DeepSeek R1、Qwen3、Grok 4、Claude Opus 5 工程选型指南 — 基于最新基准与真实 API 延迟、成本、编码/推理表现,构建 2026 年中转与本地混合部署的模型天梯。包含量化对比表、场景推荐及避坑清单,帮助开发者快速定位最
- 2026 模型天梯工程实测:Claude Opus 5 vs Grok 4 vs Qwen 3.7 选型决策树 — 基于最新基准(SWE-Bench、GPQA、Arena)与实际工程场景(编码、推理、长上下文),构建 2026 年主流闭源与开源模型天梯,提供量化对比表、成本/
- 编码模型天梯怎么读:Grok 4.5 性价比榜与业务选型实战 — 2026 年最新 Grok 4.5 / Grok 4.20 编码模型天梯拆解:BenchAlign v5、LM Arena、HighWalk 实测数据 + 与
- 2026 模型天梯实测:Grok 4 vs Claude Opus 5 vs Gemini 3.1 Pro 选型指南 — 基于最新基准与真实场景测试,梳理 2026 年主流闭源模型在推理、编码、写作、多模态上的优劣势,帮助开发者快速选择最适合的模型,避免盲目订阅。
- 2026 AI 模型天梯实测:Claude Opus 5 vs Grok 4.5 vs Qwen3 vs DeepSeek R1 选型指南 — 基于最新 LMSYS、Artificial Analysis 和本地基准,深度对比 2026 当前主流闭源与开源模型在编码、推理、速度、价格四维度的真实表现,提
- 2026 AI模型天梯实测:Claude Opus 5 vs Grok 4 vs Gemini 3 vs Qwen 3.5 选型指南 — 基于最新SWE-Bench、GPQA、WebDev Arena等基准,深度对比2026前沿闭源与开源模型在编码、推理、代理任务上的表现、价格、速度与本地部署可行
- 2026 最新模型天梯实测:Claude Opus 5、GPT-5.6 Sol、Grok-3 与 Kimi K3 路由策略 — 基于 SWE-Bench、ARC-AGI 与长上下文 Agent 任务的跨模型基准对比,结合价格、上下文长度与本地/云部署可行性,提供 2026 年最优路由决策
- Claude Sonnet 编码场景:天梯分与中转验真清单 — GrokCode 品牌专题:Claude Sonnet 编码场景:天梯分与中转验真清单。 锚点:Claude。
常见问题
- Claude Sonnet 4 的价格与能力数据从哪来?
- 公开目录、官方价表与本站监测/天梯快照。账单以官方或供应商当日为准。
主题柱
slug:anthropic/claude-sonnet-4 · 主题柱讲方法,实时数字以本页表格为准
站内推荐
同系工具:Clavue CLI / imux IDE / clavue-2.1
Clavue · CLI 与 Agent 平台
CLI / GUI Agent 运行时、设备登录、会员额度与 OpenAI 兼容 API(api.clavue.com)。开发脚本、CI 与本地工具一条链路。
打开 Clavue ↗imux · 原生 macOS AI IDE
Clavue 平台的原生 IDE:多 Agent 分屏、Ghostty 级终端、Agent Chat、浏览器自动化与 Supervisor——不是又一个 Electron 壳。
了解 imux ↗Clavue 2.1 · 产品级大模型
旗舰模型 clavue-2.1(及 fast / pro / rev):适合复杂推理与长程 Agent 循环。Chat、imux、API 共用会员额度。
查看模型 ↗