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 mini

OpenAI

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

OpenAI

GPT-4.1 mini

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 mini

$16.00 cheaper
Input:$0.40
Output:$1.60

Performance Metrics

Context window and performance specifications

Anthropic

Claude Sonnet 4

Max Context:328.0K
OpenAI

GPT-4.1 mini

Larger context
Max Context:1.1M

Average performance across 7 common benchmarks

Anthropic

Claude Sonnet 4

+21.2%
Average Score:74.3%
OpenAI

GPT-4.1 mini

Average Score:53.1%

Performance comparison across key benchmark categories

Anthropic

Claude Sonnet 4

vision
+1.7%
74.4%
agents
+24.4%
70.3%
general
+22.2%
68.1%
OpenAI

GPT-4.1 mini

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

GPT-4.1 mini

2024-05-31

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 mini

2 providers

ZeroEval

Throughput: 150 tok/s
Latency: 5ms

OpenAI

Throughput: 150 tok/s
Latency: 5ms
Anthropic

Claude Sonnet 4

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

GPT-4.1 mini

Avg Score:53.1%
Providers:2