Skip to main content

Head-to-head comparison

Claude Opus 4.8 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
3
distinct benchmarks
3
latest retrieval
2026-09-02

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 Opus 4.8 and Claude Opus 4.7
AttributeClaude Opus 4.8Claude Opus 4.7
ProviderAnthropicAnthropic
ReleasedMay 2026Apr 2026
AvailabilityLegacyActive
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window1,000,000 tokens1,000,000 tokens
Knowledge cutoffJanuary 2026January 2026
Technical sourcesModel, Knowledge cutoffModel, 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 Opus 4.8 and Claude Opus 4.7
Price typeClaude Opus 4.8Claude Opus 4.7
API input$5$5
API output$25$25
Cache read$0.5$0.5
Cache write (5 min.)$6.25$6.25
Cache write (1 hr.)$10$10
Price verified07/30/2026 Source07/30/2026 Source
Claude Opus 4.8Claude Opus 4.7
API inputUSD per 1M tokens, base tier
Claude Opus 4.8Tie$5
Claude Opus 4.7Tie$5
API outputUSD per 1M tokens, base tier
Claude Opus 4.8Tie$25
Claude Opus 4.7Tie$25
Cache readUSD per 1M tokens, base tier
Claude Opus 4.8Tie$0.5
Claude Opus 4.7Tie$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 Opus 4.8 and Claude Opus 4.7
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Claude Opus 4.8AnthropicDirect from developerStandard APILowest listed price: $5Lowest listed price: $25Source07/30/2026
Claude Opus 4.7AnthropicDirect from developerStandard APILowest listed price: $5Lowest listed price: $25Source07/30/2026
Amazon BedrockVia OpenRouteramazon-bedrock/eu-west-1$5.5$27.5Source09/12/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
AnthropicVia OpenRouteranthropicLowest listed price: $5Lowest listed price: $25Source09/12/2026
AzureVia OpenRouterazure/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $5Lowest listed price: $25Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/europe$5.5$27.5Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/us$5.5$27.5Source09/12/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.

Not enough directly matched categories for a reliable radar

Only 3 of at least 5 categories have comparable, direct model measurements. The benchmark tables below show the available evidence without filling missing axes.

Claude Opus 4.8Claude Opus 4.7
GPQA DiamondOverall. Higher is better. No documented setup difference
Claude Opus 4.893.6 %
Claude Opus 4.7Winner94.2 %
OSWorld VerifiedOverall. Higher is better. No documented setup difference
Claude Opus 4.8Winner83.4 %
Claude Opus 4.782.3 %
SWE-Marathon v1.0Binary resolution, pass@1. Higher is better. No documented setup difference
Claude Opus 4.8Winner26 %
Claude Opus 4.716 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Claude Opus 4.8 and Claude Opus 4.7
Benchmark and taskClaude Opus 4.8Claude Opus 4.7Source
GPQA DiamondOverall
Test details
No documented difference in the test setupVersion: DiamondMetric: accuracyScoring: Higher is betterVendor-reported GPQA Diamond result.
93.6 %
Editorial selection from the vendor table, not a complete extract of the comparison cohort.
Winner94.2 %
Editorial selection from the vendor table, not a complete extract of the comparison cohort.
Anthropic
Source details
Data as of: 05/28/2026
OSWorld VerifiedOverall
Test details
No documented difference in the test setupVersion: VerifiedMetric: successScoring: Higher is betterVendor-reported OSWorld Verified result for the agent system.
Winner83.4 %
Editorial selection from the vendor table, not a complete extract of the comparison cohort.
82.3 %
Anthropic's release-page footnote reports 82.3% after an updated run. The associated system-card table still contains 82.8%.
Anthropic
Source details
Data as of: 05/28/2026
SWE-Marathon v1.0Binary resolution, pass@1
Test details
No documented difference in the test setupVersion: v1.0 leaderboardMetric: binary resolution pass@1Scoring: Higher is betterSettings: Agent: Claude Code20 multi-hour tasks. The named coding agent is part of every result row.
Winner26 %
16 %
SWE-Marathon
Source details
Data as of: 06/05/2026

Key to the marks:better valuebetter, but not conclusivetie

Our model tests

Community tests you can inspect

Compare how the models respond to the same prompt. Each test shows the first attempt, with no subsequent fixes to the generated code. These results do not contribute to an overall score.

Pelican on a bicycle

A community classic for free-form SVG drawing.

Claude Opus 4.8

Not tested yet

Claude Opus 4.7

Not tested yet

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 Opus 4.8 and Claude Opus 4.7 with other leading models using the same data and benchmark logic.

View the complete LLM comparison