Claude Token Cost Calculator (Opus, Sonnet & Haiku)
Paste any prompt, system instruction, or code file to count Claude tokens locally and calculate exact per-call and monthly API costs across Claude Opus, Sonnet, and Haiku with prompt caching and Batch -50% discounts.
| Claude Model | Input / Cached / Output (1M) | Cost / Call | Est. Monthly Bill | Official |
|---|---|---|---|---|
| Claude Opus 5.5 | $4.00 / $0.20 / $20.00 | — | — | Docs ↗ |
| Claude Sonnet 5.5 | $2.00 / $0.10 / $10.00 | — | — | Docs ↗ |
| Claude Haiku 5.5 | $0.10 / $0.010 / $0.50 | — | — | Docs ↗ |
| Claude Sonnet 4.6 | $3.00 / $0.30 / $15.00 | — | — | Docs ↗ |
| Claude 3.7 Sonnet | $3.00 / $0.30 / $15.00 | — | — | Docs ↗ |
| Claude 3.5 Haiku | $0.80 / $0.080 / $4.00 | — | — | Docs ↗ |
How to Cut Your Claude Token Costs by 70%–90%
Anthropic's biggest cost lever is pairing Prompt Caching with smart model tiering. Keeping static system prompts, tool definitions, and repository files at the top of your prompt prefix drops repeated input reads by 90%–95% (for example, Claude Sonnet 5.5 falls from $2.00 to $0.10/1M cached input).
Route high-volume classification, extraction, and triage calls to Claude Haiku 5.5 ($0.10/$0.50 per 1M), reserve Sonnet 5.5 or Opus 5.5 for complex coding and reasoning, and send asynchronous jobs to Anthropic's Batch API for an instant 50% discount.