Comprehensive side-by-side LLM comparison
Grok-4 Heavy leads with 32.3% higher average benchmark score. Grok-4 Heavy supports multimodal inputs. Overall, Grok-4 Heavy is the stronger choice for coding tasks.
xAI
Grok 4 Heavy was created as a larger, more capable variant of Grok 4, designed to provide maximum reasoning depth and analytical capability. Built for the most demanding applications requiring sophisticated problem-solving, it represents xAI's flagship offering in the fourth generation.
Microsoft
Phi-4 was introduced as the fourth generation of Microsoft's small language model series, designed to push the boundaries of what compact models can achieve. Built with advanced training techniques and architectural improvements, it demonstrates continued progress in efficient, high-quality language models.
6 months newer

Phi 4
Microsoft
2024-12-12

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

Grok-4 Heavy

Phi 4
Phi 4
2024-06-01
Grok-4 Heavy
2024-12-31
Available providers and their performance metrics

Grok-4 Heavy

Phi 4
DeepInfra

Grok-4 Heavy

Phi 4

Grok-4 Heavy

Phi 4