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 Mini. Grok-3 Mini is $17.20 cheaper per million tokens. Both models have their strengths depending on your specific coding needs.
xAI
Grok 3 Mini was developed as an efficient version of Grok 3, designed to bring next-generation capabilities to resource-conscious deployments. Built to provide strong performance with practical efficiency, it extends Grok 3's innovations to broader application scenarios.
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 Mini
xAI
2025-02-17

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

Grok-3 Mini

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

Grok-3 Mini

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

Grok-3 Mini
xAI

Grok-4

Grok-3 Mini

Grok-4

Grok-3 Mini

Grok-4
xAI
ZeroEval