Σautomationroicalculator.com
Anthropic · flagship

Claude Opus 4.8: API pricing 2026

Anthropic's current flagship (released 28 May 2026), pricing unchanged from Opus 4.6/4.7 at $5/$25. Per Anthropic's pricing docs the Opus 4.7+ tokenizer produces approximately 30% more tokens for the same text than Sonnet 4.6/Haiku, which still use the older shared tokenizer — material when modelling cost-per-task. Use the cost-per-task numbers in the calculator (3k in + 1k out) for like-for-like.

Input $/M tokens
$5.00
Output $/M tokens
$25.00
Cost / task
$0.0400
3k in + 1k out
Tier
flagship
Anthropic

Cost at common task volumes

1,000 tasks / yr$40.00
10,000 tasks / yr$400
100,000 tasks / yr$4,000
1,000,000 tasks / yr$40,000

Token shape: 3,000 input + 1,000 output per task. No prompt caching. Real cost varies with your actual prompt shape.

Source

https://www.anthropic.com/pricing

Verified 2026-06-25.

Compare with other LLMs
Claude Sonnet 4.6$0.0240Claude Haiku 4.5$0.0080OpenAI GPT-5.6 Sol$0.0450OpenAI GPT-5.6 Terra$0.0225OpenAI GPT-5.6 Luna$0.0090Gemini 2.5 Flash$0.0034Gemini 2.5 Flash-Lite$0.0007Grok 4.3$0.0063