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 nano

OpenAI

GPT-4.1 nano is a multimodal language model developed by OpenAI. The model shows competitive results across 25 benchmarks. It excels particularly in MMLU (80.1%), IFEval (74.5%), CharXiv-D (73.9%). 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 nano

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 nano

$17.50 cheaper
Input:$0.10
Output:$0.40

Performance Metrics

Context window and performance specifications

Anthropic

Claude Sonnet 4

Max Context:328.0K
OpenAI

GPT-4.1 nano

Larger context
Max Context:1.1M

Average performance across 5 common benchmarks

Anthropic

Claude Sonnet 4

+33.5%
Average Score:75.4%
OpenAI

GPT-4.1 nano

Average Score:41.8%

Performance comparison across key benchmark categories

Anthropic

Claude Sonnet 4

vision
+19.0%
74.4%
agents
+52.0%
70.3%
general
+35.7%
68.1%
OpenAI

GPT-4.1 nano

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

GPT-4.1 nano

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 nano

1 providers

OpenAI

Throughput: 200 tok/s
Latency: 2ms
Anthropic

Claude Sonnet 4

+33.5%
Avg Score:75.4%
Providers:3
OpenAI

GPT-4.1 nano

Avg Score:41.8%
Providers:1