Comprehensive side-by-side LLM comparison
Grok-4 leads with 36.5% higher average benchmark score. Grok-4 is available on 2 providers. Overall, Grok-4 is the stronger choice for coding tasks.
xAI
Grok 2 Mini was created as a more efficient variant of Grok 2, designed to provide strong capabilities with reduced computational requirements. Built to make Grok 2's advancements accessible to applications with tighter resource constraints, it balances performance with practical deployment needs.
xAI
Grok 4 represents the fourth generation of xAI's language models, developed to continue advancing the frontier of AI reasoning and knowledge. Built to handle increasingly complex tasks with enhanced reliability, it demonstrates xAI's commitment to pushing AI capabilities forward.
11 months newer

Grok-2 mini
xAI
2024-08-13

Grok-4
xAI
2025-07-09
Context window and performance specifications
Average performance across 1 common benchmarks

Grok-2 mini

Grok-4
Grok-4
2024-12-31
Available providers and their performance metrics

Grok-2 mini

Grok-4
xAI

Grok-2 mini

Grok-4

Grok-2 mini

Grok-4
ZeroEval