Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Opus 4.7 vs Claude Sonnet 5

Anthropic · released

Wins 5 of 8 areas

Coding · Facts · Images and charts · Math · Following instructions

Anthropic · released

Wins 2 of 8 areas

Agents · Long documents

Claude Opus 4.7 is the stronger all-rounder.Claude Sonnet 5 is cheaper and better at agents.

Scores updated · 45 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Claude Opus 4.7$5.00 to read · $25.00 to write$30Price from Artificial Analysis
Claude Sonnet 5$2.00 to read · $10.00 to write$12Price from Anthropic's own price page

Claude Sonnet 5 costs 60% less for the same work.

The biggest differences

The three tests each model wins by the widest margin. Scores are out of 100.

Where Claude Opus 4.7 pulls ahead

Where Claude Sonnet 5 pulls ahead

  • Finds one of eight look-alike replies in a long chatMRCR v2 8 needle 128k (average)+22.2points aheadClaude Sonnet 581.5Claude Opus 4.759.3
  • Proof problems from the US Math OlympiadUSAMO 2026+10.2points aheadClaude Sonnet 579.5Claude Opus 4.769.3
  • Fixes real GitHub issues, working as an agentLiveBench · Agentic Coding+8.7points aheadClaude Sonnet 559.4Claude Opus 4.750.7

Every test, side by side

All 45 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingClaude Opus 4.7

Full coding ranking

AgentsClaude Sonnet 5

Full agents ranking

ReasoningEven

Full reasoning ranking

FactsClaude Opus 4.7

Full facts ranking

Images and chartsClaude Opus 4.7

Full images and charts ranking

MathClaude Opus 4.7

Full math ranking

Long documentsClaude Sonnet 5

Full long documents ranking

Following instructionsClaude Opus 4.7

Full following instructions ranking

Other results15 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

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

Claude Opus 4.7 wins five of the eight areas we test: coding, facts, images and charts, math and following instructions. Claude Sonnet 5 wins agents and long documents, and costs 60% less. They are level on reasoning.

Which is better for coding?

Claude Opus 4.7. It wins 6 of the 8 coding tests both models report; Claude Sonnet 5 wins 1, and 1 is a tie.

Which is cheaper?

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Claude Sonnet 5 costs $2.00 and $10.00. That makes Claude Sonnet 5 about 60% cheaper for the same work.

How do you compare the two?

We use the 45 benchmark tests both models have published scores on. The verdict counts the 30 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 15 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.