H1a3x/dsh-token-stats
Floating draggable token usage statistics panel for DeepSeek Harness
dsh-token-stats is a floating token usage statistics panel for the DSH Web interface: a draggable overlay in the bottom-right showing real-time input/output/cache/cache-hit-rate totals, per-provider and per-model breakdowns (only providers you actually configured plus routes that produced usage), a current-month daily heatmap (click any date to switch the panel to that day's data), per-session request-level records (time, provider/model, input, output, cache read/write), and a current-session provider highlight. It collapses into a summary bar and reopens from a floating ball; auto-refreshes.
Install
dsh plugin --profile web add dsh-token-statsnpm dsh-token-stats 0.2.0 verified 2026-09-01 (README EN edition; repo H1a3x/dsh-token-stats). Install into the web profile, restart dsh web, and a draggable floating panel appears in the bottom-right corner.
Compatibility
DSH web profile; providers from llm-pi-ai / llm-deepseek settings plus routes that produced usage.
Details
- Repo: H1a3x/dsh-token-stats
- Category: Web UI Enhancements
- Stars: 6
- Version: npm dsh-token-stats 0.2.0
- Last push: 2026-08-13
- First seen: 2026-08-13
Recent updates
Floating token panel; provider/model breakdown; monthly heatmap; per-session request records; collapsible summary bar.
FAQ
- Which providers are shown?
- Only providers you actually configured (from llm-pi-ai / llm-deepseek settings) plus routes that produced usage; the current session's provider is highlighted automatically.
- Can I see a specific day's usage?
- Yes — click any date in the monthly heatmap to switch the entire panel to that day's data; click 'All Usage' to return.
- How do I install it?
- dsh plugin --profile web add dsh-token-stats (npm 0.2.0), then restart dsh web.
Alternatives
Cassius0924/dsh-usage-dashboard · nonewind/dsh-spend · Sttrevens/dsh-cost-meter