Skip to main content

Head-to-head comparison

Claude Sonnet 5 vs. Claude Opus 4.7

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
23
distinct benchmarks
23
latest retrieval
2026-09-29

Change model selection

Specifications

General specifications

Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.

Specifications for Claude Sonnet 5 and Claude Opus 4.7
AttributeClaude Sonnet 5Claude Opus 4.7
ProviderAnthropicAnthropic
ReleasedJun 30, 2026Apr 2026
AvailabilityActiveActive
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window1,000,000 tokens1,000,000 tokens
Knowledge cutoffJanuary 2026January 2026
Technical sourcesModel, ContextModel, Knowledge cutoff

Pricing

API pricing compared

The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.

API pricing for Claude Sonnet 5 and Claude Opus 4.7
Price typeClaude Sonnet 5Claude Opus 4.7
API input$2$5
API output$10$25
Cache read$0.2$0.5
Cache write (5 min.)$2.5$6.25
Cache write (1 hr.)$4$10
Price verified09/22/2026 Source09/22/2026 Source
Claude Sonnet 5Claude Opus 4.7
API inputUSD per 1M tokens, base tier
Claude Sonnet 5Lower price$2
Claude Opus 4.7$5
API outputUSD per 1M tokens, base tier
Claude Sonnet 5Lower price$10
Claude Opus 4.7$25
Cache readUSD per 1M tokens, base tier
Claude Sonnet 5Lower price$0.2
Claude Opus 4.7$0.5

Key to the marks:better valuebetter, but not conclusivetie

Pricing by provider

Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.

Provider pricing for Claude Sonnet 5 and Claude Opus 4.7
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Claude Sonnet 5AnthropicDirect from developerStandard APILowest listed price: $2Lowest listed price: $10Source09/22/2026
Amazon BedrockVia OpenRouteramazon-bedrock/eu-west-1$2.2$11Source10/07/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $2Lowest listed price: $10Source10/07/2026
Amazon BedrockVia OpenRouteramazon-bedrock/us-east-1$2.2$11Source10/07/2026
AnthropicVia OpenRouteranthropicLowest listed price: $2Lowest listed price: $10Source10/07/2026
AzureVia OpenRouterazure/globalLowest listed price: $2Lowest listed price: $10Source10/07/2026
AzureVia OpenRouterazure/us$2.2$11Source10/07/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $2Lowest listed price: $10Source10/07/2026
GoogleVia OpenRoutergoogle-vertex/europe$2.2$11Source10/07/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $2Lowest listed price: $10Source10/07/2026
GoogleVia OpenRoutergoogle-vertex/us$2.2$11Source10/07/2026
Claude Opus 4.7AnthropicDirect from developerStandard APILowest listed price: $5Lowest listed price: $25Source09/22/2026
Amazon BedrockVia OpenRouteramazon-bedrock/eu-west-1$5.5$27.5Source10/07/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $5Lowest listed price: $25Source10/07/2026
AnthropicVia OpenRouteranthropicLowest listed price: $5Lowest listed price: $25Source10/07/2026
AzureVia OpenRouterazure/globalLowest listed price: $5Lowest listed price: $25Source10/07/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $5Lowest listed price: $25Source10/07/2026
GoogleVia OpenRoutergoogle-vertex/europe$5.5$27.5Source10/07/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $5Lowest listed price: $25Source10/07/2026
GoogleVia OpenRoutergoogle-vertex/us$5.5$27.5Source10/07/2026

Performance

Shared benchmarks

Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.

Capability profile from matched benchmarks

Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.

255075100CodingReasoningKnowledgeFinanceLegalAgentic tasksMultimodalHealth
Claude Sonnet 5
Claude Opus 4.7
Coding: 98.8 / 97.2 (5 benchmark families)
Reasoning: 98.6 / 100 (1 benchmark family)
Knowledge: 97.4 / 100 (1 benchmark family)
Finance: 99.5 / 98.3 (6 benchmark families)
Legal: 91.1 / 97.3 (3 benchmark families)
Agentic tasks: 100 / 92 (1 benchmark family)
Multimodal: 97 / 100 (1 benchmark family)
Health: 89.2 / 100 (2 benchmark families)

23 matched rows from 23 benchmark families were considered. The radar shows 8 of 10 comparable categories.

Claude Sonnet 5Claude Opus 4.7
Code MigrationOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner44.392 %
Claude Opus 4.743.878 %
CorpFin v2Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.977 %
Claude Opus 4.766.084 %
EMBOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.316 %
Claude Opus 4.763.728 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner53.909 %
Claude Opus 4.751.509 %
GPQA DiamondOverall. Higher is better. No documented setup difference
Claude Sonnet 588.889 %
Claude Opus 4.7Winner90.152 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
Claude Sonnet 55 %
Claude Opus 4.7Winner6.667 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
Claude Sonnet 5Winner41.827 %
Claude Opus 4.738.462 %
LegalBenchOverall. Higher is better. No documented setup difference
Claude Sonnet 583.922 %
Claude Opus 4.7Winner85.251 %
LiveCodeBench v6Overall. Higher is better. No documented setup difference
Claude Sonnet 582.429 %
Claude Opus 4.7Winner85.073 %
MedCodeOverall. Higher is better. No documented setup difference
Claude Sonnet 547.54 %
Claude Opus 4.7Winner54.858 %
MedScribeOverall. Higher is better. No documented setup difference
Claude Sonnet 576.054 %
Claude Opus 4.7Winner82.953 %
MMLU-ProOverall. Higher is better. No documented setup difference
Claude Sonnet 587.545 %
Claude Opus 4.7Winner89.871 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Claude Sonnet 5 and Claude Opus 4.7
Benchmark and taskClaude Sonnet 5Claude Opus 4.7Source
Code MigrationOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner44.392 %
43.878 %
Vals AI
Source details
Data as of: 09/27/2026
CorpFin v2Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is better
Winner66.977 %
66.084 %
Vals AI
Source details
Data as of: 08/12/2026
EMBOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner66.316 %
63.728 %
Vals AI
Source details
Data as of: 09/27/2026
Finance Agent (v2)Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is better
Winner53.909 %
51.509 %
Vals AI
Source details
Data as of: 09/27/2026
GPQA DiamondOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
88.889 %
Winner90.152 %
Vals AI
Source details
Data as of: 09/01/2026
Harvey's Legal Agent BenchmarkOverall · Task fully resolved
Test details
No documented difference in the test setupVersion: 1Metric: task resolution rateScoring: Higher is better
5 %
Winner6.667 %
Vals AI
Source details
Data as of: 09/27/2026
Legal Research BenchOverall · All-pass
Test details
No documented difference in the test setupVersion: 1Metric: all-pass rateScoring: Higher is better
Winner41.827 %
38.462 %
Vals AI
Source details
Data as of: 09/27/2026
LegalBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
83.922 %
Winner85.251 %
Vals AI
Source details
Data as of: 09/27/2026
LiveCodeBench v6Overall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
82.429 %
Winner85.073 %
Vals AI
Source details
Data as of: 09/01/2026
MedCodeOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
47.54 %
Winner54.858 %
Vals AI
Source details
Data as of: 09/26/2026
MedScribeOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
76.054 %
Winner82.953 %
Vals AI
Source details
Data as of: 09/26/2026
MMLU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
87.545 %
Winner89.871 %
Vals AI
Source details
Data as of: 09/01/2026
MMMU-ProOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
83.006 %
Winner85.549 %
Vals AI
Source details
Data as of: 09/01/2026
MortgageTaxOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
70.032 %
Winner70.27 %
Vals AI
Source details
Data as of: 09/01/2026
ProgramBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Tie0 %
Tie0 %
Vals AI
Source details
Data as of: 09/27/2026
SAGEOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
48.925 %
Winner56.103 %
Vals AI
Source details
Data as of: 09/26/2026
SWE-bench VerifiedOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
79.6 %
Winner82 %
Vals AI
Source details
Data as of: 09/01/2026
Tax Agent BenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
62.273 %
Winner63.864 %
Vals AI
Source details
Data as of: 09/27/2026
TaxEval v2Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is better
Winner75.634 %
75.266 %
Vals AI
Source details
Data as of: 09/01/2026
Terminal-Bench 2.1Overall
Test details
No documented difference in the test setupVersion: 2.1Metric: accuracyScoring: Higher is better
Winner74.532 %
68.539 %
Vals AI
Source details
Data as of: 09/27/2026
Vals IndexOverall
Test details
No documented difference in the test setupVersion: 2Metric: weighted index scoreScoring: Higher is better
Winner59.61 %
56.114 %
Vals AI
Source details
Data as of: 09/27/2026
Vals Multimodal IndexOverall
Test details
No documented difference in the test setupVersion: 1.2Metric: weighted index scoreScoring: Higher is better
Winner68.826 %
67.361 %
Vals AI
Source details
Data as of: 08/11/2026
Vibe Code Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is betterSettings: Harness: OpenHands
Winner81.325 %
71.003 %
Vals AI
Source details
Data as of: 09/27/2026

Key to the marks:better valuebetter, but not conclusivetie

Our model tests

Our tests

Compare how the models respond to the same prompt. Each test shows the latest attempt, with no subsequent fixes to the generated code. Earlier runs remain available in the test details. These results do not contribute to an overall score.

Pelican on a bicycle

A community classic for free-form SVG drawing.

Claude Sonnet 5

Claude Sonnet 5: Pelican on a bicycle
A community classic for free-form SVG drawing.

Reasoning (requested): high

Current attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
anthropic/claude-sonnet-5
API model reported in response
anthropic/claude-sonnet-5
Reasoning setting
high
Pinned endpoint
Anthropic | anthropic/claude-sonnet-5-20260630
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Passed, not a quality rating
Response time
47.9 s

Visually reviewed. This individual test does not establish overall model quality.

Claude Opus 4.7

Claude Opus 4.7: Pelican on a bicycle
A community classic for free-form SVG drawing.

Reasoning (requested): high

Current attempt
Run date
1 Oct 2026
API provider
openrouter
Requested API model
anthropic/claude-opus-4.7
API model reported in response
anthropic/claude-opus-4.7
Reasoning setting
high
Pinned endpoint
Anthropic | anthropic/claude-4.7-opus-20260416
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Passed, not a quality rating
Response time
19.9 s

Visually reviewed. This individual test does not establish overall model quality.

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

How to read this comparison

Winning one benchmark is not an overall verdict

Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.

The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.

Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.

More matchups

Compare Claude Sonnet 5 and Claude Opus 4.7 with other leading models using the same data and benchmark logic.

View the complete LLM comparison