LLM Comparison

Claude Opus 4.8 vs Claude Sonnet 5

Side-by-side specs, pricing & capabilities

Price vs Intelligence

8172645547$4.20$8.02$11.85$15.68$19.50Avg Price per M tokensIntelligenceClaude Opus 4.870.8 / $15.00Claude Sonnet 556.9 / $6.00

Add to comparison

2/6 models
Same tier:
 AnthropicClaude Opus 4.8AnthropicClaude Sonnet 5
OrganizationAnthropicAnthropicAnthropicAnthropic
OpenTools Score
71
4.7
57
9.5
FamilyClaude OpusClaude Sonnet
StatusCurrentCurrent
Release DateMay 2026Jun 2026
Context Window1.0M tokens1.0M tokens
Input Price$5.00/M tokens$2.00/M tokens
Output Price$25.00/M tokens$10.00/M tokens
Pricing NotesStandard Claude API USD per million tokens: $5 input, $25 output, $6.25 five-minute cache write, $10 one-hour cache write, and $0.50 cache read. Batch input and output are 50% lower; the 300K beta Batch output cap is separate. The $10 input / $50 output Fast tier is deprecated and scheduled for removal on November 30, 2026. Standard availability continues.Claude API standard pricing is $2 input and $10 output per million tokens. Cache reads are $0.20, 5-minute cache writes $2.50, and 1-hour cache writes $4 per million tokens. Batch API input/output receives a 50% discount. Current official documentation lists these rates without the previously recorded August 31 introductory expiry; provider-specific rates may differ.
Capabilities
textvisioncodingreasoninglong-contextadaptive-thinking
textvisionreasoningcodingtool-useextended-thinkingagents
Training Cutoff2026-01—
Max Output128K tokens128K tokens
API Identifierclaude-opus-4-8claude-sonnet-5
Benchmarks
Artificial Analysis Intelligence Index v4.3
42 indexartificial-analysis
38.4 indexartificial-analysis
Artificial Analysis Intelligence Index v4.3—
38 indexhttps://artificialanalysis.ai/models/claude-sonnet-5
GPQA Diamond—
91.1%artificial-analysis
SciCode—
54.3%artificial-analysis
Terminal-Bench 2.1—
80.5%artificial-analysis
 View Claude Opus 4.8View Claude Sonnet 5

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Claude Sonnet 5Cheapest$2.00$5.00$7.00—
Claude Opus 4.8$5.00$12.50$17.50+150%

Compare hosting configurations

Compare two exact setups, including different configurations of the same model. Hardware fit, measured speed and costs are separate decisions.

No reviewed configurations are available to compare yet.

Find configurations for your hardware

Looking for more AI models?

Browse All LLMs