Saraswati Stitch needle-and-thread markSaraswati Stitch®contact@saraswatistitch.com

Free tool · AI cost calculator

Anthropic (Claude) API cost calculator

Anthropic prices the Claude API by the token, with a clear three-tier lineup. Compare the Claude models for your own workload in the live table below, and read on for how the pricing works and which tier to pick.

0 models

Loading live model prices…

Covers every model on OpenRouter — text, reasoning, image and audio. Token counts are estimates (tokenization varies by model), and image/audio models may also charge per image or per second on top of tokens, so treat non-text figures as a guide and confirm against the provider's own pricing page before budgeting. Prices are pulled live from OpenRouter.

How Claude pricing works

Claude charges per million tokens, separately for input and output, with output costing several times more than input. Anthropic also offers prompt caching, which stores a reusable chunk of context so you pay a large discount on it after the first call, and a Batch API at roughly half price for non-urgent jobs. For anything with a long, repeated system prompt, caching alone can cut the bill substantially.

Haiku vs Sonnet vs Opus

Claude comes in three tiers: Haiku is the cheap, fast workhorse for high-volume, well-defined tasks; Sonnet is the balanced default that handles most real work well; Opus is the most capable and the most expensive, worth it only for the hardest reasoning. A common, cost-effective pattern is Haiku for the routine bulk and Sonnet or Opus reserved for the cases that genuinely need more.

Keeping Claude costs down

Start one tier lower than feels safe and test it on your real task; you will often find Haiku or Sonnet is enough. Cache long shared context, batch what can wait, and keep outputs tight. The calculator below shows each Claude model side by side for your own token counts and monthly volume.

Compare Anthropic (Claude) against every other provider in the full calculator →