xAI: Grok 4

xAI: Grok 4

x-ai · Released Jul 9, 2025
Intelligence #145 / 756
45.2 our score
Speed #290 / 335
41.6 tok/s
Input Price #715 / 798
$3.00 per 1M tokens
Output Price #723 / 798
$15.00 per 1M tokens
Context #355 / 798
256,000 tokens

Analysis Summary

Grok 4 is xAI's multimodal model for technical and agentic work, with a 256K context window, vision, file input, tool use, and function calling. Its mathematics, coding, and tool-oriented benchmark results are strong, and the context size supports substantial codebases, research collections, and operational documents.

The model is a good fit for software engineering assistants, technical research, structured analysis, and agents that need to call external functions. Its long-context result is useful for document-heavy work, while instruction following is adequate for controlled content pipelines. General reasoning is less dominant than the technical benchmark profile, so editorially sensitive tasks still benefit from review.

Pricing is premium, particularly for output. Use Grok 4 when coding, multimodal analysis, and tool execution justify the higher per-call cost.

Assessed September 7, 2026

Editorial notes

Grok 4 combines strong mathematics and coding performance with a 256K context window, vision, tool use, and function calling. It is suited to technical agents and multimodal analysis, with premium output pricing and uneven general reasoning as trade-offs.

Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?

DFO Verdict

Grok 4 combines strong mathematics and coding performance with a 256K context window, vision, tool use, and function calling. It is suited to technical agents and multimodal analysis, with premium output pricing and uneven general reasoning as trade-offs.

#145 of 756 overall

Benchmark scores

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%

Magenta = intelligence · Ink = technical/agentic · Cyan = content & long-context · Grey = community benchmarks. Data: Artificial Analysis, Hugging Face.

22.5 Intelligence Index·92.7 Math Index

How xAI: Grok 4 compares

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

Position in the field
Intelligence: smarter than 81% of models #145
Speed: faster than 13% of models #290
Price: cheaper than 10% of models #715
Context: larger than 56% of models #355
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
xAI: Grok 4 $3.00 in $15.00 out
OpenAI: GPT-6 Astra $10.00 in $50.00 out
Anthropic: Claude Fable 5.1 $10.00 in $50.00 out
Claude Opus 5 $5.00 in $25.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.

Intelligence4.8Technical0Value6Content7.5
Performance profile

Strongest on business fit. The pulled-in technical corner is the trade-off, and if the shape matters more than the price, this is your model.

Compare shapes side-by-side →

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

Full calculator with 798 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.