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.
