xAI API pricing
4 models from xAI, verified 2026-08-29. Official pricing page →
Models and prices
| Model | Tier | Context | $/1M in | $/1M out | $/1M cache read |
|---|---|---|---|---|---|
| Grok 4.5 | Flagship | 500K | $2.00 | $6.00 | $0.30 |
| Grok 4.6 | Flagship | 500K | $2.00 | $6.00 | $0.50 |
| Grok 4.3 | Mid | 1M | $1.25 | $2.50 | $0.20 |
| Grok Build | Small | 256K | $1.00 | $2.00 | $0.20 |