dsh-token: DSH Local Token Usage Statistics Plugin
dsh-token is a local token usage dashboard plugin for DeepSeek Harness, designed to track costs and consumption. By reading local session logs, it provides four-part token composition analysis (including cache savings), supports global filtering, session drill-down, and budget monitoring. The interface offers multi-dimensional charts, and the plugin runs entirely locally without relying on online services, helping users precisely manage inference costs.
Read MoreDeepSeek Harness Machine-Level Token Statistics Plugin: dsh-token
The DeepSeek Harness (DSH) plugin `dsh-token` aims to address the complexity of tracking Token consumption in multi-session scenarios. By consolidating session logs from all `dsh` home directories, it provides a centralized Token statistics view, including totals, a heatmap, streak records, and per-model breakdowns. The plugin supports `dsh web` and reads local files for read-only statistics. Configuration options include scanning additional directories, toggling compressed summary statistics, and setting the refresh frequency. It does not include conversational costs or provide cost estimates, but accurately tracks cache reads and writes and distinguishes message types, while also disclosing detailed data such as billing coverage and retry steps.
Read More