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 3.1 70B Instruct

Meta

Llama 3.1 70B Instruct is a language model developed by Meta. It achieves strong performance with an average score of 74.7% across 18 benchmarks. It excels particularly in GSM-8K (CoT) (95.1%), ARC-C (94.8%), API-Bank (90.0%). It supports a 256K token context window for handling large documents. The model is available through 9 API providers. Released in 2024, it represents Meta's latest advancement in AI technology.

Meta

Llama 3.1 70B Instruct

Meta

2024-07-23

xAI

Grok-2

xAI

2024-08-13

21 days newer

Pricing Comparison

Cost per million tokens (USD)

xAI

Grok-2

Input:$2.00
Output:$10.00
Meta

Llama 3.1 70B Instruct

$11.60 cheaper
Input:$0.20
Output:$0.20

Performance Metrics

Context window and performance specifications

xAI

Grok-2

Max Context:136.0K
Meta

Llama 3.1 70B Instruct

Larger context
Max Context:256.0K
Parameters:70.0B

Average performance across 4 common benchmarks

xAI

Grok-2

+8.8%
Average Score:76.8%
Meta

Llama 3.1 70B Instruct

Average Score:68.0%

Performance comparison across key benchmark categories

xAI

Grok-2

code
+12.1%
88.4%
math
72.5%
general
+4.3%
73.0%
Meta

Llama 3.1 70B Instruct

code
76.3%
math
+10.8%
83.3%
general
68.7%
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 3.1 70B Instruct

9 providers

Sambanova

Throughput: 74 tok/s
Latency: 0.5ms

Together

Throughput: 94 tok/s
Latency: 0.5ms

Hyperbolic

Throughput: 100 tok/s
Latency: 0.5ms

DeepInfra

Throughput: 25 tok/s
Latency: 0.5ms

Fireworks

Throughput: 32 tok/s
Latency: 0.5ms

Groq

Throughput: 250 tok/s
Latency: 0.5ms

Bedrock

Throughput: 100 tok/s
Latency: 0.5ms

Lambda

Throughput: 42 tok/s
Latency: 0.5ms

Cerebras

Throughput: 1204 tok/s
Latency: 0.2ms
xAI

Grok-2

+8.8%
Avg Score:76.8%
Providers:1
Meta

Llama 3.1 70B Instruct

Avg Score:68.0%
Providers:9