xAI
- Categories
- Model labs
- Owned by
- xAI (private)
- HQ
- US
- Website
- https://x.ai
- Pricing page
- https://docs.x.ai/developers/pricing
- Fee model
- per_token
- Fees
- Per-token; long-context tier (>=200k prompt tokens doubles all rates for the whole request); Priority processing 2x; US regional endpoint 1.1x; Batch API 20% off on grok-4.3/4.20 only
- Free tier
- no
- OpenAI-compatible API
- yes
- Notes
- Server-side tools extra: web search $5/1k calls, X search $5/1k calls (changing 2026-09-21 to $5/1k posts + $10/1k profiles), code exec $5/1k, attachment search $10/1k, collections search $2.50/1k. File storage $0.025/GiB/day. $0.05 fee per pre-generation usage-guideline violation (Responses API).
- Sources
- https://docs.x.ai/developers/pricing https://docs.x.ai/developers/models collected 2026-09-18
LLM prices (13 models, USD per 1M tokens)
| Model | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| Grok 4.20 (non-reasoning) grok-4.20-0309-non-reasoning |
$1.25 | $2.50 | $0.20 | 1M | ✓ src |
| Grok 4.20 (Reasoning / Non-Reasoning) grok-4.20-0309-reasoning |
$1.25 | $2.50 | $0.20 | 1M | ✓ src |
| Grok 4.20 Multi-Agent grok-4.20-multi-agent-0309 |
$1.25 | $2.50 | $0.20 | 1M | ✓ src |
| Grok 4.3 grok-4.3 |
$1.25 | $2.50 | $0.20 | 1M | ✓ src |
| Grok 4.5 grok-4.5 |
$2 | $6 | $0.30 | 500k | ✓ src |
| Grok 4.6 grok-4.6 |
$2 | $6 | $0.50 | 500k | ✓ src |
| Grok Build 0.1 grok-build-0.1 |
$1 | $2 | $0.20 | 256k | ✓ src |
| Grok Imagine Image grok-imagine-image |
— | — | — | — | ✓ src |
| Grok Imagine Image (quality) grok-imagine-image-quality |
— | — | — | — | ✓ src |
| Grok Imagine Image 2.0 grok-imagine-image-2.0 |
— | — | — | — | ✓ src |
| Grok Imagine Video grok-imagine-video |
— | — | — | — | ✓ src |
| Grok Imagine Video 1.5 grok-imagine-video-1.5 |
— | — | — | — | ✓ src |
| Grok Voice (speech-to-speech) grok-voice-think-fast-2.0 |
— | — | — | — | ✓ src |