Provider
xAI API pricing
xAI
12 models tracked
xAI builds the Grok family of frontier language, image, video and voice models, offered via a developer API.
All xAI models
| Model | Context | Input / 1M | Output / 1M | Cached / 1M |
|---|---|---|---|---|
| Grok 4.20 (Multi-Agent) | 1M | $1.25 | $2.50 | $0.20 |
| Grok 4.20 (Non-Reasoning) | 1M | $1.25 | $2.50 | $0.20 |
| Grok 4.20 (Reasoning) | 1M | $1.25 | $2.50 | $0.20 |
| Grok 4.3 | 1M | $1.25 | $2.50 | $0.20 |
| Grok Build 0.1 | 256K | $1.00 | $2.00 | — |
| Grok Imagine (Image, Quality) | — | — | — | — |
| Grok Imagine (Image, Standard) | — | — | — | — |
| Grok Imagine (Video 1.5) | — | — | — | — |
| Grok Imagine (Video) | — | — | — | — |
| Grok Speech to Text | — | — | — | — |
| Grok Text to Speech | — | — | — | — |
| Grok Voice (Realtime) | — | — | — | — |
- Context1M
- Input$1.25 / 1M tokens
- Output$2.50 / 1M tokens
- Cached$0.20 / 1M tokens
- Context1M
- Input$1.25 / 1M tokens
- Output$2.50 / 1M tokens
- Cached$0.20 / 1M tokens
- Context1M
- Input$1.25 / 1M tokens
- Output$2.50 / 1M tokens
- Cached$0.20 / 1M tokens
- Context1M
- Input$1.25 / 1M tokens
- Output$2.50 / 1M tokens
- Cached$0.20 / 1M tokens
- Context256K
- Input$1.00 / 1M tokens
- Output$2.00 / 1M tokens
- Cached—
- Context—
- Input—
- Output—
- Cached—
- Context—
- Input—
- Output—
- Cached—
- Context—
- Input—
- Output—
- Cached—
- Context—
- Input—
- Output—
- Cached—
- Context—
- Input—
- Output—
- Cached—
- Context—
- Input—
- Output—
- Cached—
- Context—
- Input—
- Output—
- Cached—