Grok 4.20

xAI's latest model with rapid learning, multi-agent collaboration, and real-time X access.

xAI · more xAI models · all models

Pricing and specs

Model IDroutexor/grok-4.20
ProviderxAI
Input, per 1M tokens$1.25
Output, per 1M tokens$2.50
Cached input, per 1M tokens$0.20
Price sourceProvider list price, checked 2026-11-23.
Context window1M tokens
Max output16K tokens
CapabilitiesStreaming, Tools, Vision, JSON

Your provider bills these tokens on your account. A listing is not a promise that your key has access to this model.

Call it

curl https://api.routexor.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEXOR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"routexor/grok-4.20","messages":[{"role":"user","content":"Say hello briefly."}],"max_tokens":64}'

Add your xAI key in the dashboard first. This call is billed by xAI. See the docs for which request paths are supported.