anthropic logo
anthropic

Anthropic: Claude Sonnet 4.5

来源介绍(英文)

Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...

模型概览

模型规格

上下文
1,000,000 tokens
最大输出
64,000 tokens
架构
text+image+file->text
分词器
Claude
知识截止时间
2025-01-31
内容审核
是
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$3
每百万 Token
  • ≤200K$3
  • >200K$6
输出
$15
每百万 Token
  • ≤200K$15
  • >200K$22.5
缓存读取
$0.3
每百万 Token
  • ≤200K$0.3
  • >200K$0.6
缓存写入
$3.75
每百万 Token
  • ≤200K$3.75
  • >200K$7.5
缓存写入 (1h)
$6
每百万 Token
  • ≤200K$6
  • >200K$12
网页搜索
$10
每千次调用
API

模型配置

默认参数

temperature
1
top_p
1

推理能力

是否必须推理
否
默认参数
否
API

快速调用

在本地设置 OPENROUTER_API_KEY。Python 需安装 requests;JavaScript 在 Node.js 中运行。密钥应保存在服务端。

API 文档

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4.5","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入 → 输出

输入
textimagefile
输出
text
推理能力

否

API

支持的 API 参数

include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p
可用提供方

7 个提供方

核验日期: 2026年9月7日

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

Claude Platform on AWS

暂未提供
上下文
1M
最大输出
64K
输入
$3
输出
$15
缓存读取
$0.3
缓存写入
$3.75

Azure

暂未提供
上下文
200K
最大输出
64K
输入
$3
输出
$15
缓存读取
$0.3
缓存写入
$3.75

Amazon Bedrock

暂未提供
上下文
1M
最大输出
64K
输入
$3
输出
$15
缓存读取
$0.3
缓存写入
$3.75

Anthropic

暂未提供
上下文
1M
最大输出
64K
输入
$3
输出
$15
缓存读取
$0.3
缓存写入
$3.75

Google

暂未提供
上下文
1M
最大输出
64K
输入
$3
输出
$15
缓存读取
$0.3
缓存写入
$3.75

Amazon Bedrock

暂未提供
上下文
1M
最大输出
64K
输入
$3.3
输出
$16.5
缓存读取
$0.33
缓存写入
$4.125

Google

暂未提供
上下文
1M
最大输出
64K
输入
$3.3
输出
$16.5
缓存读取
$0.33
缓存写入
$4.125
anthropic

4 个模型

全部模型
anthropic logoanthropic

Anthropic: Claude Fable 5.2

Claude Fable 5.2 is Anthropic's most capable model for the most demanding technical work, with gains over Fable 5.1 in coding, reasoning, and vision. In prerelease testing it completed otherwise-infeasible...

上下文
1M
输入
text · image · file
输出
text
输入: $8输出: $40每百万 Token
查看模型详情 →
anthropic logoanthropic

Anthropic: Claude Fable 5.2 (batch)

Claude Fable 5.2 is Anthropic's most capable model for the most demanding technical work, with gains over Fable 5.1 in coding, reasoning, and vision. In prerelease testing it completed otherwise-infeasible...

上下文
1M
输入
text · image · file
输出
text
输入: $4输出: $20每百万 Token
查看模型详情 →
anthropic logoanthropic

Anthropic: Claude Haiku 5.5

Claude Haiku 5.5 is Anthropic's small, fast model for high-volume, cost-sensitive work such as summarization, subagents, and browser use. It succeeds Claude Haiku 4.5 with stronger coding, computer use, and...

上下文
1M
输入
text · image · file
输出
text
输入: $0.1输出: $0.5每百万 Token
查看模型详情 →
anthropic logoanthropic

Anthropic: Claude Haiku 5.5 (batch)

Claude Haiku 5.5 is Anthropic's small, fast model for high-volume, cost-sensitive work such as summarization, subagents, and browser use. It succeeds Claude Haiku 4.5 with stronger coding, computer use, and...

上下文
1M
输入
text · image · file
输出
text
输入: $0.05输出: $0.25每百万 Token
查看模型详情 →