xAI: Grok 4

x-ai · Released Jul 9, 2025
DFO score #122 / 733
23.1 leaderboard score
Speed #227 / 349
71.8 tok/s
Input Price #669 / 733
$3.00 per 1M tokens
Output Price #679 / 733
$15.00 per 1M tokens
Context #308 / 733
256,000 tokens

Analysis Summary

Grok 4 is a text, image, and file model with a 256K context window, vision, tool use, and function calling. Its supplied math, coding, and general reasoning measurements are strong relative to the other models in this batch, while its instruction-following and long-context results provide additional support for complex analysis. Listed pricing is $3 per million input tokens and $15 per million output tokens.

These capabilities suit coding assistance, technical research, and content tasks that benefit from multimodal input and deeper analysis. Tool access makes API integration possible, though the data does not provide an agentic index to confirm dependable independent execution. The high listed price makes it a poor default for routine bulk traffic.

Use Grok 4 selectively for demanding tasks where its reasoning and coding capability can reduce rework. Pair it with a cheaper model for high-volume requests, and retain review around agent actions.

Assessed September 23, 2026

Editorial notes

Grok 4 combines strong math, coding, and reasoning benchmark results with vision, tool use, and a 256K context; its listed token prices are high.

The DFO score ranks models on the Artificial Analysis Intelligence Index and is refreshed as new models launch. The write-up and verdict are our own. Feedback?

DFO Verdict

Grok 4 combines strong math, coding, and reasoning benchmark results with vision, tool use, and a 256K context; its listed token prices are high.

#122 of 733 overall Up 6 this week

Benchmarks

Intelligence Index 14.4 #120 of 447 · Artificial Analysis
Coding Index Not published yet Artificial Analysis
Agentic Index Not published yet Artificial Analysis
Creative Writing Not rated Arena rating
Instruction Following Not rated Arena rating
GPQA Diamond 87.7%
HLE 23.9%
MMLU Pro 86.6%
MATH 500 99%
AIME 94.3%
AIME 2025 92.7%
SciCode 45.7%
LiveCodeBench 81.9%
TerminalBench Hard 37.9%
τ²-Bench 74.9%
IFBench 53.7%
LCR 68%

Artificial Analysis data refreshed Nov 7, 2026. Arena ratings from the Oct 28, 2026 text leaderboard, with style control. Bars: magenta = reasoning, ink = coding and agents, cyan = instructions and long context.

Artificial Analysis has not published coding or agentic results for xAI: Grok 4 yet. Until it does, the model sits below tested models on the Coding and AI Agents lists.

Artificial Analysis no longer lists this model, so its indexes are converted from their older scale to stay comparable.

How xAI: Grok 4 compares

XAI: Grok 4 ranks #120 of 447 AI models we track for overall intelligence. Its 256K-token context window is larger than 58% of the models we list. At $3.00 per million input tokens it is cheaper than 9% of comparable models.

Position in the field
DFO score: ahead of 84% of models #120
Speed: faster than 35% of models #227
Price: cheaper than 9% of models #669
Context: larger than 58% of models #308
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
xAI: Grok 4 $3.00 in $15.00 out
Anthropic: Claude Opus 5.5 $4.00 in $20.00 out
Google: Gemini 4 Argon $2.00 in $10.00 out
OpenAI: GPT-6 Astra $10.00 in $50.00 out

Dark bar = input · light bar = output, scaled to the priciest peer.

Context window vs peers · tokens

1M tokens ≈ 8 full-length novels or ~2,500 pages of business documents in a single request.

Pricing

Token Type Cost per 1M tokens Cost per 1K tokens
Input $3.00 $0.003000
Output $15.00 $0.015000

What would xAI: Grok 4 cost your business?

Pick the job that looks most like yours, then fine-tune with the sliders. Estimates update live.

A website chatbot handling around 100 customer conversations a day, a few short messages each.

3,000
One request is one message, email, draft or automation call.
1,200 tokens

$23.76/mo xAI: Grok 4 $0.0079 per request
$31.68/mo Anthropic: Claude Opus 5.5 $0.01 per request
$7.92/mo OpenAI: GPT-6.1 Terra · best value $0.0026 per request

Full calculator with 733 models → Price Calculator

DFO AI AUTOMATION

These numbers get smaller with the right architecture.

We route routine calls to cheap models and save xAI: Grok 4 for the hard ones. Most clients cut their estimate by 60-80%.

Talk to our team

About xAI: Grok 4

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..

Frequently asked questions about xAI: Grok 4

How much does xAI: Grok 4 cost?

xAI: Grok 4 costs $3.00 per million input tokens and $15.00 per million output tokens.

What is the context window of xAI: Grok 4?

xAI: Grok 4 has a context window of 256,000 tokens (256K).

What can xAI: Grok 4 do?

xAI: Grok 4 supports image/vision input, tool use, and function calling.

Who created xAI: Grok 4?

xAI: Grok 4 is developed by xAI and was released on July 9, 2025.

© 2026 Design for Online Ltd. Registered in England and Wales No. 10328553. VAT Registered. Design for Online® and Forerunner® are registered trademarks.