Today › AI API prices › xAI
grok-4.20-experimental-beta-latest API pricing (xAI)
Input / 1M tokens$1.25
Output / 1M tokens$2.502.0× input
Context window1Mmax output 1M
Rank within xAI5 / 31
Among all modelscheaper than 28%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $37.50 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $6.50 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $5.62 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| zai-org/GLM-5 | Together AI | $1.00 | $3.20 | 203K |
| glm-5 | Z.ai | $1.00 | $3.20 | 200K |
| qwen/qwen3.8-27b | Groq | $0.8 | $4.00 | 131K |
| accounts/fireworks/routers/glm-5p3-spot | Fireworks AI | $0.98 | $3.08 | 1M |
| gemini-flash-latest | Google Gemini | $0.75 | $3.75 | 1M |
| gemini-3.6-flash | Google Gemini | $0.75 | $3.75 | 1M |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $1.25 | $2.50 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
- grok-code-fast
- grok-code-fast-1
- grok-code-fast-1-0825
- grok-4.20
- grok-4.20-0309
- grok-4.20-0309-non-reasoning
- grok-4.20-0309-reasoning
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
grok-4.20-experimental-beta-latest on xAI costs $1.25 per million input tokens and $2.50 per million output tokens; it ranks 5 of 31 xAI models by price, with a 1M context window.