Claude Sonnet 5 pricing at a glance
- Provider: Anthropic
- Input: $2.00 per million tokens
- Output: $10.00 per million tokens
- Cached input: $0.20 per million tokens
- Context window: 1,000,000 tokens
- Prices verified: September 24, 2026
About Claude Sonnet 5
Sonnet 5 launched at introductory prices of $2 per million input tokens and $10 per million output, and Anthropic has since confirmed these are now the standard price: the increase to $3 and $15 that had been scheduled for 1 September 2026 will not happen. That makes it one of the cheapest 1M-context models from Anthropic. Cache reads cost $0.20 per million, and it uses the newer tokenizer that produces around 30% more tokens than Claude models up to Sonnet 4.6.
What Claude Sonnet 5 costs in practice
A call with 1,000 input tokens and 500 output tokens costs $0.007 on Claude Sonnet 5, so a thousand such calls cost $7.00. With prompt caching, a cache read is priced at $0.20 per million tokens, 90% below the standard input rate. Its 1M-token context window holds roughly 750,000 English words, or about 1,500 pages at 500 words a page; filling all of it once costs $2.00 in input tokens.
How this Claude Sonnet 5 token counter counts tokens
Claude Sonnet 5’s own tokenizer cannot be run in a browser, so this page counts with OpenAI’s o200k_base encoding and marks the result ≈. Use it to size a prompt and compare costs, then confirm against the usage figures the API returns.
How to use it
- Paste your prompt into the box, or drop a .txt or .md file on it.
- Set the expected output length and how many calls you make per day.
- Compare the cost per call and per month across models; the cheapest is highlighted.
- Tick the cache option if your prompt prefix is reused, then copy the table if you need it elsewhere.
Frequently asked questions
How many tokens is my text in Claude Sonnet 5?
Paste it into the box above. The number shown for this model is an estimate made with o200k_base and marked ≈, so the API’s own count can differ.
How much does Claude Sonnet 5 cost per million tokens?
$2.00 per million input tokens and $10.00 per million output tokens, with cached input at $0.20, as of September 24, 2026.
Is my prompt sent to a server?
No. Counting runs in a background thread in your browser. The site records only an anonymous counter such as how many models were compared, never the text you paste.
Prices verified September 24, 2026 from Anthropic’s pricing page. Confirm on the provider’s site before budgeting.