Claude Sonnet 5API
Near-Opus coding and agentic quality at Sonnet cost — 1M context.
入力料金
$2.10
per 1M tokens
出力料金
$10.50
per 1M tokens
プロンプトキャッシング
安定したプレフィックスに cache_control を渡せば、キャッシュヒットは入力料金のごく一部で課金されます。キャッシュ書き込みは通常の入力レート。
入力 × 0.1 から自動算出
仕様
- モデル ID
claude-sonnet-5- エンドポイント
POST /v1/chat/completions- カテゴリー
- Text
- プロバイダー
- Anthropic
- 機能
- visionfunctionstreamingthinkinglong-context
ドロップインの OpenAI 互換性
既存の OpenAI SDK を api.kunavo.com/v1 に向け、モデル ID を入れ替えるだけ。ストリーミング変更も SDK 変更も不要です。
ドキュメントを見るClaude API pricing guide試してみる
/app/keys から 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-5",
"messages": [
{"role": "user", "content": "Hello, Claude Sonnet 5"}
],
"stream": false
}'FAQ
How much does Claude Sonnet 5 cost?
On Kunavo, Claude Sonnet 5 is $2.10 per 1M input tokens and $10.50 per 1M output tokens — about 30% 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 5 with the OpenAI SDK?
Yes. Set base_url to https://api.kunavo.com/v1, pass your Kunavo key, and set model to "claude-sonnet-5". Requests and responses are OpenAI-compatible; Claude is also available on the native /v1/messages endpoint.
What endpoint does Claude Sonnet 5 use?
Claude Sonnet 5 is called via POST /v1/chat/completions on Kunavo's OpenAI-compatible API.
What is Claude Sonnet 5 good for?
Claude Sonnet 5 is a text model from Anthropic, with support for vision, function, streaming, thinking, long-context.