Comprehensive side-by-side LLM comparison
Grok 4 offers 131.1K more tokens in context window than Grok 3 mini. Grok 3 mini is $29.20 cheaper per million tokens. Grok 4 supports multimodal inputs. Both models have their strengths depending on your specific coding needs.
xAI
Grok 3 mini, released by xAI alongside Grok 3 in February 2025, is a compact reasoning model from the Grok 3 family featuring RL-enhanced Think mode for extended chain-of-thought processing. It features a 131K token context window and targets STEM tasks, mathematics, and coding applications where cost-efficient reasoning with configurable depth is required.
xAI
Grok 4, released by xAI on July 10, 2025, is a large language model featuring first-principles reasoning and comprehensive multimodal support. It features a 260K token context window and demonstrated strong performance on advanced reasoning and coding benchmarks. Grok 4 targets complex multi-step reasoning tasks, scientific analysis, and agentic workflows via the xAI API.
4 months newer

Grok 3 mini
xAI
2025-02-17

Grok 4
xAI
2025-07-10
Cost per million tokens (USD)
Grok 3 mini
Grok 4
Context window and performance specifications
Available providers and their performance metrics
Grok 3 mini
xAI
Grok 4
Grok 3 mini
Grok 4
Grok 3 mini
Grok 4
xAI