Calcorithmevery number has an answer
πŸ”
All tools β†’
← Developer Tools

Claude API Cost Calculator

Calculate Anthropic Claude API costs for Claude 4 Sonnet, Opus, Haiku and Claude 3.5 models.

Model
Input tokens per call
Output tokens per call
API calls per month
Claude Sonnet 4 β€” Input: $0.003/1K tokens Β· Output: $0.015/1K tokens
Per call
$0.010500
Monthly total
$10.5000
Per 1M input tokens
$3.00
Per 1M output tokens
$15.00

Claude API pricing

Claude is priced per token. Output tokens cost ~5Γ— more than input tokens, reflecting additional compute required to generate them.

  • Cost = (Input/1K Γ— input rate) + (Output/1K Γ— output rate)
  • Haiku: high-volume, cost-sensitive tasks
  • Sonnet: balanced capability and cost
  • Opus: complex reasoning and research
iFormula / How it works

Cost = (Input tokens / 1000 Γ— input rate) + (Output tokens / 1000 Γ— output rate) Prices per 1K tokens (as of 2025). Verify at anthropic.com/pricing as prices may change.