Claude API Cost Calculator

Opus 4.7 · Sonnet 4.6 · Haiku 4.5 — with caching & Batch API

✓ Verified against Anthropic pricing docs · May 2026

Model

Opus 4.7
$5 / $25 MTok
Sonnet 4.6
$3 / $15 MTok
Haiku 4.5
$1 / $5 MTok

Token Volume

Input Tokens 1M
Output Tokens 200K
Cache Hit Rate 0%
% of input tokens from prompt cache — 90% cost reduction on hits

Modifiers

50% discount · async · up to 24hr
Multiply daily × 30

Your Estimate

Estimated Cost
$10.00
per day · Claude Opus 4.7
Input cost
$5.00
1M tokens
Cache savings
$0.00
0% hit rate
Output cost
$5.00
200K tokens
Batch savings
50% off when on

All Models Compared

ModelInputOutputTotalvs Opus

Cost Comparison