Grok 4.7

xAI flagship, released 2026-09-21. 500K context; prices double at 200K prompt tokens.

xAI · more xAI models · all models

Pricing and specs

Model IDroutexor/grok-4.7
ProviderxAI
Input, per 1M tokens$2
Output, per 1M tokens$6
Cached input, per 1M tokens$0.50
Price sourceProvider list price, checked 2026-11-23.
Context window500K tokens
Max output8K 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.7","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.