Troubleshooting
Common Token Usage Dashboard errors
The following table lists common errors when installing and running the Token Usage Dashboard, with cause and fix. Most messages from the installer and the server are German. The table quotes them as they appear.
| Symptom | Cause | Fix |
|---|---|---|
Python 3.11 oder neuer wurde nicht gefunden (Python 3.11 or newer not found) | no suitable Python for the starter | install Python 3.11 or newer, see System requirements |
version table with zu alt, fehlt or nicht lesbar, exit code 2 | a required component is too old, missing or its version cannot be read | install or update the component named; nothing was written yet |
Dieses Paket ist fuer … (this package is for …) | release ZIP for another system | take the ZIP for your system |
Das konfigurierte Datenverzeichnis existiert nicht (configured data directory does not exist) | wrong path in config.toml | correct the path; the message names the path that was checked |
liegt keine Datei im Muster YYYY-MM.json (no file matching YYYY-MM.json) | directory exists but is empty | run the export or copy files in |
Server konnte nicht auf 127.0.0.1:8000 starten (server could not start) | port in use | change port in config.toml |
| charts empty, tables filled | Chart.js not loaded | Chart.js lives under static/vendor/; if the file is missing, the clone is incomplete. The note is in the chart box |
| tab shows a coverage note | subdirectory missing, or it does not cover the period | adjust the period or set up the export |
| RTK tab stays empty | wrong rtk installed, or the export never ran | check rtk gain, look at logs/rtk.log |
| status area reports discrepancies | see Checks and messages | the table of causes is there |
| export fails as a job but not by hand | ccusage moved (for example after a Node upgrade), or the data directory is in a protected folder | look at logs/<job>.log and the scheduler logs in logs/; run the installer with jobs again so it pins the new path |
native binary is not available | ccusage was installed without optional dependencies | repeat npm install -g ccusage without --omit=optional |
Frequently asked questions about the Token Usage Dashboard
Why does the dashboard show no values on some days?
The Token Usage Dashboard shows no values on some days because there is no data for those days. The dashboard deliberately draws them as a gap, not as zero. Means and medians run over days with data only. See Metrics.
Why is $ / 1M output tokens not the model's price?
In the Token Usage Dashboard, $ / 1M output tokens is an empirical usage ratio from your data, not a list price. It moves with the share of cache reads and the length of the context.
Why does the RTK tab show no monetary value?
The RTK tab in the Token Usage Dashboard shows no monetary value: rtk mostly saves input tokens, and the dashboard knows no list price. A multiplication would give a number without basis. See Metrics.
The Projects, Sessions and Blocks tabs are empty for older months
The export has written the sources for the Projects, Sessions and Blocks tabs of the Token Usage Dashboard only since 1 September 2026. For earlier periods the tabs show a coverage note instead of empty charts.
The header reads “Export: no status”
If the Token Usage Dashboard header reads “Export: no status”, the status/ directory is missing. In demo mode this is intended. For an older installation, run ./install.sh --force once (Windows: install.cmd --force).
I had the machine switched off for a while. Is data missing now?
After a longer shutdown, daily and project data in the Token Usage Dashboard can be regenerated at any time. Blocks and sessions are critical, because their source only reaches about 31 days back. Start the weekly run by hand, see Start a job right away. If a gap is looming, the dashboard shows the matching call with a larger lookback in the status area.
Can I share the dashboard on my network?
No, do not share the Token Usage Dashboard on your network. The server has no authentication and no encryption. Keep it on 127.0.0.1. See Security.
How do I change the language?
To change the language of the Token Usage Dashboard, use the language selection in the header. The dashboard remembers your choice in this browser.