Claude Opus 5 API
claude-opus-5 长上下文智能体与编程模型,支持流式响应和工具调用。
Starting price 按实际 Token 用量计费 · Price snapshot
Waiting to refresh live prices…
Model pricing
Compare all public tiers and current prices for this series on one page.
Input
按实际 Token 用量计费
Output
总价 = 各类 Token 用量 × 对应单价
Context
—
Max output
—
- Model ID
-
claude-opus-5 - Billing model
- Fixed combination billing
- Available groups
- default, svip
- Capabilities
- chat
- Combination pricing rules
按实际 Token 用量计费总价 = 各类 Token 用量 × 对应单价
- Token 单价由当前计费表达式推导;实际费用按请求用量结算
查看高级计费表达式
v2:tier("base", tokens(p, 1.932) + tokens(c, 9.6) + tokens(cr, 1.932) + tokens(cc, 2.415) + tokens(img, 1.932) + tokens(ai, 1.932) + tokens(cc1h, 3.8640000000000003) + tokens(ao, 1.932))
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-opus-5",
"messages": [{"role":"user","content":"Introduce yourself in one sentence"}]
}' For more parameters, limits, and async task queries, read the Claude Opus 5 developer guide. Claude Opus 5 Developer guide · OpenAI · Authorization