中文English日本語한국어DeutschFrançaisEspañolPortuguêsРусскийالعربيةItalianoNederlandsPolskiTürkçeTiếng ViệtไทยBahasa Indonesiaहिन्दीSvenskaDanskNorskSuomiČeštinaעבריתΕλληνικάMagyarRomânăУкраїнськаBahasa Melayuفارسی
Models / xAI / grok-imagine-video

grok-imagine-video API

xAI49% of official pricePay as you go

The Grok series by xAI — real-time awareness and general reasoning.

Input price
—/M tokens
Official —
Output price
—/M tokens
Official —
Provider
xAI
grok
Protocols
OpenAI / Anthropic
base_url

Pricing

Actual billing per million tokens (after the 49% discount) vs official reference. Top up online — balance is credited automatically after payment.

Example

Point base_url to RouteAPI and use the model name above. OpenAI and Anthropic protocols are both supported.

# OpenAI
curl https://route-api.site/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-imagine-video","messages":[{"role":"user","content":"Hello"}]}'

Why use RouteAPI

Get API Key →

FAQ

How do I call it?

Sign up, create an API key, point base_url to RouteAPI and use the model name in the title. OpenAI and Anthropic protocols supported.

How is it billed?

Per actual input/output token usage, charged only for successful requests. See the table above.

Is streaming supported?

Yes — add "stream": true to the request, same as the official API.

How do I top up?

Enter your account email and amount on the top-up page. Balance is credited automatically (~1 minute).

xAI · More models

grok-4.20-0309-non-reasoning
xAI
Input $0.613 / Output $1.23 /M tokens
grok-4.20-0309-reasoning
xAI
Input $0.613 / Output $1.23 /M tokens
grok-4.20-multi-agent-0309
xAI
Input $0.613 / Output $1.23 /M tokens
grok-4.3
xAI
Input $0.613 / Output $1.23 /M tokens
grok-4.5
xAI
Input $0.98 / Output $2.94 /M tokens
grok-4.6
xAI
Input $0.98 / Output $2.94 /M tokens
grok-4.7
xAI
Input $0.98 / Output $2.94 /M tokens
grok-build-0.1
xAI
Input $0.49 / Output $0.98 /M tokens

Related reading