Claude Sonnet 5
Anthropic 新一代 Sonnet 模型,面向长上下文编程、智能体和企业生产工作流。
上下文窗口
1M tokens
claude-sonnet-5
最大输出
-
1M tokens
输入
$1.8$2
10% off1M tokens
输出
$9$10
10% off1M tokens
claude-sonnet-5试玩区
claude-sonnet-5Click or drag
暂无输出
定价
| 方案 | 上下文窗口 | 最大输出 | 输入 | 输出 | 缓存写入 | 缓存读取 |
|---|---|---|---|---|---|---|
claude-sonnet-5 | 1M tokens | - | $1.8$210% off 1M tokens | $9$1010% off 1M tokens | $2.25$2.5010% off 1M tokens | $0.18$0.210% off 1M tokens |
1h Cache Write · $3.6 · 1M tokens
缓存读取或缓存输入价格适用于复用的提示词 tokens。
README
- Claude Sonnet 5 将 Sonnet 系列扩展到 1M token 上下文和 128k token 最大输出,更适合大型代码库、多文档分析和长时智能体会话。
- 该模型面向编程、工具调用、企业自动化等场景,适合需要在大量上下文中保持可靠推理,但不希望所有请求都切到 Opus 档位的团队。
- ReachAPI 通过 `claude-sonnet-5` 模型代码开放该模型,团队可以用与现有 Claude 模型一致的 API 方式接入新的 Sonnet 工作负载。
API
API
端点
POST /v1/messages认证
Authorization: Bearer YOUR_REACH_API_KEY anthropic-version: 2023-06-01 Content-Type: application/json
示例
curl -X POST "https://direct.reachapi.ai/v1/messages" \
-H "Authorization: Bearer YOUR_REACH_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL_ID",
"messages": [
{
"role": "user",
"content": "Introduce ReachAPI in one sentence."
}
],
"max_tokens": 512,
"temperature": 0.2
}'相关模型
Claude Fable 5
Anthropic's most capable widely released model for next-generation intelligence and long-running agents.
Claude Opus 5
Anthropic's flagship model for deep reasoning, complex agentic coding, and long-horizon enterprise work.
Claude Opus 4.8
Anthropic's newest Opus-tier model for complex reasoning, long-horizon agentic coding, and high-autonomy enterprise work.
Claude Opus 4.7
Anthropic's premium Opus model for advanced coding, vision-heavy review, and long-running enterprise agents.
Claude Opus 4.6
Anthropic's most capable model for coding, agents, and high-stakes enterprise work.
Claude Sonnet 4.6
Anthropic's high-performance daily driver for coding, agents, and professional workflows at scale.
