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
Grok 4, xAI's latest reasoning model, generally exhibits longer response times, ranking in the 16th percentile for speed across benchmarks. Its pricing tends to be at premium levels, placing it in the 4th percentile for cost. However, Grok 4 demonstrates exceptional reliability, achieving a perfect 100th percentile, indicating minimal technical failures and consistent usable responses. In terms of performance across categories, Grok 4 shows strong capabilities in Instruction Following (94th percentile accuracy) and Reasoning (89th percentile accuracy). It also excels in Coding (88th percentile accuracy). Notably, Grok 4 achieved perfect 100% accuracy in both Email Classification and General Knowledge, standing out as the most accurate model at its price point and speed in these categories. Its Ethics performance is average at 51st percentile. While its accuracy is generally high, the model's primary weaknesses lie in its slower processing speeds and higher cost structure, particularly as token usage increases beyond 128k. Its strengths are clearly in its robust accuracy across complex tasks and its outstanding operational 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 | Free | Executions | Accuracy | Cost | Duration |
---|
Other Models by x-ai
|
Released | Params | Context |
|
Speed | Ability | Cost |
---|---|---|---|---|---|---|---|
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 | Dec 14, 2024 | — | 32K |
Text input
Image input
Text output
|
★★★★ | ★★★★ | $$$$$ |
xAI: Grok 2 1212 | Dec 14, 2024 | — | 131K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
xAI: Grok Vision Beta | Nov 18, 2024 | — | 8K |
Text input
Image input
Text output
|
★★★★ | ★★★ | $$$$$ |
xAI: Grok Beta Unavailable | Oct 19, 2024 | — | 131K |
Text input
Text output
|
★★★★ | ★★★★★ | $$$$$ |