Claude Opus 4.8 API pricing

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

Prices updated 5 August 2026

Claude Opus 4.8 price

USD per 1M tokens.

ProviderInput / 1MOutput / 1MContext
Anthropic$5.00$25.001M
Reasoning: 91.0%Math: 98.3%

Coding via Aider polyglot & SWE-bench Verified; reasoning & math via Epoch AI.

How much does the Claude Opus 4.8 API cost?
As of 5 August 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.