Back to Models

Grok 4.20

xaixai/grok-4.20-non-reasoning

xAI's flagship model (March 2026) with 2M token context window. Fast general-purpose mode without reasoning overhead, supporting text and image inputs with function calling and structured outputs.

Context Length
2M
Max Output
66K
Input Price
$3.60/ 1M tokens
Output Price
$10.80/ 1M tokens

Modalities

textimagetext

Pricing Breakdown

TypeRate
Input$3.60 / 1M tokens
Output$10.80 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

API Usage Examples

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "xai/grok-4.20-non-reasoning",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'