Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Claude Sonnet 5

15% 折扣anthropic/claude-sonnet-5

Claude Sonnet 5 is a Sonnet-class model for high-quality coding, agentic workflows, reasoning, vision, structured outputs, and tool use.

输入价格
$1.70$2.00美元 / 100 万 token
输出价格
$8.50$10.00美元 / 100 万 token
缓存读取
$0.17$0.20美元 / 100 万 token
缓存写入
$2.13$2.50美元 / 100 万 token
上下文窗口
1M
最大输出
128K

规格

能力聊天视觉推理结构化输出函数调用
输入
文本, 图像
输出
文本
可用

关于此模型

Claude Sonnet 5 is a Sonnet-class model for high-quality coding, agentic workflows, reasoning, vision, structured outputs, and tool use.

问题

常见问题

如何通过 SandBase 调用 Anthropic Claude Sonnet 5?

先创建一个 SandBase API key,然后向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 或 Messages API (/v1/messages) 发送请求,模型 ID 使用“anthropic/claude-sonnet-5”。本页的请求示例展示了准确的请求负载。

Anthropic Claude Sonnet 5 的价格是多少?

每 100 万输入 token $1.70、每 100 万输出 token $8.50,按当前 15% 折扣计算(标价 $2 / $10),并按请求从您的 SandBase 余额中扣费。

Anthropic Claude Sonnet 5 的上下文窗口是多少?

上下文为 1M 个 token,每次响应最多输出 128K 个 token。

Anthropic Claude Sonnet 5 支持哪些功能?

Anthropic Claude Sonnet 5 支持 视觉(图像输入), 推理, 函数调用, 结构化输出。完整列表请参见上方 Specifications。

我需要单独的 Anthropic 账户吗?

不需要。一个 SandBase API key 和余额即可让您使用 Anthropic Claude Sonnet 5 以及目录中的其他模型;您无需单独注册 Anthropic。