Model Comparison

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

Anthropic

Claude Sonnet 4

Anthropic

Claude Sonnet 4 is a multimodal language model developed by Anthropic. It achieves strong performance with an average score of 69.4% across 8 benchmarks. It excels particularly in MMMLU (86.5%), TAU-bench Retail (80.5%), GPQA (75.4%). It supports a 328K token context window for handling large documents. The model is available through 3 API providers. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2025, it represents Anthropic's latest advancement in AI technology.

OpenAI

GPT-4.1

OpenAI

GPT-4.1 is a multimodal language model developed by OpenAI. The model shows competitive results across 30 benchmarks. It excels particularly in MMLU (90.2%), CharXiv-D (87.9%), IFEval (87.4%). With a 1.1M token context window, it can handle extensive documents and complex multi-turn conversations. 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 2025, it represents OpenAI's latest advancement in AI technology.

OpenAI

GPT-4.1

OpenAI

2025-04-14

Anthropic

Claude Sonnet 4

Anthropic

2025-05-22

1 month newer

Pricing Comparison

Cost per million tokens (USD)

Anthropic

Claude Sonnet 4

Input:$3.00
Output:$15.00
OpenAI

GPT-4.1

$8.00 cheaper
Input:$2.00
Output:$8.00

Performance Metrics

Context window and performance specifications

Anthropic

Claude Sonnet 4

Max Context:328.0K
OpenAI

GPT-4.1

Larger context
Max Context:1.1M

Average performance across 7 common benchmarks

Anthropic

Claude Sonnet 4

+10.5%
Average Score:74.3%
OpenAI

GPT-4.1

Average Score:63.8%

Performance comparison across key benchmark categories

Anthropic

Claude Sonnet 4

vision
+1.0%
74.4%
agents
+11.6%
70.3%
general
+14.7%
68.1%
OpenAI

GPT-4.1

vision
73.4%
agents
58.7%
general
53.4%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores
Knowledge Cutoff
Training data recency comparison

GPT-4.1

2024-06-01

More recent knowledge cutoff means awareness of newer technologies and frameworks

Provider Availability & Performance

Available providers and their performance metrics

Anthropic

Claude Sonnet 4

3 providers

Google

Throughput: 42 tok/s
Latency: 0.4ms

Bedrock

Throughput: 101 tok/s
Latency: 0.5ms

Anthropic

Throughput: 42 tok/s
Latency: 0.4ms
OpenAI

GPT-4.1

1 providers

OpenAI

Throughput: 100 tok/s
Latency: 10ms
Anthropic

Claude Sonnet 4

+10.5%
Avg Score:74.3%
Providers:3
OpenAI

GPT-4.1

Avg Score:63.8%
Providers:1