AI Codex

Tools

Claude API Cost Calculator

Estimate your monthly Claude API spend before you commit. Enter your usage pattern and see daily, monthly, and per-message costs — with and without prompt caching.

Model

API calls your app makes per day

System prompt + user message. ~750 tokens ≈ 1 page

Claude's response length per message

Prompt caching

Cache your system prompt — pay 90% less on repeated tokens

Token reference

Short tweet~20 tokens
1 paragraph~100 tokens
1 page~750 tokens
Long system prompt~500–2000 tokens
Short answer~100–300 tokens
Full document~2000+ tokens

Estimated cost

$180.00 /month

Per message$0.0060
Per 1,000 messages$6.00
Daily$6.00
Monthly$180.00
Yearly$2,160

Compare across models (same usage)

Claude Opus 4$900.00/mo
Claude Sonnet 4$180.00/mo
Claude Haiku 4$48.00/mo

Estimates only. Verify current pricing at anthropic.com/pricing. Does not include Anthropic API platform fees or enterprise pricing.