xAI logo

Grok 4

by xAI

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)

Chat with Grok 4

Capabilities

Vision

Pricing

Input Tokens
Per 1M tokens
Free
Output Tokens
Per 1M tokens
Free
Image Processing
Per 1M tokens
$0.00/1M tokens

Supported Modalities

Input

image
text

Output

text

Performance Benchmarks

Intelligence Index
Overall intelligence score
65.3
Coding Index
Programming capability
55.1
Math Index
Mathematical reasoning
92.7
GPQA
Graduate-level questions
87.7%
MMLU Pro
Multitask language understanding
86.6%
HLE
Human-like evaluation
23.9%
LiveCodeBench
Real-world coding tasks
81.9%
AIME 2025
Advanced mathematics
92.7%
MATH 500
Mathematical problem solving
99.0%

Specifications

Context Length
256K tokens
Provider
xAI
Throughput
37.157 tokens/s
Released
Jul 9, 2025
Model ID
x-ai/grok-4

Ready to try it?

Start chatting with Grok 4 right now. No credit card required.

Start Chatting

More from xAI

View all models