Comprehensive side-by-side LLM comparison
Both models show comparable benchmark performance. Grok-4 offers 128.0K more tokens in context window than Grok-3. Both models have similar pricing. Both models have their strengths depending on your specific coding needs.
xAI
Grok 3 was introduced as xAI's third-generation flagship model, designed to push the boundaries of reasoning, factual accuracy, and helpful assistance. Built to advance the state of AI capabilities, it incorporates improvements across language understanding, generation, and analytical thinking.
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.
4 months newer

Grok-3
xAI
2025-02-17

Grok-4
xAI
2025-07-09
Cost per million tokens (USD)

Grok-3

Grok-4
Context window and performance specifications
Average performance across 3 common benchmarks

Grok-3

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

Grok-3
xAI

Grok-4

Grok-3

Grok-4

Grok-3

Grok-4
xAI
ZeroEval