API PRICING
xAI API Pricing 2026
xAI offers 4 models via API. Input pricing ranges from $0.300 to $3.00 per million tokens. Output pricing ranges from $0.500 to $15.00 per million tokens.
Creator of the Grok model family.
| Model | Input / 1M | Output / 1M | Context | Arena ELO | |
|---|---|---|---|---|---|
| Grok 3-mini | $0.300 | $0.500 | 128K | 1175 | Details → |
| Grok 2 | $2.00 | $10.00 | 131.072K | 1240 | Details → |
| Grok 2 Vision | $2.00 | $10.00 | 8.192K | 1230 | Details → |
| Grok 3 | $3.00 | $15.00 | 200K | 1285 | Details → |
Compare other providers
Need side-by-side?
Compare any two xAI models directly, or benchmark against other providers.
Open model comparison →