Claude Sonnet 4.6API
Balanced speed/quality — the everyday production workhorse, elite coding.
输入价格
$1.20
per 1M tokens
输出价格
$6.00
per 1M tokens
Prompt 缓存
给稳定 prefix 加 cache_control,命中按 input 价的一小部分计费。cache_write 按 input 原价计费。
按 input × 0.1 自动派生
参数
- 模型 ID
claude-sonnet-4-6- 端点
POST /v1/chat/completions- 类别
- Text
- 供应商
- Anthropic
- 能力
- visionfunctionstreamingthinking
无缝兼容 OpenAI SDK
把 OpenAI SDK 的 base_url 指向 api.kunavo.com/v1,换 model id 即可。流式、工具调用、SDK 行为完全一致。
查看文档Claude API 定价指南立即试用
在 /app/keys 创建 API key,复制为 KUNAVO_API_KEY,然后任选下面一段代码运行。
curl https://api.kunavo.com/v1/chat/completions \
-H "Authorization: Bearer $KUNAVO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [
{"role": "user", "content": "Hello, Claude Sonnet 4.6"}
],
"stream": false
}'FAQ
How much does Claude Sonnet 4.6 cost?
On Kunavo, Claude Sonnet 4.6 is $1.20 per 1M input tokens and $6.00 per 1M output tokens — about 60% under Anthropic's official price. Failed requests are never billed, and it's pay-as-you-go — you only pay for successful calls.
Can I call Claude Sonnet 4.6 with the OpenAI SDK?
Yes. Set base_url to https://api.kunavo.com/v1, pass your Kunavo key, and set model to "claude-sonnet-4-6". Requests and responses are OpenAI-compatible; Claude is also available on the native /v1/messages endpoint.
What endpoint does Claude Sonnet 4.6 use?
Claude Sonnet 4.6 is called via POST /v1/chat/completions on Kunavo's OpenAI-compatible API.
What is Claude Sonnet 4.6 good for?
Claude Sonnet 4.6 is a text model from Anthropic, with support for vision, function, streaming, thinking.