Claude Sonnet 5 API
Anthropic Claude Sonnet 5 长上下文智能体与编程模型,支持流式响应和工具调用。
Starting price $1.8000 / 1M tokens · Price snapshot
Waiting to refresh live prices…
Model pricing
Compare all public tiers and current prices for this series on one page.
Input
$1.8000 / 1M tokens
Output
$9.0000 / 1M tokens
Context
—
Max output
—
- Model ID
-
claude-sonnet-5 - Billing model
- Per-Token billing
- Available groups
- default, svip
- Capabilities
- chat
API reference
Base URL is https://api.rokoapi.com/v1. The model in requests must use the model IDs listed above.
curl https://api.rokoapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role":"user","content":"Introduce yourself in one sentence"}]
}' For more parameters, limits, and async task queries, read the Claude Sonnet 5 developer guide. Claude Sonnet 5 Developer guide · OpenAI · Authorization