Anthropic Claude LLM API Cost Calculator

Compare what your prompts cost across every major LLM — with exact token counts for OpenAI models, right in your browser.

Prices verified 2026-07-11 · per 1M tokens · sources linked per provider

ModelCost / callCost / month× best price
Claude Haiku 4.5cheapest$0.006$6.00
Claude Sonnet 5$0.012$12.002.0×
Claude Opus 4.8$0.03$30.005.0×
Claude Fable 5$0.06$60.0010.0×

Token counter

0 tokens

Token counts are exact for OpenAI models (tiktoken o200k_base, run in your browser). For other providers the count is an estimate — notably Claude Opus 4.7+/Sonnet 5 and similar newer models use a tokenizer that produces roughly 30% more tokens for the same text.

Scaling AI content or ops? Elegant Atomics builds growth systems for B2B SaaS — Trevor’s company. Work with us →