Claude

Claude input tokens in the MacBook notch

Input tokens are uncached input, cache reads and both cache-write tiers added together. The volume, not the bill.

Four things, one number

Claude prices input four different ways, and this figure adds all of them together:

Uncached input is the ordinary rate. Cache reads cost about a tenth of it, which is the whole point of prompt caching. Cache writes cost more than uncached input, because writing the cache is extra work, and there are two write tiers for the five-minute and one-hour lifetimes.

So this is the volume of input, matching what the Usage page shows, and it is deliberately not what you were charged. A product with excellent cache hit rates has a large input token count and a small input bill.

Which is why you cannot infer cost from it

Two applications with identical input token counts can have input bills that differ several times over, depending entirely on how much of that input was a cache read.

API spend is the figure to read for cost. This one is the figure to read for how much context you are sending, which is a design question rather than a billing one.

Caching is the lever

If this number is large and your spend is uncomfortable, caching is almost always the answer rather than shortening prompts. A long system prompt or a large document sent on every request is the ideal cache candidate: written once, read at a tenth of the price thereafter.

The cache has a lifetime, so it pays off in proportion to how often you reuse the same prefix. Bursty traffic against a five-minute cache can end up paying the write premium repeatedly and saving nothing.

Reading it with output

Put output tokens beside it. The ratio is the shape of your workload, and it tells you which half of the bill is worth attacking.

What Claude input tokens means, exactly

Uncached input, cache reads and both cache-write tiers added together. Each is priced differently; this is the volume, not the bill.

A whole number.

How the widget behaves

Buckets
hourly, daily and weekly
Shape
A figure with a sparkline
Against last period
Yes
Fetched from
api.anthropic.com

Input tokens from other sources

Notch Metrics reports input tokens from 1 other source. Each defines it its own way, so the widgets stay separate rather than being added together.

Questions

How is Claude input tokens calculated?
Uncached input, cache reads and both cache-write tiers added together. Each is priced differently; this is the volume, not the bill. Notch Metrics reports that number, unchanged, in the MacBook notch.
Can I see Claude input tokens over time?
Yes. Claude input tokens is bucketed hourly, daily and weekly, so the widget carries a sparkline alongside the headline figure, and a comparison against the previous window.
What unit is Claude input tokens in?
A whole number.
Which other sources report input tokens?
Besides Claude, Notch Metrics reports input tokens from OpenAI. Each provider defines the number its own way, so the widgets stay separate rather than being added together.
What does it cost to put Claude input tokens in the notch?
$9 a month, or $49 a year, with every connector included and no per-integration charge. The seven-day trial needs no card, so you can see your own input tokens before deciding.