claude-opus-4-8
On this page
Anthropic model claude-opus-4-8. Prices are in US dollars per million tokens.
Current price, since 2026-05-28: input $5.00, output $25.00, cached input $0.50, cache write $6.25.
Matches Anthropic's pricing page, checked 2026-10-22 21:28 UTC.
Price a request with this model.
Standard price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
|---|---|---|---|---|---|---|---|
| 2026-05-28, first record | $5.00 | $0.50 | $6.25 | $25.00 | models.dev commit | link |
Fast mode price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
|---|---|---|---|---|---|---|---|
| 2026-05-28, first record | $10.00 | $1.00 | $12.50 | $50.00 | models.dev commit | link |
A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.
import model_prices
model_prices.rates("claude-opus-4-8", provider="anthropic")