dsh-token-usage-stats
Cross-session token usage, request count, and cost analytics with an integrated web dashboard for DeepSeek Harness.
Install
$ dsh plugin --profile web add [email protected]Plugin 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
- Cross-session tracking of token usage, request counts, and calculated API expenditures
- Dedicated interactive web dashboard (/token-usage-stats) with hourly, daily, weekly, and monthly aggregate views
- Sidebar footer modal launcher integrated into the DSH web UI
- Peak and off-peak pricing support for models like deepseek-flash and deepseek-v4-pro with customizable currencies
- JSON data endpoint available at /api/token-usage-stats with 10-second automatic polling
Useful For
- Monitoring token consumption and cost breakdown across different DeepSeek Harness sessions
- Tracking API expense trends by model and identifying high-usage conversations
- Visualizing peak versus off-peak usage patterns to optimize API expenses
Who It Fits
- DeepSeek Harness web profile users seeking real-time token tracking
- Developers and teams managing DeepSeek API spending and token allocations
Documented Limitations
- Tracks token usage and pricing primarily based on DeepSeek official API pricing models and local Harness session logs, excluding non-DeepSeek provider APIs
- Requires DeepSeek Harness web profile environment with compatible peer dependencies (^0.2.0-rc.2)
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.
package.json declares 1 runtime, 20 development, 14 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- jkStars/dsh-token-usage-stats
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 901f9ca · 2026-10-06
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
- 1
- Open issues
- 6
- Last commit
- 2026-10-06
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Context insight and lifecycle management plugin for DeepSeek Harness with visual dashboards, trends, and agent network views.
View plugin →Cost and token tracking plugin for DeepSeek Harness featuring session budgets, provider balances, and coding plan quotas.
View plugin →Session lifecycle manager for DeepSeek Harness with search, restore, idle cleanup, and diagnosis.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive cards, charts, forms, and panels inline from dsh-ui code fences.
View plugin →