X Ai logo

X Ai

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

Input / 1M tokens
$3.00
Output / 1M tokens
$15.00
Context window
256K tokens
Provider
X Ai
Cached input / 1M
$0.750
Knowledge cutoff
2025-07-31

Performance

Median streaming throughput and first-token latency measured by Artificial Analysis.

Output tokens / sec
63 t/s
Time to first token
7.14s

Benchmarks

Intelligence, coding, and math indexes plus the underlying evaluation scores.

Intelligence Index
42
Coding Index
41
Math Index
93
MMLU-Pro
86.6%
GPQA
87.7%
HLE
23.9%
LiveCodeBench
81.9%
SciCode
45.7%
MATH-500
99.0%
AIME
94.3%

Benchmarks via Artificial Analysis