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
| Rate | Input $/MTok | Output $/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.
Confidence scores (0-100) and cross-provider rank for each task type. Rank 1 is best across all 20 models.
| Task | Confidence | Rank |
|---|---|---|
| Code Generation | 95/100 | #1 |
| Code Review | 94/100 | #2 |
| Summarization | 88/100 | #4 |
| Q&A | 85/100 | #5 |
| Extraction | 82/100 | #5 |
| Reasoning | 97/100 | #1 |
| Classification | 80/100 | #6 |
| Creative Writing | 93/100 | #1 |
Estimated cost per API call using default token counts for each workload.
| Use case | Input tokens | Output tokens | Cost / call |
|---|---|---|---|
| Code Generation | 2,000 | 4,000 | $0.1100 |
| Unit Test Generation | 3,000 | 5,000 | $0.1400 |
| SQL Generation | 1,500 | 1,000 | $0.0325 |
| API Generation | 3,000 | 6,000 | $0.1650 |
| Code Refactoring | 4,000 | 4,000 | $0.1200 |
| Code Review | 5,000 | 2,000 | $0.0750 |
| PR Review | 8,000 | 3,000 | $0.1150 |
| Security Review | 6,000 | 2,500 | $0.0925 |
| Bug Detection | 5,000 | 2,000 | $0.0750 |
| Document Summarization | 10,000 | 1,000 | $0.0750 |
| PDF Summarization | 15,000 | 1,500 | $0.1125 |
| Meeting Notes | 8,000 | 2,000 | $0.0900 |
Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).
| Calls / month | Without caching | With 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.
Same-tier models from other providers, sorted by input price.
| Model | Provider | Input $/MTok | Output $/MTok | Input savings |
|---|---|---|---|---|
| Grok 4.6 | Grok | $2.00 | $6.00 | 60% cheaper |
| Grok 4.5 | Grok | $2.00 | $6.00 | 60% cheaper |
| GPT 5.6 Sol | GPT | $4.00 | $20.00 | 20% cheaper |
| GPT 5.5 | GPT | $5.00 | $30.00 | Same price |
Input increased
$4.50 to $5.00/MTok
See exactly how much you spend on Claude Opus 4.8 and where you can save. Two-line wrapper install, no API keys shared.