Using the dashboard
Token Usage Dashboard page layout
The Token Usage Dashboard page consists of these areas:
Header data directory, last load, export status, language, "Reload data"
Tab bar Overview | Projects | Sessions | Blocks | RTK
Status area result of the plausibility check, message list
Filter bar period, measure, models
Content KPI cards, charts, tables
Footer notes on currency and gaps
This page uses the labels of the English interface. In the German interface the tabs are called Uebersicht, Projekte, Sessions, Bloecke and RTK.
Token Usage Dashboard header
The Token Usage Dashboard header contains these elements:
- Data directory: the path the dashboard reads from.
- Last load: the time of the last load.
- Reload data: reads all files again right away. Usually you do not need the button, because the dashboard notices changed files by itself.
- Export status: a line such as “Export ok” or “Export: weekly 9 days ago”. It sums up the state of all export jobs. The tooltip names the last success per job, a click jumps to the status area. If something is wrong, the line starts with
!, so you can tell even without colour. Details under Checks and messages. - Source code on GitHub: a link to the project's repository.
- Language: switch between German and English. Without a selection the browser language applies, afterwards your choice. Switching needs no network access; data already loaded is simply redrawn.
English rendering uses a decimal point and a thousands comma. German uses a decimal comma, a thousands point and dates as DD.MM.YYYY. Costs stay in US dollars in both languages; nothing is converted.
Filters in the Token Usage Dashboard
The Token Usage Dashboard filters apply to all tabs at once.
Period. Choose All months, a single month or Custom date range. The From and To fields are enabled only for the custom range. Their bounds match the range for which data is present.
Measure. Switches between Cost (US dollars) and Tokens. It applies to the charts that can show both.
Models. One checkbox per model with a colour dot, plus the shortcuts All, None, Claude only and Codex only. The Blocks and RTK tabs do not support a model filter and say so.
The five Token Usage Dashboard tabs
Overview tab
The Overview tab of the Token Usage Dashboard shows this content:
- Eight KPI cards: total cost, total tokens, days with data, median daily cost, most expensive day, cheapest day,
$ / 1M tokensand context reload factor. - Projection: if the last month is incomplete, a projection appears below them, marked as an estimate rather than a measured value.
- Charts: cumulative monthly cost (one line per month), daily values stacked by model, cost per 1 million tokens with a 7-day moving average, Pareto of the model costs, model timeline, context reload factor, and Claude versus Codex per day.
- Tables: cost share per model, monthly totals, the ten most expensive days and the loaded files.
Sort a table by clicking a column header. A second click reverses the direction.
Projects tab
The Projects tab in the Token Usage Dashboard shows KPI cards with the number of projects, the most expensive project, the share of the largest and total cost. Plus a stacked daily series with the eight most expensive projects and a collective “Other” series, and a table with cost, share, tokens, days and $ / 1M per project.
The project names are shortened paths. Why they are not fully reconstructed is explained under Data directory.
Sessions tab
The Sessions tab in the Token Usage Dashboard shows KPI cards with the number of sessions, median per session, most expensive session and median duration. Plus a table of all sessions and a histogram of the cost distribution.
- The table shows 50 sessions per page. Use Previous and Next to page.
- Click a column header to sort by start, duration, project, cost or tokens. The default is cost, descending.
- Above the table you choose a project. The filter applies to the whole tab, including the KPIs and the histogram.
- Changing project, sorting, period or models takes the table back to page 1.
The histogram sits next to the median because the median alone hides that a few expensive sessions carry the bulk of the cost.
Blocks tab
The Blocks tab in the Token Usage Dashboard shows the 5-hour billing windows. KPI cards with the number of blocks, the most expensive block, mean per block and time with usage. Plus a timeline. If a block is currently running, you see its burn rate and the projection supplied by ccusage.
Idle time between two windows appears in the timeline but counts towards no sum.
RTK tab
The RTK tab in the Token Usage Dashboard shows the token savings of the rtk proxy. KPI cards with tokens saved, savings rate, commands and runtime. Plus a bar chart of the tokens saved per day with the savings rate as a line (scale 0 to 100), and monthly totals.
Three note lines explain how this tab differs from the others: these are tokens that were never sent; no model filter applies; and which period the source actually covers. The tab deliberately shows no monetary value, see Metrics.
Token Usage Dashboard status area
In the Token Usage Dashboard status area, a short line shows the result of the check, for example “All checks passed (5 files, 40 days with data)”. Below it sits the collapsible Details section with the full summary and all messages.
It opens by itself only for warnings and errors. Messages of level info do not colour the line but are counted (“3 note(s), see details”). What the messages mean is described under Checks and messages.
Token Usage Dashboard behaviour
This is how the Token Usage Dashboard behaves with coverage, gaps, colours, tooltips, export status and a missing Chart.js:
Coverage note. If the chosen period reaches beyond what a source covers, a sentence naming the period actually present appears instead of an empty chart. That way you can tell “no cost” from “no data”.
Gaps stay gaps. On days without data the line in the chart breaks instead of dropping to zero.
Stable colours. Every model has the same colour in every chart.
Total in the tooltip. The tooltip of a stacked chart ends with a Total line. It sums the series shown. Models you hid through the filter or the legend are not included.
Current export status. When you return to a tab that stayed open overnight, the dashboard fetches only the status again and updates the status area and the export line. Charts stay unchanged.
Without Chart.js. Chart.js is bundled. If it still fails to load, every chart box shows a note. KPI cards and tables stay complete.
Saving a Token Usage Dashboard view as a link
In the Token Usage Dashboard, tab, period, measure and model selection live in the URL hash, for example:
http://127.0.0.1:8000/#tab=sessions&period=2026-09&measure=cost
This lets you bookmark a view. The browser's Back and Forward buttons step through the views.
The following table lists the keys in the Token Usage Dashboard URL hash and their values:
| Key | Values |
|---|---|
tab | overview, projects, sessions, blocks, rtk |
period | all, a month YYYY-MM or custom |
from, to | date, only with period=custom |
measure | cost or tokens |
models | comma-separated list; models= alone means none, a missing key means all |
project | project on the Sessions tab |
sort | sorting on the Sessions tab as <key>-<direction>, e.g. duration-asc |
page | page on the Sessions tab |
Defaults are left out of the hash, so the default view has none. The dashboard resets a malformed value or an unknown month to its default. The language is deliberately not part of the hash; it stays a per-browser setting.