Claude/Flagship

Claude Opus 4.8

Claude Opus 4.8 is Claude's most capable model, priced at $5.00/MTok input and $25.00/MTok output with a 200K context window.

Input $/MTok

$5.00

Output $/MTok

$25.00

Context window

200K

Cache read discount

90% off

Claude Opus 4.8 pricing breakdown

RateInput $/MTokOutput $/MTok
Standard$5.00$25.00
Cached read (90% off input)$0.50-
Cached write (25% surcharge)$6.25-
Batch (50% off)$2.50$12.50

All rates in USD per million tokens. Prices verified against provider documentation.

Claude Opus 4.8 task benchmarks

Confidence scores (0-100) and cross-provider rank for each task type. Rank 1 is best across all 20 models.

TaskConfidenceRank
Code Generation95/100#1
Code Review94/100#2
Summarization88/100#4
Q&A85/100#5
Extraction82/100#5
Reasoning97/100#1
Classification80/100#6
Creative Writing93/100#1

Claude Opus 4.8 cost by use case

Estimated cost per API call using default token counts for each workload.

Use caseInput tokensOutput tokensCost / call
Code Generation2,0004,000$0.1100
Unit Test Generation3,0005,000$0.1400
SQL Generation1,5001,000$0.0325
API Generation3,0006,000$0.1650
Code Refactoring4,0004,000$0.1200
Code Review5,0002,000$0.0750
PR Review8,0003,000$0.1150
Security Review6,0002,500$0.0925
Bug Detection5,0002,000$0.0750
Document Summarization10,0001,000$0.0750
PDF Summarization15,0001,500$0.1125
Meeting Notes8,0002,000$0.0900

Monthly cost projections

Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).

Calls / monthWithout cachingWith caching (90% read discount)
1K$110$103.7
10K$1,100$1,037
100K$11,000$10,370
500K$55,000$51,850
1M$110,000$103,700

Caching estimate assumes 70% of input tokens are cache reads. Your actual cache hit rate will depend on prompt structure and reuse.

Flagship alternatives to Claude Opus 4.8

Same-tier models from other providers, sorted by input price.

ModelProviderInput $/MTokOutput $/MTokInput savings
Grok 4.6Grok$2.00$6.0060% cheaper
Grok 4.5Grok$2.00$6.0060% cheaper
GPT 5.6 SolGPT$4.00$20.0020% cheaper
GPT 5.5GPT$5.00$30.00Same price

Claude Opus 4.8 pricing history

Input increased

$4.50 to $5.00/MTok

May 28, 2026

View full Claude Opus 4.8 pricing history

Track your Claude Opus 4.8 spend

See exactly how much you spend on Claude Opus 4.8 and where you can save. Two-line wrapper install, no API keys shared.