Author's Description
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not...
Key Specifications
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
Performance Summary
Grok 4, xAI's latest reasoning model, demonstrates exceptional reliability with a 100% success rate across all benchmarks, indicating consistent and usable responses. However, its speed performance tends to be slower, ranking in the 16th percentile, and it is positioned at premium pricing levels, ranking in the 2nd percentile. The model exhibits outstanding accuracy in several critical areas. It achieved perfect scores in Hallucinations, General Knowledge, Email Classification, and Reasoning, highlighting its strong foundational understanding and logical processing capabilities. Notably, it is the most accurate model at its price point and among models of similar speed for these categories. Grok 4 also performs very well in Coding (93.0% accuracy) and Mathematics (94.5% accuracy), placing it in the 78th and 85th percentiles respectively, despite the high cost associated with these tasks. Its Instruction Following accuracy is solid at 78.0%. The primary weakness appears to be its high cost and longer response times, particularly for complex tasks like Mathematics and Coding.
Model Pricing
Current Pricing
| Feature | Price (per 1M tokens) |
|---|---|
| Prompt | $3 |
| Completion | $15 |
| Input Cache Read | $0.75 |
| Web Search | $5000 |
Price History
Available Endpoints
| Provider | Endpoint Name | Context Length | Pricing (Input) | Pricing (Output) |
|---|---|---|---|---|
|
xAI
|
xAI | x-ai/grok-4-07-09 | 256K | $3 / 1M tokens | $15 / 1M tokens |
Benchmark Results
| Benchmark | Category | Reasoning | Strategy | Free | Executions | Accuracy | Cost | Duration |
|---|
Other Models by x-ai
|
|
Released | Params | Context |
|
Speed | Ability | Cost |
|---|---|---|---|---|---|---|---|
| xAI: Grok 4.20 Multi-Agent Unavailable | Mar 31, 2026 | — | 2M |
File input
Text input
Image input
Text output
|
— | — | $$$$$ |
| xAI: Grok 4.20 Multi-Agent | Mar 31, 2026 | — | 2M |
File input
Text input
Image input
Text output
|
— | — | $$$$$ |
| xAI: Grok 4.20 Unavailable | Mar 31, 2026 | — | 2M |
Text input
Image input
Text output
|
— | — | $$$$$ |
| xAI: Grok 4.20 | Mar 31, 2026 | — | 2M |
File input
Text input
Image input
Text output
|
— | — | $$$$$ |
| xAI: Grok 4.20 Multi-Agent Beta Unavailable | Mar 12, 2026 | — | 2M |
Text input
Image input
Text output
|
— | — | $$$$$ |
| xAI: Grok 4.20 Multi-Agent Beta Unavailable | Mar 12, 2026 | — | 2M |
File input
Text input
Image input
Text output
|
★★★ | ★★★★★ | $$$$$ |
| xAI: Grok 4.20 Beta Unavailable | Mar 12, 2026 | — | 2M |
Text input
Image input
Text output
|
— | — | $$$$$ |
| xAI: Grok 4.20 Beta Unavailable | Mar 12, 2026 | — | 2M |
Text input
Image input
Text output
|
★★★★★ | ★★★★ | $$$$$ |
| xAI: Grok 4.1 Fast | Nov 19, 2025 | — | 2M |
File input
Text input
Image input
Text output
|
★★ | ★★ | $ |
| xAI: Grok 4 Fast | Sep 18, 2025 | — | 2M |
File input
Text input
Image input
Text output
|
★★ | ★★★★★ | $$$$ |
| xAI: Grok Code Fast 1 | Aug 26, 2025 | — | 256K |
Text input
Text output
|
★★ | ★★★★ | $$$$$ |
| xAI: Grok 3 Mini | Jun 10, 2025 | ~2.7T | 131K |
Text input
Text output
|
★★ | ★★★★★ | $$$$ |
| xAI: Grok 3 | Jun 10, 2025 | ~2.7T | 131K |
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
| xAI: Grok 3 Mini Beta | Apr 09, 2025 | ~2.7T | 131K |
Text input
Text output
|
★★ | ★★★★★ | $$$$ |
| xAI: Grok 3 Beta | Apr 09, 2025 | ~2.7T | 131K |
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
| xAI: Grok 2 Vision 1212 Unavailable | Dec 14, 2024 | — | 32K |
Text input
Image input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| xAI: Grok 2 1212 Unavailable | Dec 14, 2024 | — | 131K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| xAI: Grok Vision Beta Unavailable | Nov 18, 2024 | — | 8K |
Text input
Image input
Text output
|
★★★★★ | ★★★ | $$$$$ |
| xAI: Grok Beta Unavailable | Oct 19, 2024 | — | 131K |
Text input
Text output
|
★★★★★ | ★★★★★ | $$$$$ |