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.

Google

Gemma 3 4B

Google

Gemma 3 4B is a multimodal language model developed by Google. The model shows competitive results across 26 benchmarks. It excels particularly in IFEval (90.2%), GSM8k (89.2%), DocVQA (75.8%). It supports a 262K 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. It's licensed for commercial use, making it suitable for enterprise applications. Released in 2025, it represents Google's latest advancement in AI technology.

Google

Gemma 3 4B

Google

2025-03-12

Anthropic

Claude Sonnet 4

Anthropic

2025-05-22

2 months newer

Pricing Comparison

Cost per million tokens (USD)

Anthropic

Claude Sonnet 4

Input:$3.00
Output:$15.00
Google

Gemma 3 4B

$17.94 cheaper
Input:$0.02
Output:$0.04

Performance Metrics

Context window and performance specifications

Anthropic

Claude Sonnet 4

Larger context
Max Context:328.0K
Google

Gemma 3 4B

Max Context:262.1K
Parameters:4.0B

Average performance across 1 common benchmarks

Anthropic

Claude Sonnet 4

+44.6%
Average Score:75.4%
Google

Gemma 3 4B

Average Score:30.8%

Performance comparison across key benchmark categories

Anthropic

Claude Sonnet 4

vision
+15.4%
74.4%
general
+27.4%
68.1%
Google

Gemma 3 4B

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

Gemma 3 4B

2024-08-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
Google

Gemma 3 4B

1 providers

DeepInfra

Throughput: 33 tok/s
Latency: 0.2ms
Anthropic

Claude Sonnet 4

+44.6%
Avg Score:75.4%
Providers:3
Google

Gemma 3 4B

Avg Score:30.8%
Providers:1