Model Comparison

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

Anthropic

Claude 3.5 Sonnet

Anthropic

Claude 3.5 Sonnet is a multimodal language model developed by Anthropic. This model demonstrates exceptional performance with an average score of 84.1% across 9 benchmarks. It excels particularly in GSM8k (96.4%), BIG-Bench Hard (93.1%), HumanEval (92.0%). It supports a 400K 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 2024, it represents Anthropic's latest advancement in AI technology.

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.

Anthropic

Claude 3.5 Sonnet

Anthropic

2024-06-21

xAI

Grok-4

xAI

2025-07-09

1 year newer

Pricing Comparison

Cost per million tokens (USD)

Anthropic

Claude 3.5 Sonnet

Input:$3.00
Output:$15.00
xAI

Grok-4

Input:$3.00
Output:$15.00

Performance Metrics

Context window and performance specifications

Anthropic

Claude 3.5 Sonnet

Larger context
Max Context:400.0K
xAI

Grok-4

Max Context:264.0K

Average performance across 1 common benchmarks

Anthropic

Claude 3.5 Sonnet

Average Score:59.4%
xAI

Grok-4

+28.1%
Average Score:87.5%

Performance comparison across key benchmark categories

Anthropic

Claude 3.5 Sonnet

code
+13.0%
92.0%
general
+11.9%
81.2%
xAI

Grok-4

code
79.0%
general
69.3%
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

Anthropic

Claude 3.5 Sonnet

2 providers

Google

Throughput: 42 tok/s
Latency: 0.4ms

Bedrock

Throughput: 101 tok/s
Latency: 0.5ms
xAI

Grok-4

2 providers

xAI

Throughput: 100 tok/s
Latency: 0.7ms

ZeroEval

Throughput: 100 tok/s
Latency: 0.7ms
Anthropic

Claude 3.5 Sonnet

Avg Score:59.4%
Providers:2
xAI

Grok-4

+28.1%
Avg Score:87.5%
Providers:2