Claude Opus 4.8 API cost calculator

Claude Opus 4.8 (Anthropic) is priced at $5 per million input tokens, $0.5 for cached input, and $25 per million output tokens — half that through the Batch API. Verified 2026-09-17 against Anthropic's pricing page.

What Claude Opus 4.8 costs for common workloads

WorkloadPer requestPer dayPer month
Support chatbotShort turns with a reused system prompt — 3k in, 400 out, 60% cached.$0.017$84.50$2,535
RAG over documentsRetrieved context dominates — 12k in, 500 out, 30% cached.$0.056$84.45$2,534
Coding agentGrowing context every turn — 20k in, 1.5k out, 80% cached.$0.066$197$5,895
Batch classificationTiny prompts at volume through the Batch API — 800 in, 20 out.$0.0023$450$13,500

Its blast radius when an agent loops

The coding-agent workload above at 30 requests a minute — $118 an hour — priced at each point a team usually finds out:

Hourly alert

$118

Next morning

$2,830

After a weekend

$7,074

Monthly invoice

$84,888

Get the alert, not the invoice — start free

Run your own numbers on Claude Opus 4.8

Other Anthropic models