Due to an upstream channel cost increase, all Claude models are now billed at 20% of Anthropic's official API prices (previously 18%), effective immediately. Pricing for other providers is unchanged.View latest pricing
Claude

Claude Sonnet 4.6

Official

anthropic/claude-sonnet-4.6

The balanced default of the Claude lineup. Strong reasoning, coding, and tool use at a fraction of Opus cost, with a 1M-token context window at standard pricing. The go-to for most production workloads.

1000K 上下文视觉理解推理工具调用编码提示词缓存

定价

来源: anthropic_x0.20 · 核验于 2026-08-06

输入官方 $3 / 百万 tokens
$0.6/ 百万 tokens2折
¥4.08 / 百万 tokens
输出官方 $15 / 百万 tokens
$3/ 百万 tokens2折
¥20.4 / 百万 tokens

缓存读 $0.06/M · 缓存写 $0.75/M

本币价按固定汇率折算(1 美元 = 6.8 CNY),汇率更新于 2026-08-02,仅供参考;计费始终以美元结算。

成本估算

预估费用$0.009

支持协议

  • OpenAI Chat CompletionsStatus: 不支持
  • OpenAI ResponsesStatus: 不支持
  • Anthropic MessagesStatus: 可用: 支持流式https://api.routemux.com/anthropic
  • Google Vertex AIStatus: 不支持
  • OpenAI ImagesStatus: 不支持
  • OpenAI SoraStatus: 不支持

调用 ID

API 调用时用任一 ID 都可以。

RouteMux 名anthropic/claude-sonnet-4.6
官方 IDclaude-sonnet-4-6

可用模型 ID

请求里的 model 可以直接使用这些名字。

claude-sonnet-4-6

动手试一下

把 ROUTEMUX_KEY 占位符替换为你的 API Key。 创建 →

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.routemux.com/anthropic",
    api_key="<ROUTEMUX_KEY>",
)

message = client.messages.create(
    model="anthropic/claude-sonnet-4.6",
    max_tokens=1024,
    messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)
base_url: https://api.routemux.com/anthropic

同族其他变体

常见问题

Claude Sonnet 4.6 是什么?

Anthropic Claude Sonnet 4.6 — best price-to-quality balance.

Claude Sonnet 4.6 的上下文窗口有多大?

Claude Sonnet 4.6 支持最多 1M tokens 的上下文窗口,单次最多输出 8K tokens。

Claude Sonnet 4.6 的 API 价格是多少?

通过 RouteMux 调用 Claude Sonnet 4.6:输入 $0.6、输出 $3(USD / 1M tokens),低于官方定价。

如何通过 API 调用 Claude Sonnet 4.6?

Claude Sonnet 4.6 兼容 OpenAI 接口:把 base URL 换成 RouteMux、model 填 anthropic/claude-sonnet-4.6 即可,无需改代码。

Claude Sonnet 4.6 支持哪些输入输出模态?

Claude Sonnet 4.6 的输入模态:text, image;输出模态:text。