Anthropic:Claude Sonnet5 API 定价
Anthropic公司的Claude Sonnet 5是Sonnet 4.6的继任者,后者专为能够进行规划并使用浏览器、终端和代码的智能体而设计。它还涵盖了智能体搜索和知识工作,支持文本和图像处理,并采用自适应思维。
- 每100万枚代币的价格
- 1.10 美元 / 5.50美元输入 /输出−45%
- 缓存的输入
- 0.11美元每100万枚代币
- 上下文
- 100万枚代币最大输出量为128K
- 服务提供商
- 10
- 最快
- 433 tok/sQubax
服务提供商
10 家服务商 ·
1M 上下文 · 最大输出 64K
支持的参数7
- 抽样
logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 未确认
温度
1M 上下文 · 最大输出 128K
支持的参数5
- 抽样
logit_bias- 处罚
存在惩罚- 输出
停止- 工具
工具工具选择- 未确认
温度
1M 上下文 · 最大输出 128K
支持的参数10
- 抽样
温度top_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
1M 上下文 · 最大输出 128K
支持的参数6
- 输出
停止response_format- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度
1M 上下文 · 最大输出 128K
支持的参数7
- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度
1M 上下文 · 最大输出 128K
支持的参数7
- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度
1M 上下文 · 最大输出 128K
支持的参数7
- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度
1M 上下文 · 最大输出 128K
支持的参数7
- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度
1M 上下文 · 最大输出 64K
支持的参数7
- 抽样
logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 未确认
温度
- 1 more provider through partner hosts · from $2.10 in · $10.48 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/claude-sonnet-5", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/claude-sonnet-5",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/claude-sonnet-5",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 克劳德·索内特 5 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/claude-sonnet-5;其余代码保持不变。
关于克劳德·索内特 5
- 标价
- 2.00 美元 / 10.00 美元每1M的进/出
- 保存与列表
- 45 %在1:3的输入与输出混合比下
- 请求示例
- 0.017美元10,000流入 + 1,000流出
- 实验室
- 22 人类学模型
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Claude Sonnet 5 costs from $1.10 per 1M input tokens and $5.50 per 1M output tokens on OpenCheap, with cached input at $0.11 per 1M tokens. Its list price is $2.00 per 1M input tokens and $10.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 45 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.017, and 1,000 such requests about $16.50.
10 providers serve Claude Sonnet 5 on OpenCheap. Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.
Claude Sonnet 5 is one of 22 Anthropic models on OpenCheap.
The public list price is $2.00 per 1M input tokens and $10.00 per 1M output tokens. OpenCheap is from $1.10 and $5.50, as of 2026-12-04 11:34 UTC.
Prices as of 2026-12-04 11:34 UTC.
关于定价的问题
Claude Sonnet 5 API 每 100 万个代币的费用是多少?
Claude Sonnet 5 costs from $1.10 per 1M input tokens and $5.50 per 1M output tokens on OpenCheap, with cached input at $0.11 per 1M tokens. Prices as of 2026-12-04 11:34 UTC.
一首克劳德·索内特第5首诗要多少钱?
一个包含 10,000 个输入令牌和 1,000 个输出令牌的请求费用约为 0.017 美元,1,000 个此类请求的费用约为 16.50 美元。每个响应都会在 usage.cost 中报告其自身成本。
Is Claude Sonnet 5 cheaper on OpenCheap than its list price?
其标价为每100万个输入代币2.00美元,每100万个输出代币10.00美元,因此按照典型的1:3输入与输出比例计算,这里的成本要低45%。
哪些服务商为克劳德·索内特5提供服务?
10 providers serve Claude Sonnet 5 on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
《克劳德·十四行诗第5首》的语境窗口是什么?
其上下文窗口为100万个令牌(1,000,000),单次请求可处理约75万个英语单词。
如何调用 Claude Sonnet 5 API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/claude-sonnet-5. One OpenCheap key works for every model; the rest of your code stays the same.
Anthropic 的更多内容
- 克劳德·索内特 第五首《思考》克劳德-十四行诗-5:沉思每1M·1M上下文 $2.00 / $10.00
- 克劳德 作品5.5克劳德-作品第5.5号每1M·1M上下文 $2.16 / $10.80
- 克劳德·法布尔 5克劳德寓言-56.90 美元 / 34.50 美元(每 1M · 1M 上下文)
- 克劳德·法布尔 5.1claude-fable-5.1每1M · 1M上下文 $7.00 / $35.00
- 克劳德·法布尔 5.2claude-fable-5.2$5.51 / $27.56 per 1M · 1M context
- 克劳德·俳句 4.5claude-haiku-4.5每100万·20万语境 $0.40 / $2.00
- 克劳德·俳句 4.5 思考claude-haiku-4.5:思考每1M · 200K上下文 $1.00 / $5.00
- 克劳德·俳句 5.5claude-haiku-5.50.075 美元 / 0.38 美元 每 1M · 1M 上下文
类似型号
- Grok 4.7xAI · 50万上下文1.26 美元 / 5.03 美元,每1M7 便宜 %
- Qwen3.8 MaxQwen · 1M 语料库每1M 1.80美元 / 5.41美元
- GPT 5.4OpenAI · 100万上下文每1M 1.00美元 / 6.00美元
- GPT 6 AstraOpenAI · 100万上下文$1.00 / $5.00 每1M9 便宜9%
- Fugu MaxSakana AI · 100万上下文每1M 1.88 美元 / 5.64 美元
- OrcaCyber GLM 5.3OrcaRouter · 999K 上下文每1M 3.00美元 / 5.00美元