Claude API Cost Calculator

Estimate what a Claude API request actually costs — including prompt caching. Numbers update live as you type.

Prompt caching (optional) — how much does this actually save?
Per request
$0.00
Per day
$0.00
Per month
$0.00
Current pricing (per 1M tokens)
ModelInputOutput
Claude Opus 4.8$5.00$25.00
Claude Sonnet 5$3.00$15.00
Claude Haiku 4.5$1.00$5.00

Cache writes: 1.25× base input price (5m TTL) or 2× (1h TTL). Cache reads: ~0.1× base input price. Prices as of 2026-07 — always confirm against platform.claude.com/docs/en/about-claude/pricing before budgeting.