xAI API pricing
Compare xAI model prices, context windows, modalities, and token costs.
Models
4
Lowest input / 1M
$1.00
Lowest output / 1M
$2.00
xAI models
| Modalities | ||||
|---|---|---|---|---|
| xAI: Grok 4.20 Multi-Agent | $1.25 | $2.50 | 2,000,000 (2M) | text, image, filetext |
| xAI: Grok 4.20 | $1.25 | $2.50 | 2,000,000 (2M) | text, image, filetext |
| xAI: Grok 4.3 | $1.25 | $2.50 | 1,000,000 (1M) | text, imagetext |
| xAI: Grok Build 0.1 | $1.00 | $2.00 | 256,000 (256K) | text, imagetext |