dsh-token-usage-panel: Viewing Token Usage in DSH Settings
`dsh-token-usage-panel` is a DSH client plugin maintained by Jun-Jun-Gao. It adds a Token usage page to the settings, featuring today's consumption and a breakdown of three token types, metrics for the past 7/30 days and cumulative totals, a 53-week GitHub-style heatmap, 30-day stacked trends, sortable and searchable session details, and summaries by model and workspace. Users can optionally input a unit price (RMB per million tokens) to perform local cost estimations. The host scans zstd session logs under `$DSH_HOME/sessions` and serves the data via the `/token-usage/data` endpoint, without uploading any data to the internet. Installation: Via the plugin page or by running `dsh plugin add github:Jun-Jun-Gao/dsh-token-usage-panel`. Verified with DSH 0.2.0-rc.2. MIT License.
Read Moredsh-token-usage-panel: DeepSeek Harness Usage Panel
The `dsh-token-usage-panel`, a DeepSeek Harness plugin, provides developers with cost and usage monitoring for model calls. Key features include a status bar displaying fixed session and daily spend figures, alongside a detailed panel showcasing individual call logs, a calendar heatmap, balance inquiries, and settings. Supporting peak and off-peak pricing, data persistence, and HTTP interfaces, it can be installed via CLI. Please note that displayed figures are estimates based on unofficial contracts, and the balance feature requires login mode.
Read More