All Comparisons

Claude Sonnet 4 vs GPT-4o
Claude Sonnet 4
Anthropic πΊπΈ
68.5
#83β
high$3.00/M in Β· $15.00/M out
200K context
GPT-4o
OpenAI πΊπΈ
58.3
#136β
high$2.50/M in Β· $10.00/M out
128K context
Most Affordable
GPT-4o
$2.50/M input
Largest Context
Claude Sonnet 4
200K tokens
Best Benchmark Score
Claude Sonnet 4
68.5/100
Model Specifications
| Spec | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Release Date | May 2025 | May 2024 |
| Knowledge Cutoff | Mar 2025 | Oct 2023 |
| Parameters | unknown | unknown |
| Context Window | 200K | 128K |
| Max Output | β | β |
| Open Source | No | No |
| License | proprietary | proprietary |
| Tokenizer | β | β |
| Modality | β | β |
| Reasoning Model | No | No |
| Moderated | No | No |
Pricing Comparison
| Price (per 1M tokens) | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| Input | $3.00 | $2.50 |
| Output | $15.00 | $10.00 |
API Provider Pricing
Capabilities
| Feature | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| Text Input | ||
| Image Input (Vision) | ||
| Audio Input | ||
| Video Input | ||
| File Input | ||
| Image Output | ||
| Audio Output | ||
| Tool Use | ||
| Structured Output (JSON) | ||
| Streaming | ||
| Reasoning Tokens | ||
| Web Search | ||
| Temperature Control | ||
| Top-P Sampling | ||
| Stop Sequences | ||
| Seed (Reproducibility) | ||
| Log Probabilities |
Category Comparison
Benchmark-by-Benchmark
general
| Benchmark | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| IFEval | 90.1 | 83.6 |
| MMLU-Pro | 80.2 | 74.5 |
| Chatbot Arena Elo | 1310 | 1285 |
coding
| Benchmark | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| HumanEval | 93.8 | 90.2 |
| SWE-bench Verified | 53.2 | 33.2 |
reasoning
| Benchmark | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| BigBench-Hard | 90.8 | 87.3 |
| GPQA Diamond | 70.5 | 53.6 |
| ARC-Challenge | β | 96.4 |
multimodal
| Benchmark | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| MMMU | 72.5 | 69.1 |
language
| Benchmark | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| HellaSwag | β | 96.4 |
| WinoGrande | β | 85.7 |
safety
| Benchmark | Claude Sonnet 4 | GPT-4o |
|---|---|---|
| TruthfulQA | β | 73.5 |
Category Winners
coding
54.0
math
66.8
reasoning
70.9
general
90.0
language
79.9
multimodal
63.3
safety
94.3