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 exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the [xAI docs](https://docs.x.ai/docs/models/grok-4-0709)
Key Specifications
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
Performance Summary
xAI's Grok 4, released July 9, 2025, is a powerful reasoning model featuring a 256k context window, parallel tool calling, and multimodal input capabilities. While it demonstrates exceptional reliability with a 100% success rate across all benchmarks, its performance is characterized by longer response times, ranking in the 13th percentile for speed, and premium pricing, placing it in the 3rd percentile for cost. Grok 4 excels in several critical areas, achieving perfect accuracy in Hallucinations, General Knowledge, Email Classification, and Reasoning benchmarks. Notably, it is the most accurate model at its price point and speed for these categories. It also shows strong performance in Mathematics (94.5% accuracy, 93rd percentile) and Coding (93.0% accuracy, 83rd percentile). Its primary weakness appears in Instruction Following, where it achieved 78.0% accuracy, placing it in the 91st percentile but still indicating room for improvement compared to its other high-performing categories. The model's high accuracy across core reasoning and knowledge tasks, despite its higher cost and slower speed, positions it as a robust choice for applications prioritizing precision and reliability.
Model Pricing
Current Pricing
Feature | Price (per 1M tokens) |
---|---|
Prompt | $3 |
Completion | $15 |
Input Cache Read | $0.75 |
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 Fast | Sep 18, 2025 | — | 2M |
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
|
★★★★★ | ★★★★★ | $$$$$ |