返回模型列表
Claude Sonnet 4.6
anthropicanthropic/claude-sonnet-4.6
供应商自营与 TheRouter 服务形态的差异
供应商自己运营时
Anthropic 通过 Claude API 原生语义提供 Claude Sonnet 4.6,包括由 output_config.effort 控制的 adaptive thinking、prompt caching、当前模型文档列出的 1M 上下文,以及云平台特定端点行为。
在 TheRouter 上
TheRouter 在 OpenAI 兼容 chat completions API 上以 anthropic/claude-sonnet-4.6 暴露同一上游。价格、上下文长度、模态、支持参数和最大输出等运营字段来自 standard-models.yaml;本精选页只补充引用与路由说明,不覆盖实时目录值。
API 使用指南
聊天
标准聊天补全,支持可选的扩展思考与 effort 控制。
cURL
curl -X POST https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"messages": [{"role":"user","content":"Refactor this function for clarity."}],
"max_tokens": 4000,
"reasoning": {"effort":"medium"}
}'工具 / 函数调用
原生工具使用,支持自动并行执行与上下文压缩。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"messages": [{"role":"user","content":"Search for the latest revenue figure."}],
"tools": [{"type":"function","function":{"name":"web_search","description":"...","parameters":{}}}],
"tool_choice": "auto"
}'推理 / effort
通过 effort 参数(low/medium/high)控制思考深度,无需修改 prompt。
cURL
-d '{"model":"anthropic/claude-sonnet-4.6","messages":[...],"reasoning":{"effort":"high"}}'指南
事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 发布日期 | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| Anthropic 模型 id | platform.claude.com ↗ | 2026-09-22 | 已核实 |
| 训练数据截止 | — | — | 未知 |
| 上下文窗口 | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| 最大输出 token | platform.claude.com ↗ | 2026-09-22 | 已核实 |
| 推理强度档位 | platform.claude.com ↗ | 2026-09-22 | 已核实 |
| 部署平台 | aws.amazon.com ↗ | 2026-09-22 | 已核实 |
| 许可 | — | — | 已核实 |
| OSWorld-Verified | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| OfficeQA | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| Vending-Bench Arena | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| Financial Services Benchmark | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| Heavy reasoning Q&A (Box eval) | www.anthropic.com ↗ | 2026-09-22 | 已核实 |
| Claude Sonnet 4.6 发布——Sonnet 定价下的前沿智能 | anthropic.com/news ↗ | 2026-09-22 | 已核实 |
| Sonnet 4.6 与 Opus 4.6 相比如何? | www.anthropic.com ↗ | 2026-09-22 | 待核实 |
| Sonnet 5 已列入当前阵容后,新工作负载还应选择 Sonnet 4.6 吗? | platform.claude.com ↗ | 2026-09-22 | 待核实 |
| 1 M 上下文窗口是否普遍可用? | www.anthropic.com ↗ | 2026-09-22 | 待核实 |