Comprehensive side-by-side LLM comparison
Grok-3 leads with 28.5% higher average benchmark score. Grok-3 offers 104.0K more tokens in context window than Phi 4. Phi 4 is $17.79 cheaper per million tokens. Grok-3 supports multimodal inputs. Overall, Grok-3 is the stronger choice for coding tasks.
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.
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.
2 months newer

Phi 4
Microsoft
2024-12-12

Grok-3
xAI
2025-02-17
Cost per million tokens (USD)

Grok-3

Phi 4
Context window and performance specifications
Average performance across 1 common benchmarks

Grok-3

Phi 4
Phi 4
2024-06-01
Grok-3
2024-11-17
Available providers and their performance metrics

Grok-3
xAI

Phi 4

Grok-3

Phi 4

Grok-3

Phi 4
DeepInfra