Claude Opus 4.8 is Claude's most capable model, priced at $5.00/MTok input and $25.00/MTok output with a 1M context window.
Input $/MTok
$5.00
Output $/MTok
$25.00
Context window
1M
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 88 models.
| Task | Confidence | Rank |
|---|---|---|
| Code Generation | 63/100 | #13 |
| Code Review | 94/100 | #2 |
| Summarization | 69/100 | #14 |
| Q&A | 85/100 | #5 |
| Extraction | 73/100 | #15 |
| Reasoning | 89/100 | #10 |
| Classification | 80/100 | #6 |
| Creative Writing | 81/100 | #3 |
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 |
|---|---|---|---|---|
| MiniMax M3 | MiniMax | $0.30 | $1.20 | 94% cheaper |
| DeepSeek V4 Pro | DeepSeek | $0.66 | $1.98 | 87% cheaper |
| GPT 6 Sol | GPT | $2.00 | $10.00 | 60% cheaper |
| GPT 6.1 Sol | GPT | $2.00 | $10.00 | 60% cheaper |
| Grok 4.6 | Grok | $2.00 | $6.00 | 60% cheaper |
| Grok 4.5 | Grok | $2.00 | $6.00 | 60% cheaper |
| Grok 4.7 | Grok | $2.00 | $6.00 | 60% cheaper |
| Qwen 3.8 Max | Alibaba (Qwen) | $2.00 | $6.00 | 60% cheaper |
| Kimi K3 | Moonshot (Kimi) | $3.00 | $15.00 | 40% cheaper |
| GPT 5.6 Sol | GPT | $4.00 | $20.00 | 20% cheaper |
| GPT 5.5 | GPT | $5.00 | $30.00 | Same price |
| GPT 4o (2024-05-13) | GPT | $5.00 | $15.00 | Same price |
| GPT 4 Turbo (2024-04-09) | GPT | $10.00 | $30.00 | 100% more |
| GPT 4 Turbo | GPT | $10.00 | $30.00 | 100% more |
| GPT 6 Astra | GPT | $10.00 | $50.00 | 100% more |
| GPT 5 Pro | GPT | $15.00 | $120.00 | 200% more |
| o1 | GPT | $15.00 | $60.00 | 200% more |
| o3 Pro | GPT | $20.00 | $80.00 | 300% more |
| GPT 5.2 Pro | GPT | $21.00 | $168.00 | 320% more |
| GPT 4 (0613) | GPT | $30.00 | $60.00 | 500% more |
| GPT 4 | GPT | $30.00 | $60.00 | 500% more |
| GPT 5.4 Pro | GPT | $30.00 | $180.00 | 500% more |
| GPT 5.5 Pro | GPT | $30.00 | $180.00 | 500% more |
| o1 Pro | GPT | $150.00 | $600.00 | 2900% more |
Fast / Budget / $0.10 in / $0.50 out
Fast / Budget / $1.00 in / $5.00 out
Mid-tier / $2.00 in / $10.00 out
Mid-tier / $2.00 in / $10.00 out
Mid-tier / $3.00 in / $15.00 out
Mid-tier / $3.00 in / $15.00 out
Flagship / $4.00 in / $20.00 out
Flagship / $5.00 in / $25.00 out
Flagship / $5.00 in / $25.00 out
Flagship / $5.00 in / $25.00 out
Flagship / $5.00 in / $25.00 out
Flagship / $10.00 in / $50.00 out
Flagship / $10.00 in / $50.00 out
Flagship / $10.00 in / $50.00 out
Flagship / $10.00 in / $50.00 out
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.