Metrics
This page gives, for every Token Usage Dashboard metric, its formula and the limit of what it says. Before you pass on a number from the dashboard, read the matching paragraph.
The ground rule: gaps are not zeros
In the Token Usage Dashboard, a day without an entry means “no data”, not “zero dollars”. It follows that:
- Means and medians run over the days with data only, not over all calendar days.
- Time series run over all calendar days and break on missing days.
- The 7-day moving average averages only the values present in the window.
The Days with data KPI card also states how many calendar days have no data. That keeps the size of the gap visible.
A second rule: ratios are computed from sums, not as a mean of ratios. Otherwise the value would jump with every filter setting.
Metrics on the Overview tab
The following table shows how the Token Usage Dashboard computes the metrics on the Overview tab:
| Metric | Computation |
|---|---|
| Total cost, total tokens | sum over the filtered days |
| Days with data | number of days with an entry |
| Mean per day | total cost / days with data |
| Median daily cost | median of the daily costs |
| Most expensive and cheapest day | day with the highest or lowest cost |
$ / 1M tokens | total cost / total tokens × 1,000,000 |
| Context reload factor | sum of cacheReadTokens / sum of outputTokens |
$ / 1M tokens
Next to the overall value of $ / 1M tokens, the Token Usage Dashboard shows the daily minimum and maximum. The model table also has the column $ / 1M output tokens.
$ / 1M output tokens is an empirical usage ratio: how much this model cost per million output tokens in this period, with this kind of usage. The value moves with the share of cache reads and the length of the context. It is good for comparing days and models with each other, not for quoting prices.
Context reload factor
The context reload factor in the Token Usage Dashboard is cacheReadTokens / outputTokens: how often context was read, measured against what came out of it. A high value means much context and little output, that is long sessions in which the same thing is loaded again and again. The quantity has no absolute meaning. What is interesting is how it develops.
7-day moving average
The 7-day moving average in the Token Usage Dashboard uses a window of 7 calendar days, not 7 data points. Missing days do not enter as zero, they are simply absent. If the window holds fewer than 3 values, the average stays empty. Otherwise a single value after a gap would appear as a “mean” and make the line jump.
Pareto of the model costs
The Pareto chart of the model costs in the Token Usage Dashboard shows the models in descending order of cost, plus the cumulative share line. The chart answers how many models make up the bulk of the cost.
Daily values stacked by model
In the chart of daily values stacked by model, only the ten most expensive models get a series of their own; the rest is collected into one “other models” series. Without that limit the legend would be longer than the chart.
Projection of the monthly cost
The Token Usage Dashboard computes the projection only for the last month, and only if it is incomplete, with this formula:
projection = (cost of the days present / number of those days) × days in the month
This is deliberately an extrapolation of the daily mean, not a trend forecast. The dashboard visibly marks the number as an estimate. Anyone who had three expensive days this month and then goes on holiday gets too high a number. That is the price of keeping the computation comprehensible.
Claude versus Codex split
For the Claude versus Codex split, the Token Usage Dashboard knows two routes that lead to the same number. The following table shows when each route applies:
| Route | When |
|---|---|
agents field of the monthly file | present from 09/2026 on |
model prefix gpt- | before that, or when a model filter is active |
The prefix heuristic is only an approximation: models with gpt- count as Codex, all others as Claude. It gets it wrong as soon as Codex uses a model without gpt-. The footnote names the day from which the more precise source applies.
With an active model filter the dashboard deliberately uses the heuristic. The split from agents cannot be filtered by model and would contradict the rest of the page.
Metrics on the Projects tab
The Projects tab in the Token Usage Dashboard shows cost, share, tokens, number of days and $ / 1M per project. The stacked daily series shows the eight most expensive projects individually; the rest goes into the collective “Other” series. A project actually named “Other” is not merged with the collective series.
Metrics on the Sessions tab
The Sessions tab in the Token Usage Dashboard shows count, median and maximum of the costs, median duration and the sessions of the current page. KPIs and histogram follow the project filter, so the median above the table belongs to the table.
- Duration:
lastActivity - firstActivityin whole minutes. It measures the span, not the compute time. A pause in the middle of the session counts. - Histogram: class bounds $0.10 / 1 / 5 / 20 / 50. The classes are left-closed (“5 to under 20 $”): a value of exactly $50 falls into the top class.
- Sorting: missing values (today only the duration) always come last. On a tie the session ID decides, so page boundaries stay stable.
Metrics on the Blocks tab
The following table shows how the Token Usage Dashboard computes the metrics on the Blocks tab:
| Metric | Computation |
|---|---|
| Blocks | blocks without idle time |
| Most expensive block, mean per block | over blocks without idle time |
| Time with usage | minutes in real blocks / total minutes |
Idle time between two windows appears in the timeline so the gap stays visible, but enters no sum and no mean.
If a block is currently running, the tab shows its burn rate (cost per hour, tokens per minute) and the projection. Both values come unchanged from ccusage.
There is no model filter here: the source names only the models per block, without a cost split.
Metrics on the RTK tab
The following table shows how the Token Usage Dashboard computes the metrics on the RTK tab:
| Metric | Computation |
|---|---|
| Tokens saved | sum of saved_tokens |
| Savings rate | sum of saved_tokens / sum of input_tokens |
| Commands | sum of commands |
| Tokens saved per command | tokens saved / commands |
| Runtime | sum and mean per command |
The savings rate is computed exactly once from the sums, not as the mean of the daily rates. The same holds for the rate per month.
No monetary value. rtk mostly saves input tokens. The only price the dashboard knows is the empirical $ / 1M output tokens, explicitly not a list price. Multiplying one by the other would produce a number that looks serious and has no basis.
Not offsettable against the other tabs. The RTK figures are the proxy's estimates of tokens that were never sent. The other tabs measure consumed tokens and billed cost. The two quantities complement each other but are not the same currency.
The RTK source reaches further back than projects, sessions and blocks. The note card on the tab names the actual period.
Coverage of the extra sources
In the Token Usage Dashboard, every evaluation of the extra sources compares the chosen period with the one present. The following table shows which note appears in which case:
| Case | Display |
|---|---|
| no data at all | note that the source is missing |
| period lies entirely elsewhere | note with the period present |
| period reaches beyond | note with the period present |
| period fully covered | no note |
This makes “no cost in this period” distinguishable from “this source does not exist for this period yet”.