Grok 4.20 Fast

xAI

The non-reasoning Grok 4.20 endpoint for fast million-token multimodal and agentic workloads.

Modalities
IntextimageOuttext
Input / output
$1.25 / $2.50USD per 1M tokens
Context
1M
Providers
Live

Playground

Preparing playground

Providers

primary1.3s100%

API

POST/api/v1/chat/completionsOpenAI-compatible
grok-4.20-fast
curl https://www.ninjachat.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.20-fast",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
messagestemperaturemax_completion_tokenstop_pstopfrequency_penaltypresence_penaltyseedstreamuserroutingtoolstool_choiceresponse_formatimage_url content parts

Pricing

Input
$1.25/M tokens
Cached input
$0.20/M tokens
Output
$2.50/M tokens

Published USD rates. Actual cost depends on input, output, cache usage and request options.