xAI Text Available

xAI Grok 4.5 API

xAI Grok 4.5 推理与多模态聊天模型,支持流式响应、结构化输出和工具调用。

Starting price 按实际 Token 用量计费 · Price snapshot

Waiting to refresh live prices…

Get started Developer guide

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.5
Billing model
Fixed combination billing
Available groups
default, svip
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.2816), 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.5632), 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.5",
    "messages": [{"role":"user","content":"Introduce yourself in one sentence"}]
  }'

For more parameters, limits, and async task queries, read the xAI Grok 4.5 developer guide. xAI Grok 4.5 Developer guide · OpenAI · Authorization

Other xAI model series