Direct API pricing comparison
Claude Opus 5 vs Claude Sonnet 5
Compare current direct API token prices and estimated monthly workload costs for Claude Opus 5 and Claude Sonnet 5.
2direct models
Pricing only.Claude Sonnet 5 is cheaper in 4 of 4 comparable standard workload presets below. This is a pricing comparison only; it does not rank model quality.
| Model | Input | Cached | Output | Context | Max output | Source |
|---|---|---|---|---|---|---|
Claude Opus 5Anthropic · Direct API | $5 | $0.5 | $25 | 1M | 128K | Direct ↗ |
Claude Sonnet 5Anthropic · Direct API | $2 | $0.2 | $10 | 1M | 128K | Direct ↗ |
Same workload, different API bill
These four presets use 30 active days, standard direct rates, no retries, no reasoning-token add-on, no cache writes, and the cached-input percentage shown in each row.
| Standard workload | Claude Opus 5 | Claude Sonnet 5 | Lower monthly estimate |
|---|---|---|---|
| Chat10,000/day · 2,000 in · 500 out · 25% cached | $6,075 | $2,430 | Claude Sonnet 5 by $3,645 / mo |
| Coding2,000/day · 12,000 in · 1,800 out · 55% cached | $4,518 | $1,807.2 | Claude Sonnet 5 by $2,710.8 / mo |
| Agent1,200/day · 32,000 in · 2,500 out · 65% cached | $4,640.4 | $1,856.16 | Claude Sonnet 5 by $2,784.24 / mo |
| Documents400/day · 180,000 in · 2,000 out · 15% cached | $9,942 | $3,976.8 | Claude Sonnet 5 by $5,965.2 / mo |
The main calculator includes batch mode, long-context rules, retries, reasoning tokens, cache writes, and other model-specific pricing logic that a static comparison cannot fully capture.