xAI Grok 4.6 API
xAI Grok 4.6 推理与多模态聊天模型,支持流式响应、结构化输出和工具调用。
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
-
grok-4.6 - Billing model
- Fixed combination billing
- Available groups
- svip, default
- Capabilities
- chat
- Combination pricing rules
按实际 Token 用量计费总价 = 各类 Token 用量 × 对应单价
- Token 单价由当前计费表达式推导;实际费用按请求用量结算
查看高级计费表达式
v2:len < 200000 ? tier("evolink_fixed_standard_2026_08_21", max(tokens(p, 1.8700) + tokens(c, 5.6100) + tokens(cr, 0.4675), units(0.01, 1.1 / 68))) : tier("evolink_fixed_long_2026_08_21", max(tokens(p, 3.7400) + tokens(c, 11.2200) + tokens(cr, 0.9350), units(0.01, 1.1 / 68)))
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": "grok-4.6",
"messages": [{"role":"user","content":"Introduce yourself in one sentence"}]
}' For more parameters, limits, and async task queries, read the xAI Grok 4.6 developer guide. xAI Grok 4.6 Developer guide · OpenAI · Authorization