Claude Code cost calculator
A Claude token cost calculator set to the size of a real Claude Code request: a long cached prefix, a few thousand new tokens and about a thousand out. Pick a Claude model and read the same workload at Anthropic's list price and at ours. 13 Claude models, rates from the live catalog.
Per million tokens here: $2.72 in, $0.1455 cached, $9.70 out. Anthropic's list: $4.00 in, $0.2000 cached, $20.00 out.
| Workload | At Anthropic's list price | Here | Saving |
|---|---|---|---|
| One request | $0.0715 | $0.0456 | $0.0258 (36%) |
| 150 requests a day | $10.72 | $6.85 | $3.87 (36%) |
| A month of 30 days | $321.56 | $205.36 | $116.20 (36%) |
Rates per million tokens from the live catalog when this page was built, rebuilt at most every five minutes. Cached tokens bill at the cached rate, or the input rate on a model without one; cache writes are not counted. A real request is billed on the model's own token count.
What a Claude Code request looks like
In the seven days to October 23, 2026, 4,420 Claude requests on UplinkSwitch reused more than 10,000 cached tokens, the shape Claude Code and other agent loops send. They averaged 126,294 cached tokens, 6,255 new input tokens and 1,059 output tokens each. Across every Claude request that week, cache reads were 78.7% of the tokens billed.
On Claude Opus 5.5 at today's rates, the cached tokens are 40% of what that request costs here: $0.0456 a request, against $0.0715 at Anthropic's list price.
For a session you already ran, the bill rewriter reads an Anthropic usage export and prices every line here. For plans against pay-per-token, read Claude Code pricing.