Claude Sonnet 4.5
Anthropic 在速度與智能之間取得平衡的高性能模型,適合智能體與編程場景。
上下文窗口
200k tokens(使用 header 可啓用 1M beta)
Claude Sonnet 4.5
最大輸出
64k tokens
MTok
輸入
$3
輸出
$15
claude-sonnet-4-5試玩區
claude-sonnet-4-5Click or drag
暫無輸出
定價
| 方案 | 上下文窗口 | 最大輸出 | 輸入 | 輸出 | 緩存寫入 | 緩存讀取 |
|---|---|---|---|---|---|---|
Claude Sonnet 4.5 | 200k tokens(使用 header 可啓用 1M beta) | 64k tokens | $3 | $15 | 5m: $3.75 1h: $6 | $0.30 |
該價格爲 Anthropic 官方 Claude API 上的 Claude Sonnet 4.5 定價。
啓用 1M beta 上下文後,超過 200k 輸入 tokens 的請求按 $6 輸入 / $22.50 輸出(每 MTok)計費。
緩存讀取或緩存輸入價格適用於複用的提示詞 tokens。
README
- Anthropic 將 Claude Sonnet 4.5 定位爲在速度與智能之間取得最佳平衡的生產級模型之一。
- 它適用於編程、複雜智能體和廣泛專業任務,尤其適合希望獲得高質量結果但不需要 Opus 級成本的團隊。
- Sonnet 4.5 默認支持 200k 上下文窗口,並可通過 Claude API 的 beta header 使用 1M 上下文能力。
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 Sonnet 5
Anthropic's new Sonnet model for extended-context coding, agents, and enterprise production workflows.
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.
