Claude Opus 4.8vsClaude Sonnet 4

Claude Opus 4.8
Claude Sonnet 4
Specifications
Context window
1M
API pricing
Input price
$5.00
Output price
$25.00
Cached input price
$0.50
Benchmarks
BullshitBench v2
95%30%
Benchmarks
Gray Swan IPI · k = 1
0.5%
Gray Swan IPI · k = 10
4.1%
Gray Swan IPI · k = 15
5.5%
SWE-Bench Pro
69.2%
SWE-Bench Verified
72.7%
SWE-Bench Multilingual
84.4%
CursorBench v3.2
62.3%
CursorBench v3.1
63.8%
DeepSWE 1.0
55.8%
Next.js Evals
88%
Frontier-Bench v0.1
21.1%
Terminal-Bench 2.1
74.6%
BU Bench
74%
BrowseComp
84.3%
Humanity's Last Exam · no tools
49.8%
Humanity's Last Exam · with tools
57.9%
GPQA Diamond
75.4%
OSWorld-Verified
83.4%
Finance Agent v2
53.9%
Harvey's Legal Agent Benchmark
9.58%
TaxEval v2
75.63%
MedScribe
85.75%
GDPval-AA
1890
GDPval-AA v2
1600
Arena Elo (Text)
1482
Arena Elo (Code)
1568
Overview
CompanyAnthropicAnthropic
Release dateMay 28 2026May 22 2025
AccessProprietaryProprietary

Frequently asked questions

Claude Opus 4.8 leads Claude Sonnet 4 on 1 of the 1 benchmark they both report (BullshitBench v2). Only Claude Opus 4.8 has a verified first-party API price: $5.00 per million input tokens and $25.00 per million output tokens. No pay-as-you-go API rate is tracked for Claude Sonnet 4. Claude Sonnet 4 shipped 371 days before Claude Opus 4.8, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On BullshitBench v2, Claude Opus 4.8 leads at 95% vs Claude Sonnet 4 at 30%.

Claude Opus 4.8 was released by Anthropic on May 28 2026.

Claude Sonnet 4 was released by Anthropic on May 22 2025.

Only Claude Opus 4.8 has a verified first-party API price: $5.00 per million input tokens and $25.00 per million output tokens. No pay-as-you-go API rate is tracked for Claude Sonnet 4. Rates are pay-as-you-go API prices verified on August 18, 2026.

Other comparisons