dsh-token-stats
A DeepSeek Harness Web UI plugin for visualizing token usage by model and day.
Install
$ dsh plugin --profile web add /path/to/dsh-token-statsPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Displays 7-day and 30-day token-usage views including the current day.
- Shows per-model daily usage in stacked bar charts.
- Shows per-model total usage and percentage shares in a donut chart.
- Provides total, input including cache, and output token summary cards.
- Displays an adaptive GitHub-style daily activity heatmap for up to the last year.
- Persists aggregated statistics and session/event watermarks in <DSH_HOME>/data/dsh-token-stats/stats.json.
- Backfills previously unprocessed session history and accumulates live usage events with session-and-sequence deduplication.
- Refreshes while the page is open and follows DSH light and dark themes.
Useful For
- Review token consumption across models over the last week or month.
- Compare model usage shares and daily activity patterns.
- Monitor recent token activity from the DSH settings interface.
- Retain locally persisted aggregate token statistics across restarts.
Who It Fits
- DeepSeek Harness Web UI users
- Developers and operators tracking DSH model token usage
- Users who want per-model token consumption visualizations
Documented Limitations
- Designed for the DeepSeek Harness Web UI profile.
- Statistics are derived from DSH session logs and assistant/message usage records.
- Aggregates are stored locally in <DSH_HOME>/data/dsh-token-stats/stats.json; deleting this file forces a full historical rescan.
- Historical processing scans sessions not previously backfilled, while live processing covers events after plugin startup.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- MoonlitDropOfBlood/dsh-token-stats
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- f9c2dff · 2026-09-19
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 3GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-09-19
- Last release
- 2026-09-19
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
A bilingual DeepSeek Harness cost-tracking plugin with session and daily costs, budgets, pricing management, balance lookup, and coding-plan quota displays.
View plugin →A terminal workspace and Claude Code style TUI surface for DeepSeek Harness.
View plugin →Persistent multi-model Agent teams and bounded DAG workflows with GUI controls for DeepSeek Harness.
View plugin →Second-model AI auto-review for DeepSeek Harness approval requests with fail-closed safety and session audit.
View plugin →