Grok 4

by xAI

Grok 4 is xAI's flagship model from its July 2025 release, bringing improved reasoning depth and tool use compared to Grok 3. It accepts both text and image input across a 256k token context window, with native integration for web search and external tool invocation, making it strong for agentic systems that need grounding in current data. The model treats tool use as a first-class feature, letting developers build multi-step agents that invoke APIs, run code, and access external data sources. It handles complex reasoning, multimodal analysis, and tasks that need both accuracy and live context. Grok 4 was trained with reinforcement learning at scale on xAI's Colossus cluster. It balances reasoning power with practical performance, positioning it for production agentic applications where reliability matters alongside capability.

Key info

Input
Output
Features
Context window
256K
Max output
16K

Best for

How Grok 4 scores on each use case.

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Global rank#139 of 508 LLMs
TierEfficient
Output speed72 tok/s
Intelligence Index (previous version)22.5
Coding
LiveCodeBench
82%
Agentic & knowledge work
Terminal-Bench Hard
38%
τ²-Bench Telecom
75%
Science & reasoning
Humanity's Last Exam
27%
GPQA Diamond
88%
Long-context reasoning
68%
Knowledge
MMMU-Pro
69%
MMLU-Pro
87%
Math & instruction following
AIME 2025
93%
IFBench
54%

Available routes

No routes currently available — Grok 4 isn't routed through the Opper gateway right now. It may return.

Contact us about this model →

Available models from xAI

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation