AI model comparison

Claude Opus 4.7 vs Claude Opus 5

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown
Context tokens
1M
Input / 1M
$5.00
Output / 1M
$25.00

Anthropic

Claude Opus 5
Context tokens
1M
Input / 1M
$5.00
Output / 1M
$25.00
Benchmark snapshot
Code Completion
Claude Opus 4.7Claude Opus 5
78.261%
82.609%

Percent score · Result source · Test method

Catalog checked Nov 27, 202623 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
Claude Opus 4.7 and Claude Opus 5 scored 78.261% and 82.609%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $11.25 for Claude Opus 4.7 and $11.25 for Claude Opus 5.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

Claude Opus 4.7Claude Opus 5

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.261%
82.609%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

85.915%
80.282%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

63.636%
77.273%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

45%
75%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

43.333%
43.333%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
99.01%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

92.333%
99.333%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

89.521%
77.571%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort
Show 15 more shared results

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

84%
97%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

70%
86%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98.039%
94.118%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

91.376%
92.796%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

65.767%
65.733%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

61.409%
74.731%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

65.5%
61.583%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
100%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

69.4%
61.317%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

66.283%
66.433%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

47.231%
51.962%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98.039%
94.118%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80.769%
78.846%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80%
92%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
100%
Test configurations
Claude Opus 4.7
claude-opus-4-7-xhigh-effort
Claude Opus 5
claude-opus-5-max-effort
View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

Claude Opus 4.7

No additional benchmark results are available for this model ID.

Claude Opus 5

BenchmarkScoreConfigurationSource model labelEvidence
Long Agentic62.1%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method
Reasoning91.2%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method
Coding90.8%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method
Browser84%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method
Data Analysis74.6%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method
Research88.9%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method
Design83%claude-opus-5 · Suite release Oct 14, 2026 · run date unavailableclaude-opus-5Result source · Test method

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensClaude Opus 4.7Claude Opus 5
Uncached input$5.00$5.00
Output$25.00$25.00
Cache read$0.50$0.50
Cache write$6.25$6.25

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

Claude Opus 4.7$11.25
Claude Opus 5$11.25

The estimated costs are equal.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationClaude Opus 4.7Claude Opus 5
Catalog statusListedListed
Catalog model IDanthropic/claude-opus-4.7anthropic/claude-opus-5
ProviderAnthropicAnthropic
Context window1,000,000 tokens1,000,000 tokens
Max output128,000 tokens128,000 tokens
Input modalitiesText, Image, FileText, Image, File
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateApr 16, 2026Jul 24, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

Claude Opus 4.7

Listed in the public Router catalog.

claude-opus-4-7

Claude Opus 5

Listed in the public Router catalog.

claude-opus-5

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology