Claude Opus 4.8 API pricing

As of 11 July 2026, Claude Opus 4.8 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens.

Prices updated 11 July 2026

Claude Opus 4.8 price

USD per 1M tokens.

ProviderInput / 1MOutput / 1MContext
Anthropic$5.00$25.001M

Cheaper alternatives to Claude Opus 4.8

Models with an equal-or-better coding score at a lower output price. StackSpend surfaces swaps like these against your actual usage.

How much does the Claude Opus 4.8 API cost?
As of 11 July 2026, Claude Opus 4.8 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens.
Is there a cheaper model as good as Claude Opus 4.8 for coding?
Yes — google/gemini-2.5-pro (DeepInfra) scores 83.1% on coding at $10.00 per 1M output tokens, below Claude Opus 4.8's $25.00.

Know what you're really spending on Claude Opus 4.8.

StackSpend connects read-only to your AI providers, normalises every model into one daily signal, and flags cheaper equal-quality swaps from this same dataset.