Model Comparison

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

xAI

Grok-2

xAI

Grok-2 is a multimodal language model developed by xAI. It achieves strong performance with an average score of 76.5% across 8 benchmarks. It excels particularly in DocVQA (93.6%), HumanEval (88.4%), MMLU (87.5%). It supports a 136K token context window for handling large documents. The model is available through 1 API provider. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2024, 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.

xAI

Grok-2

xAI

2024-08-13

Meta

Llama 4 Maverick

Meta

2025-04-05

7 months newer

Pricing Comparison

Cost per million tokens (USD)

xAI

Grok-2

Input:$2.00
Output:$10.00
Meta

Llama 4 Maverick

$11.23 cheaper
Input:$0.17
Output:$0.60

Performance Metrics

Context window and performance specifications

xAI

Grok-2

Max Context:136.0K
Meta

Llama 4 Maverick

Larger context
Max Context:2.0M
Parameters:400.0B

Average performance across 7 common benchmarks

xAI

Grok-2

Average Score:74.8%
Meta

Llama 4 Maverick

+2.1%
Average Score:76.9%

Performance comparison across key benchmark categories

xAI

Grok-2

code
+27.9%
88.4%
vision
+4.0%
79.8%
math
72.5%
general
+1.5%
73.0%
Meta

Llama 4 Maverick

code
60.5%
vision
75.8%
math
+3.2%
75.7%
general
71.5%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores

Provider Availability & Performance

Available providers and their performance metrics

xAI

Grok-2

1 providers

xAI

Throughput: 85 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-2

Avg Score:74.8%
Providers:1
Meta

Llama 4 Maverick

+2.1%
Avg Score:76.9%
Providers:7