Claude Opus 4.8 API pricing — cost per million tokens
Anthropic's Claude Opus 4.8 costs $5 per million input tokens and $25 per million output tokens on the standard API tier (verified 2026-07-05). Compare it in the full pricing table or price your own prompts in the token cost calculator.
Claude Opus 4.8 price per million tokens
| direction | $ / Mtok | $ / 1K tokens |
|---|---|---|
| input (prompt) | $5 | $0.005 |
| output (completion) | $25 | $0.025 |
What real requests cost on Claude Opus 4.8
| workload | input | output | total |
|---|---|---|---|
| Chat message (1K in / 500 out) | $0.005 | $0.0125 | $0.0175 |
| Long document (100K in / 2K out) | $0.50 | $0.05 | $0.55 |
| Agent session (500K in / 50K out) | $2.50 | $1.25 | $3.75 |
How Claude Opus 4.8 pricing compares
On the same chat-message workload, Claude Opus 4.8 costs 63× more than DeepSeek V4 Flash (the cheapest tracked model) — capability, latency and context limits are the other side of that trade. Output tokens dominate long generations: at $25/Mtok, a 50K-token agent transcript costs $1.25 in output alone. Official rate card: Anthropic pricing.
Related: Claude Fable 5 pricing · Claude Sonnet 5 pricing · DeepSeek V4 Flash pricing · release timeline
The weekly e/acc newsletter
One email a week: what accelerated.
Frontier releases, price drops, compute buildouts — the week's acceleration in five minutes, sourced and numeric. Free.