Skip to main content

Head-to-head comparison

Claude Sonnet 5 vs. Claude Opus 4.8

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

shared result series
27
distinct benchmarks
27
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.8
AttributeClaude Sonnet 5Claude Opus 4.8
ProviderAnthropicAnthropic
ReleasedJun 30, 2026May 2026
AvailabilityActiveLegacy
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.8
Price typeClaude Sonnet 5Claude Opus 4.8
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.8
API inputUSD per 1M tokens, base tier
Claude Sonnet 5Lower price$2
Claude Opus 4.8$5
API outputUSD per 1M tokens, base tier
Claude Sonnet 5Lower price$10
Claude Opus 4.8$25
Cache readUSD per 1M tokens, base tier
Claude Sonnet 5Lower price$0.2
Claude Opus 4.8$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.

No provider tariff for Claude Opus 4.8 is available in the stored OpenRouter snapshot. The official direct price is still shown.

Provider pricing for Claude Sonnet 5 and Claude Opus 4.8
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/15/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $2Lowest listed price: $10Source10/15/2026
Amazon BedrockVia OpenRouteramazon-bedrock/us-east-1$2.2$11Source10/15/2026
AnthropicVia OpenRouteranthropicLowest listed price: $2Lowest listed price: $10Source10/15/2026
AzureVia OpenRouterazure/us$2.2$11Source10/15/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $2Lowest listed price: $10Source10/15/2026
GoogleVia OpenRoutergoogle-vertex/europe$2.2$11Source10/15/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $2Lowest listed price: $10Source10/15/2026
GoogleVia OpenRoutergoogle-vertex/us$2.2$11Source10/15/2026
Claude Opus 4.8AnthropicDirect from developerStandard APILowest listed price: $5Lowest listed price: $25Source09/22/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 tasksMultimodalProductivity
Claude Sonnet 5
Claude Opus 4.8
Coding: 71 / 100 (6 benchmark families)
Reasoning: 96.2 / 100 (1 benchmark family)
Knowledge: 97.7 / 100 (1 benchmark family)
Finance: 98.6 / 99.9 (6 benchmark families)
Legal: 82.6 / 99.9 (3 benchmark families)
Agentic tasks: 89.2 / 98.2 (2 benchmark families)
Multimodal: 95.9 / 100 (1 benchmark family)
Productivity: 96.9 / 100 (1 benchmark family)

27 matched rows from 26 benchmark families were considered. The radar shows 8 of 12 comparable categories.

Claude Sonnet 5Claude Opus 4.8
Code MigrationOverall. Higher is better. No documented setup difference
Claude Sonnet 544.392 %
Claude Opus 4.8Winner47.25 %
CorpFin v2Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.977 %
Claude Opus 4.866.706 %
EMBOverall. Higher is better. No documented setup difference
Claude Sonnet 566.316 %
Claude Opus 4.8Winner69.373 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
Claude Sonnet 553.909 %
Claude Opus 4.8Winner53.918 %
GPQA DiamondOverall. Higher is better. No documented setup difference
Claude Sonnet 588.889 %
Claude Opus 4.8Winner92.424 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
Claude Sonnet 55 %
Claude Opus 4.8Winner9.583 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
Claude Sonnet 541.827 %
Claude Opus 4.8Winner43.75 %
LegalBenchOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner83.922 %
Claude Opus 4.883.568 %
LiveCodeBench v6Overall. Higher is better. No documented setup difference
Claude Sonnet 582.429 %
Claude Opus 4.8Winner87.819 %
MedCodeOverall. Higher is better. No documented setup difference
Claude Sonnet 547.54 %
Claude Opus 4.8Winner53.217 %
MedScribeOverall. Higher is better. No documented setup difference
Claude Sonnet 576.054 %
Claude Opus 4.8Winner85.755 %
MMLU-ProOverall. Higher is better. No documented setup difference
Claude Sonnet 587.545 %
Claude Opus 4.8Winner89.585 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Claude Sonnet 5 and Claude Opus 4.8
Benchmark and taskClaude Sonnet 5Claude Opus 4.8Source
Code MigrationOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
44.392 %
Winner47.25 %
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.706 %
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
66.316 %
Winner69.373 %
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
53.909 %
Winner53.918 %
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 %
Winner92.424 %
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 %
Winner9.583 %
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
41.827 %
Winner43.75 %
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
Winner83.922 %
83.568 %
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 %
Winner87.819 %
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 %
Winner53.217 %
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 %
Winner85.755 %
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.585 %
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 %
Winner86.59 %
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
Winner70.032 %
69.912 %
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
0 %
Winner1 %
Vals AI
Source details
Data as of: 09/27/2026
Public Benefits Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is better
66.035 %
Winner68.133 %
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 %
Winner54.788 %
Vals AI
Source details
Data as of: 09/26/2026
SkillsBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is betterSettings: Harness: OpenHands
46.476 %
Winner59.227 %
Vals AI
Source details
Data as of: 09/27/2026
SWE-bench VerifiedOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
79.6 %
Winner88.6 %
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 %
Winner64.906 %
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
Tie75.634 %
Tie75.634 %
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 %
71.91 %
Vals AI
Source details
Data as of: 09/27/2026
Terminal-Bench 4.0Overall
Test details
No documented difference in the test setupVersion: 4.0Metric: accuracyScoring: Higher is better
8.081 %
Winner16.162 %
Vals AI
Source details
Data as of: 09/27/2026
Terminal-Bench ScienceOverall
Test details
No documented difference in the test setupVersion: 0.1Metric: accuracyScoring: Higher is better
2.857 %
Winner10 %
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
59.61 %
Winner60.908 %
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
68.826 %
Winner70.889 %
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
81.325 %
Winner82.725 %
Vals AI
Source details
Data as of: 09/27/2026

Key to the marks:better valuebetter, but not conclusivetie

Our model tests

Our tests

SVG short test

One SVG prompt and fixed output settings. Captures are shown only with 0 reported reasoning tokens or documented lack of reasoning controls. Identical test conditions do not make the models' internal compute identical.

Shared test round: 4ae5d8eeb9a9

Claude Sonnet 5

Unavailable in this round

Claude Opus 4.8

Unavailable in this round

Earlier tests

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
Sep 7, 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.8

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

Reasoning (requested): high

Current attempt
Run date
Oct 1, 2026
API provider
openrouter
Requested API model
anthropic/claude-opus-4.8
API model reported in response
anthropic/claude-opus-4.8
Reasoning setting
high
Pinned endpoint
Anthropic | anthropic/claude-4.8-opus-20260528
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
18 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.8 with other leading models using the same data and benchmark logic.

View the complete LLM comparison