xAI
Official APIxAI makes these models and serves them through its own API, at the reference price every other provider is compared with.
Models15
- Cheapest for
- 0 models
- Serves
- 4 model types
Monthly visits—
Models by type
xAI's API
| Model | Input | Output | Lowest third-party | Context |
|---|---|---|---|---|
| Grok 4.7xAI | $2/1M | From$6/1M from $4.80 at APIMart | $4.80/1MAPIMart-20% | 500K |
| Grok Build 0.1xAI | $1/1M | From$2/1M from $1.60 at APIMart | $1.60/1MAPIMart-20% | 256K |
| Grok 4.6xAI | $2/1M | From$6/1M from $4.80 at APIMart | $4.80/1MAPIMart-20% | 500K |
| Grok 4.5xAI | $2/1M | From$6/1M from $3.20 at APIMart | $3.20/1MAPIMart-47% | 500K |
| Grok Voice TTS 1.0xAI | — | $0.015/1K chars | $0.015/1K charsFal | — |
| Grok Imagine Video 1.5xAI | — | From$0.08/sec from $0.064 at APIMart | $0.064/secAPIMart-20% | — |
| Grok Imagine Image 2.0xAI | — | From$0.06/img from $0.032 at APIMart | $0.032/imgAPIMart-47% | — |
| Grok Imagine Image QualityxAI | — | From$0.05/img from $0.04 at APIMart | $0.04/imgAPIMart-20% | — |
| Grok Imagine Video 1.5 LitexAI | — | From$0.02/sec | $0.02/secAtlas Cloud | — |
| Grok 4.20 (Non-Reasoning)xAI | $1.25/1M | From$2.50/1M from $2 at APIMart | $2/1MAPIMart-20% | 1M |
| Grok 4.20 (Reasoning)xAI | $1.25/1M | From$2.50/1M from $2 at APIMart | $2/1MAPIMart-20% | 1M |
| Grok 4.3xAI | $1.25/1M | From$2.50/1M from $2 at APIMart | $2/1MAPIMart-20% | 1M |
| Grok ImaginexAI | — | From$0.05/sec from $0.04 at APIMart | $0.04/secAPIMart-20% | — |
| Grok Imagine ImagexAI | — | From$0.02/img | $0.02/imgReplicate | — |
| Grok-4.20-Multi-AgentxAI | $1.25/1M | From$2.50/1M from $2 at APIMart | $2/1MAPIMart-20% | 1M |
xAI at a glance
15 models in total: 8 text, 3 video, 3 image, 1 audio. The cheapest is Grok Build 0.1 at $2 /1M. Grok 4.20 (Non-Reasoning) has the largest context window, 1M tokens. The most searched is Grok 4.7, with about 221K Google searches a month. The newest is Grok Imagine Video 1.5 Lite, released Oct 1, 2026.
Cheapest
- Grok Build 0.1$2/1M
- Grok 4.20 (Non-Reasoning)$2.50/1M
- Grok 4.20 (Reasoning)$2.50/1M
- Grok 4.3$2.50/1M
- Grok-4.20-Multi-Agent$2.50/1M
Largest context
Most searched
- Grok 4.7221K
- Grok Build 0.1106K
- Grok 4.619K
- Grok 4.53K
- Grok Voice TTS 1.03K
Newest
- Grok Imagine Video 1.5 LiteOct 1, 2026
- Grok 4.7Sep 21, 2026
- Grok 4.6Aug 12, 2026
- Grok Imagine Image 2.0Aug 7, 2026
- Grok 4.5Jul 8, 2026