All models, capabilities, and prices

Token math

Tokens are how Claude (and every other LLM) meters work. Roughly 4 characters of English text — and roughly what you pay for.

Rule of thumb

  • 1 token ≈ 4 English characters ≈ 0.75 words.
  • A page of prose (~500 words) is ~670 tokens.
  • Source code, non-Latin scripts, and emoji tokenize denser — expect 1.2–2× the English rate.
  • A 200k-token context window is roughly 150k English words — around 300 pages.

Four kinds of tokens on your bill

Reference data
KindWhat it isHow it’s billed
InputEvery token the model reads: system prompt, prior turns, current user message, tools schema, images.Full input rate.
OutputEvery token the model writes: response text, tool calls, thinking (if enabled).Full output rate (typically 5× input).
Cache readInput tokens served from a prior request’s cache breakpoint.10% of the input rate.
Cache writeThe first request at a cache breakpoint — establishes the cache for later reads.125% of the input rate.

Every response carries these counts in the usage field — see Usage & billing.

Estimating before you send

The Anthropic SDKs expose a count-tokens helper you can run locally:

python
from anthropic import Anthropic
client = Anthropic(base_url="https://api-ai.app")

count = client.messages.count_tokens(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Your long prompt here"}],
)
print(count.input_tokens)

The count is a lower bound — it doesn’t include the output the model is about to write. For budgeting, add a max_tokens ceiling and assume the worst case.

How to estimate cache savings

There is no universal multiplier across models. For the current balanced model claude-sonnet-5-5 or any other model, use its separate Cache read and Cache write values from the generated rates table. Compare them with the selected model's input rate and expected number of repeated reads.

See the live calculator
The Pricing page offers a top-up calculator and the full table of models — the same figures as the rates table.
Last updated: October 2, 2026Found a bug? admin@minedom-france.fr