Free Tool

Token & Cost Estimator

Paste text below to see roughly how many tokens it is, and what a request that size would cost across Claude's current models. Nothing you paste is sent anywhere - this runs entirely in your browser.

0
Est. input tokens
0
Words
0
Characters

Output length defaults to roughly match your input - edit it if you expect a much shorter or longer reply. Token counts here are an estimate (~4 characters per token, per Anthropic's own rule of thumb) - actual counts vary by content and language, usually within about 10-15%.

Model Input Output Per request Total

Prices as of August 2026: Haiku 4.5 $1 / $5 per million input/output tokens, Sonnet 5 $2 / $10, Opus 5 $5 / $25, Fable 5 $10 / $50. Prompt caching and batch processing can reduce these further - see the official pricing page for current rates and discounts.