Provider - 8 models
xAI API models
The registry lists 8 xAI models with first-party API prices, context windows and release dates. The newest is Grok 4.7, released September 21, 2026. Grok Build 0.1 has the lowest output price at $2 per 1M tokens ($1 input). The largest context window is 1,000,000 tokens, on Grok 4.20, Grok 4.20 (Non-Reasoning), Grok 4.20 Multi-Agent Beta and 1 other. None of them publish open weights.
Last verified . Sources
- Models
- 8
- Lowest output / 1M
- $2
- Largest context
- 1M
- Open weights
- 0 of 8
Every xAI model
| Model | API model id | Input / 1M | Output / 1M | Context | Max output | Released | Open weights |
|---|---|---|---|---|---|---|---|
| Grok 4.7 | grok-4.7 | $2 | $6 | 500K | - | No | |
| Grok 4.6 | grok-4.6 | $2 | $6 | 500K | - | No | |
| Grok 4.5 | grok-4.5 | $2 | $6 | 500K | - | No | |
| Grok Build 0.1 | grok-build-0.1 | $1 | $2 | 256K | - | No | |
| Grok 4.20 | grok-4.20-0309-reasoning | $1.25 | $2.50 | 1M | - | No | |
| Grok 4.20 (Non-Reasoning) | grok-4.20-0309-non-reasoning | $1.25 | $2.50 | 1M | - | No | |
| Grok 4.20 Multi-Agent Beta | grok-4.20-multi-agent-0309 | $1.25 | $2.50 | 1M | - | No | |
| Grok 4.3 | grok-4.3 | $1.25 | $2.50 | 1M | - | - | No |
Prices in USD per 1M tokens at the standard rate, newest release first. A dash means no primary page states that fact. Open a model for cache, batch and long-context rates.
Capabilities
| Model | Tool calling | Structured outputs | Image input | Audio input | Prompt caching | Batch API | Reasoning |
|---|---|---|---|---|---|---|---|
| Grok 4.7 | Yes | Yes | Yes | No | Yes | No | Yes |
| Grok 4.6 | Yes | Yes | Yes | No | Yes | No | Yes |
| Grok 4.5 | Yes | Yes | Yes | No | Yes | No | Yes |
| Grok Build 0.1 | Yes | Yes | Yes | No | Yes | No | Yes |
| Grok 4.20 | Yes | Yes | Yes | No | Yes | Yes | Yes |
| Grok 4.20 (Non-Reasoning) | Yes | Yes | Yes | No | Yes | Yes | Not stated |
| Grok 4.20 Multi-Agent Beta | Yes | Yes | Yes | No | Yes | Yes | Yes |
| Grok 4.3 | Yes | Yes | Yes | No | Yes | Yes | Yes |
From each model's API docs; open a model for the source behind every answer. Not stated means the provider's docs do not say either way. It is not the same as No. Compare every provider.
Limits, shutdowns and benchmarks
Rate limits
xAI API rate limits42 sourced limits, verified October 17, 2026.Shutdown dates
xAI model deprecations1 scheduled shutdown, as of Oct 17, 2026.Benchmarks
xAI models appear on 5 sourced leaderboards.
- Terminal-Bench3 models
- LMArena2 models
- Artificial Analysis Intelligence Index1 model
- DeepSWE, NL2Repo and ProgramBench1 model
- tau-bench and tau2-bench1 model
Compare
Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.
- Grok 4.5 vs Grok 4.6Same provider, successor
- Grok 4.6 vs Grok 4.7Same provider, successor
- Claude Opus 5.5 vs Grok 4.7Similar price, same tier
- Claude Sonnet 5.5 vs Grok 4.7Similar price, same tier
- DeepSeek V4 Pro vs Grok Build 0.1Similar price, same tier
- Gemini 3.8 Flash vs Grok Build 0.1Similar price, same tier
- Gemini 4 Argon vs Grok 4.7Similar price, same tier
- GLM-5.3 vs Grok Build 0.1Similar price, same tier
- GPT-5.4 Mini vs Grok Build 0.1Similar price, same tier
- GPT-6.1 Sol vs Grok 4.7Similar price, same tier
- Grok 4.7 vs Kimi K3Similar price, same tier
- Grok 4.7 vs Qwen3.8-2.4T-A95BSimilar price, same tier
- Grok 4.7 vs Qwen3.8-MaxSimilar price, same tier
- Grok Build 0.1 vs Kimi K2.7 CodeSimilar price, same tier
- Grok Build 0.1 vs Mistral Large 4Similar price, same tier
- Grok Build 0.1 vs Mistral Medium 3.5Similar price, same tier
FAQ
What is the cheapest xAI model?
By output price, Grok Build 0.1 is the cheapest xAI model in the registry at $2 per 1M output tokens and $1 per 1M input tokens, per docs.x.ai on October 17, 2026.
Which xAI model has the largest context window?
4 xAI models share the largest context window in the registry, 1,000,000 tokens: Grok 4.20, Grok 4.20 (Non-Reasoning), Grok 4.20 Multi-Agent Beta and Grok 4.3.
What is the newest xAI model?
Grok 4.7 is the most recent xAI release in the registry, released on September 21, 2026. 1 of the 8 xAI models have no primary-sourced release date, so they are not counted.
Which xAI models have open weights?
None. All 8 xAI models in the registry are closed-weights models you call through the API.
Sources
Prices last verified from docs.x.ai.
Further primary sources (12)
- https://docs.x.ai/developers/models
- https://docs.x.ai/developers/models/grok-4.7
- https://docs.x.ai/developers/models/grok-4.7.md
- https://docs.x.ai/developers/release-notes
- https://x.ai/news
- https://docs.x.ai/developers/models/grok-4.6
- https://docs.x.ai/developers/models/grok-4.5
- https://docs.x.ai/developers/models/grok-build-0.1
- https://docs.x.ai/developers/models/grok-4.20-0309-reasoning.md
- https://docs.x.ai/developers/models/grok-4.20-0309-non-reasoning.md
- https://docs.x.ai/developers/models/grok-4.20-multi-agent-0309.md
- https://docs.x.ai/developers/models/grok-4.3.md
Newsletter
Get model price changes as they ship
One email per week. New model releases, price cuts and what they mean for your bill.