Grok 4.20
x-ai/grok-4.20
Grok 4.20 is a reasoning model from SpaceXAI with industry-leading speed and agentic tool calling capabilities.
Key facts
- Input price
- $1.25 / 1M tokens
- Output price
- $2.50 / 1M tokens
- Context window
- 2M tokens
- Max output
- 1.8M tokens
- Accepts
- Text, Images, Files
- Returns
- Text
Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $2.50 (1M input tokens × $1.25 + 0.5M output tokens × $2.50). Estimate your own usage.
Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.
Call it from your code
curl https://api.tokenctr.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENCENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-4.20", "messages": [{"role": "user", "content": "Hello!"}]}'Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart
Benchmarks
Artificial Analysis
- Intelligence index
- 25.7
Design Arena
| Category | Rank | Elo | Win rate |
|---|---|---|---|
| Agents: HTML slides | 11 | 1180 | 45.7% |
| Agents: Web apps | 28 | 1138 | 49.7% |
| Models: ASCII art | 29 | 1177 | 48.2% |
| Agents: Godot game dev | 31 | 1089 | 38.5% |
| Agents: Full-stack | 34 | 1054 | 41.1% |
| Agents: Android native | 35 | 1060 | 35% |
| Models: SVG | 38 | 1164 | 52.4% |
| Agents: Mobile apps | 41 | 1087 | 45.4% |
| Models: 3D | 51 | 1193 | 52.1% |
| Models: Data visualization | 51 | 1219 | 52% |
| Models: Websites | 51 | 1231 | 51.8% |
| Models: Code | 52 | 1222 | 51.8% |
| Models: Game dev | 56 | 1196 | 50.1% |
| Models: UI components | 56 | 1199 | 49% |
Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.