xAI
xAI API pricing for 11 models. Language models are updated daily with full price history; embeddings, rerank, speech, image, and video carry dated list prices. For the launches and price moves across the market, see the market-events timeline.
Language models
| Model | Input | Output | Cached | Context | Released |
|---|---|---|---|---|---|
| Grok 4.5 | $2.00 | $6.00 | $0.3 | 500K | Jul 2026 |
| Grok Build 0.1 | $1.00 | $2.00 | $0.2 | 256K | May 2026 |
| Grok 4.3 | $1.25 | $2.50 | $0.2 | 1M | Apr 2026 |
| Grok 4.20 Multi-Agent | $1.25 | $2.50 | $0.2 | 2M | Mar 2026 |
| Grok 4.20 legacy | $1.25 | $2.50 | $0.2 | 2M | Mar 2026 |
| Grok 4.1 Fast retired | $0.2 | $0.5 | $0.05 | 2M | Nov 2025 |
| Grok 4 retired | $3.00 | $15.00 | $0.75 | 256K | Jul 2025 |
| Grok 3 Mini retired | $0.3 | $0.5 | — | 128K | Jun 2025 |
| Grok 3 retired | $3.00 | $15.00 | — | 131K | Apr 2025 |
| Grok 2 retired | $2.00 | $10.00 | — | 128K | Aug 2024 |
Image generation
| Model | Pricing | Released |
|---|---|---|
| Grok Imagine Image | $0.02–$0.05 / image Per image as of Jul 2026 | — |