Skip to content
llmmodels

Claude Opus 4.7 vs Claude Sonnet 5

Claude Opus 4.7 wins 5 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (157.5 vs 156.9). Claude Sonnet 5 is about 2.5× cheaper on a blended (3:1 input:output) token price.

SpecClaude Opus 4.7Claude Sonnet 5
ProviderAnthropicAnthropic
ReleasedApr 14, 2026Jun 29, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M1M
Max output125K125K
Input price / 1M$5$2 (better)
Output price / 1M$25$10 (better)
Input modalitiestext, image, pdf, filetext, image, pdf, file
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers5556 (better)
Epoch Capabilities Index157.5 (better)156.9
GPQA Diamond90.2%90.5% (better)
Humanity's Last Exam36.2%—
SWE-bench Verified83.5%—
Terminal-Bench80.2%—
WebDev Arena1567 (better)1537
OTIS Mock AIME97.8% (better)94.7%
FrontierMath70.2% (better)65.6%
ARC-AGI-275.8%—
SimpleQA Verified51.7% (better)33.7%

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Opus 4.7 costs $100.00 and Claude Sonnet 5 costs $40.00 at list price (Anthropic / anthropic pricing).

About Claude Opus 4.7

Claude Opus 4.7 is a proprietary reasoning llm from Anthropic, released Apr 14, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $5 per million input tokens and $25 per million output tokens. It is available from 55 API providers. It scores 157.5 on the Epoch Capabilities Index. Full Claude Opus 4.7 specs →

About Claude Sonnet 5

Claude Sonnet 5 is a proprietary reasoning llm from Anthropic, released Jun 29, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 56 API providers. It scores 156.9 on the Epoch Capabilities Index. Full Claude Sonnet 5 specs →

Compare other models

FAQ

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

Claude Opus 4.7 wins 5 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (157.5 vs 156.9). Claude Sonnet 5 is about 2.5× cheaper on a blended (3:1 input:output) token price.

Is Claude Opus 4.7 cheaper than Claude Sonnet 5?

Claude Opus 4.7 costs $5 input / $25 output per 1M tokens; Claude Sonnet 5 costs $2 / $10. Claude Sonnet 5 is cheaper overall.

Which has a bigger context window?

Claude Opus 4.7: 1,000,000 tokens. Claude Sonnet 5: 1,000,000 tokens.

Are Claude Opus 4.7 and Claude Sonnet 5 open source?

Claude Opus 4.7 is proprietary; Claude Sonnet 5 is proprietary.