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