Claude Opus 4 vs Claude Sonnet 5

Side-by-side benchmark comparison across coding, math, reasoning, speed, and pricing.

Claude Sonnet 5 by Anthropic wins on 7 of 7 benchmarks against Claude Opus 4 by Anthropic, which leads on 0. This head-to-head comparison covers coding, math, reasoning, speed, and pricing metrics from our benchmark data.

Category-by-Category Breakdown

Coding: In coding, Claude Sonnet 5 scores 1272 on Design Arena ELO compared to Claude Opus 4's 1171, while Claude Sonnet 5 scores 1289 on Website Arena ELO compared to Claude Opus 4's 1177.

Reasoning: In reasoning, Claude Sonnet 5 scores 81.4% on GPQA Diamond compared to Claude Opus 4's 79.6%.

Context: In context, Claude Sonnet 5 scores 1.0M on Context Length compared to Claude Opus 4's 200K.

Pricing Comparison

Claude Opus 4 costs $15.0/1M input tokens and $75.0/1M output tokens, while Claude Sonnet 5 costs $2.0/1M input and $10.0/1M output. Claude Sonnet 5 is the more affordable option for API usage.

Verdict

Claude Sonnet 5 leads across the board in affordability, making it the stronger overall choice in this comparison.

Claude Opus 4 vs Claude Sonnet 5 — FAQ

Which is better, Claude Opus 4 or Claude Sonnet 5?

Claude Sonnet 5 wins on more benchmarks overall (7 vs 0). However, the best choice depends on your specific needs — each model excels in different areas.

How does Claude Opus 4 compare to Claude Sonnet 5 for coding?

SWE-bench Verified data is not available for both models. Check the detailed comparison charts above for other coding-related metrics.

Is Claude Opus 4 cheaper than Claude Sonnet 5?

Yes, Claude Sonnet 5 is cheaper. Claude Opus 4 costs $15.0/1M input and $75.0/1M output tokens. Claude Sonnet 5 costs $2.0/1M input and $10.0/1M output tokens.

Which is faster, Claude Opus 4 or Claude Sonnet 5?

Output speed data is not available for both models. Check the speed section of the comparison above for available performance data.

What benchmarks does the Claude Opus 4 vs Claude Sonnet 5 comparison cover?

This comparison covers 7 benchmarks including GPQA Diamond, Input Cost, Output Cost, Context Length, Cached Input Cost, Design Arena ELO, Website Arena ELO. Metrics span general intelligence, coding, math, reasoning, speed, and cost categories.