tokens
What does that text cost on Claude?
Paste a prompt, a document or your code and I will tell you how many tokens it uses and what each API model would charge for it.
your result
what it costs on each model
| model | per call | per month |
|---|
Your prompt is over 100K tokens: Haiku 5.5 charges its long-prompt price (5 times higher).
Anything marked "doesn't fit" goes past the model's context window or maximum output: you would have to split the text.
Fable 5.1 and Opus 5.5 always reason before answering, and that reasoning is billed as output. The real reply can cost more than this.
To spend less
Anthropic API prices in US dollars, before tax, checked on October 29, 2026 at platform.claude.com/docs/en/about-claude/pricing.
How it estimates: Anthropic doesn't publish its tokenizer, so I count in your browser using what it does publish (about 2.5 characters per token in plain prose, and 30% more tokens than the previous tokenizer) and adjust for indentation, line breaks, accented letters, other scripts and emoji. The API's count_tokens endpoint gives you the exact number, for free.
weekly email
Found it useful? Another one lands every Friday
Every Friday you get the new free tool and a sneak peek of the next one, before it opens. No spam.
Almost there
If it doesn't show up within a minute, check spam or promotions.