Model Comparison

Comprehensive side-by-side analysis of model capabilities and performance

xAI

Grok-4

xAI

Grok-4 is a multimodal language model developed by xAI. It achieves strong performance with an average score of 63.1% across 7 benchmarks. It excels particularly in AIME 2025 (91.7%), HMMT25 (90.0%), GPQA (87.5%). It supports a 264K token context window for handling large documents. The model is available through 2 API providers. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2025, it represents xAI's latest advancement in AI technology.

Meta

Llama 4 Maverick

Meta

Llama 4 Maverick is a multimodal language model developed by Meta. It achieves strong performance with an average score of 71.8% across 13 benchmarks. It excels particularly in DocVQA (94.4%), MGSM (92.3%), ChartQA (90.0%). The model shows particular specialization in vision tasks with an average performance of 75.8%. With a 2.0M token context window, it can handle extensive documents and complex multi-turn conversations. The model is available through 7 API providers. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2025, it represents Meta's latest advancement in AI technology.

Meta

Llama 4 Maverick

Meta

2025-04-05

xAI

Grok-4

xAI

2025-07-09

3 months newer

Pricing Comparison

Cost per million tokens (USD)

xAI

Grok-4

Input:$3.00
Output:$15.00
Meta

Llama 4 Maverick

$17.23 cheaper
Input:$0.17
Output:$0.60

Performance Metrics

Context window and performance specifications

xAI

Grok-4

Max Context:264.0K
Meta

Llama 4 Maverick

Larger context
Max Context:2.0M
Parameters:400.0B

Average performance across 2 common benchmarks

xAI

Grok-4

+26.7%
Average Score:83.3%
Meta

Llama 4 Maverick

Average Score:56.6%

Performance comparison across key benchmark categories

xAI

Grok-4

code
+18.5%
79.0%
general
69.3%
Meta

Llama 4 Maverick

code
60.5%
general
+2.2%
71.5%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores
Knowledge Cutoff
Training data recency comparison

Grok-4

2024-12-31

More recent knowledge cutoff means awareness of newer technologies and frameworks

Provider Availability & Performance

Available providers and their performance metrics

xAI

Grok-4

2 providers

xAI

Throughput: 100 tok/s
Latency: 0.7ms

ZeroEval

Throughput: 100 tok/s
Latency: 0.7ms
Meta

Llama 4 Maverick

7 providers

Sambanova

Throughput: 638.7 tok/s
Latency: 2.04ms

Together

Throughput: 97.93 tok/s
Latency: 0.2ms

DeepInfra

Throughput: 83.59 tok/s
Latency: 0.38ms

Fireworks

Throughput: 63.03 tok/s
Latency: 0.62ms

Groq

Throughput: 307.3 tok/s
Latency: 0.27ms

Novita

Throughput: 69.42 tok/s
Latency: 0.62ms

Lambda

Throughput: 93.69 tok/s
Latency: 0.65ms
xAI

Grok-4

+26.7%
Avg Score:83.3%
Providers:2
Meta

Llama 4 Maverick

Avg Score:56.6%
Providers:7