All Comparisons

Claude Opus 4 vs Claude Sonnet 4

Claude Opus 4
Anthropic 🇺🇸
74.8
#59
high
$15.00/M in · $75.00/M out
200K context
Claude Sonnet 4
Anthropic 🇺🇸
68.3
#93
high
$3.00/M in · $15.00/M out
1M context
Most Affordable
Claude Sonnet 4
$3.00/M input
Largest Context
Claude Sonnet 4
1M tokens
Best Benchmark Score
Claude Opus 4
74.8/100

Model Specifications

SpecClaude Opus 4Claude Sonnet 4
ProviderAnthropicAnthropic
Release DateMay 2025May 2025
Knowledge Cutoff2025-01-312025-01-31
Parametersunknownunknown
Context Window200K1M
Max Output32K64K
Open SourceNoNo
Licenseproprietaryproprietary
TokenizerClaudeClaude
Modalitytext+image+file->texttext+image+file->text
Reasoning ModelNoNo
ModeratedNoYes

Pricing Comparison

Price (per 1M tokens)Claude Opus 4Claude Sonnet 4
Input$15.00$3.00
Output$75.00$15.00
Cache Read$1.50$0.30
Cache Write$18.75$3.75

API Provider Pricing

Capabilities

FeatureClaude Opus 4Claude Sonnet 4
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

BenchmarkClaude Opus 4Claude Sonnet 4
Chatbot Arena Elo
1365
1310
IFEval
91.5
90.1
MMLU-Pro
83.5
80.2

coding

BenchmarkClaude Opus 4Claude Sonnet 4
SWE-bench Verified
55.8
53.2
HumanEval
95.1
93.8

math

BenchmarkClaude Opus 4Claude Sonnet 4
GSM8K
97.8
97.2
AIME 2024
35
24.5
MATH
85.2
81.4

reasoning

BenchmarkClaude Opus 4Claude Sonnet 4
GPQA Diamond
74.8
70.5
BigBench-Hard
93.2
90.8

multimodal

BenchmarkClaude Opus 4Claude Sonnet 4
MMMU
74.2
72.5

Category Winners

coding
Claude Opus 4
58.0
math
Claude Opus 4
75.5
reasoning
Claude Opus 4
79.3
general
Claude Opus 4
96.0
multimodal
Claude Opus 4
66.8

Frequently Asked Questions