AI Hub
All models
LLMAPI only

Grok 4

xAI

Updated May 21, 2026 · Benchmarks via Artificial Analysis, specs & pricing via OpenRouter · Methodology · Report an error

Superseded by Grok 4.1

Specifications

Type
LLM
Access
API only
Released
July 9, 2025
License
Proprietary
Context window
256,000 tokens
Knowledge cutoff
December 31, 2024
Output speed
100 tok/s
Latency (TTFT)
0.7s
Input
Text, Image
Output
Text
API pricing
$3.00 in · $15.00 out / 1M tokens
Capabilities
Function callingStructured output

Benchmarks

Our take

xAI’s first frontier reasoning flagship, launched with a $300/mo multi-agent “Heavy” tier and a then-leading ARC-AGI-2 score among closed models.

Links

Compare Grok 4 with

See all Grok 4 alternatives →