# Claude Sonnet 5

> Claude Sonnet 5 是大多数生产负载应该默认选的那一档。Anthropic 把它描述为「至今最 Agent 化的 Sonnet」—— 会规划、会用工具、能自主跑完,而这个水平在不久前还需要更大更贵的模型。上下文窗口与原生提示缓存都和 Opus 5 相同,都是 100 万 token。

Canonical: https://routemux.com/zh/anthropic/claude-sonnet-5
Provider: Anthropic

## Key facts

| Field | Value |
| --- | --- |
| Model ID | anthropic/claude-sonnet-5 |
| Official model ID | claude-sonnet-5 |
| Context window | 1M |
| Max output | 8K |
| Input modalities | text, image |
| Output modalities | text |
| Capabilities | Vision, Reasoning, Tool Calling, Coding, Cache, Paid Cache Write, Strip Sampling Params |
| Upstream release | 2026-06-30 |
| Availability | available |

## Pricing

- RouteMux input: $0.56 per 1M tokens
- RouteMux output: $2.8 per 1M tokens
- Official input: $2 per 1M tokens
- Official output: $10 per 1M tokens
- Cache read: $0.056 per 1M tokens
- Cache write: $0.7 per 1M tokens
- Saving vs official: 72%
- Official price source: anthropic_x0.28, verified 2026-08-17

Billing is prepaid wallet, charged per successful request only.

## API access

Base URL: https://api.routemux.com

Supported protocols:

- anthropic_messages

## What is Claude Sonnet 5

Claude Sonnet 5 是大多数生产负载应该默认选的那一档。Anthropic 把它描述为「至今最 Agent 化的 Sonnet」—— 会规划、会用工具、能自主跑完,而这个水平在不久前还需要更大更贵的模型。上下文窗口与原生提示缓存都和 Opus 5 相同,都是 100 万 token。

在 RouteMux 上输入 $0.56 / 百万 tokens(官方 $2),输出 $2.80(官方 $10)—— 同样的上下文、同样的 Messages 接口,单价是 Opus 5 的四成。

理解 Claude 这条线有个要点:**上下文不是变量**。Fable、Opus、Sonnet 都是 100 万。变的是「你在为多少推理付钱」。所以默认从 Sonnet 起步,只有当任务失败的原因是推理而不是上下文时才往上换。

## Key capabilities

- **最 Agent 化的 Sonnet** — Anthropic 把它定位在规划、工具使用与自主运行 —— 以前得用 Opus 级才做得动的那类活。
- **与 Opus 同为 100 万上下文** — 区分 Claude 各档的不是上下文,是推理深度与价格。
- **原生提示缓存** — 复用的系统提示与长共享上下文按缓存价计。
- **Opus 5 单价的四成** — 输入 $0.56 对 $1.40,接口与上下文完全相同。

## Other variants in this family

- Claude Sonnet 4.6 (`anthropic/claude-sonnet-4.6`)

## Sources

- [Anthropic 模型总览](https://docs.anthropic.com/en/docs/about-claude/models)
- [Anthropic 定价页](https://www.anthropic.com/pricing)

_Content reviewed by Jerry Fan on 2026-08-17._
