dsh-token-usage
Real-time model token usage, cost tracking, and provider quota monitoring for DeepSeek Harness Web UI.
Install
$ dsh plugin --profile web add @laoyuehanni/dsh-token-usagePlugin 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
- Real-time logging of token counts and costs for all model requests including compaction calls
- Dedicated Web UI statistics page with daily trend charts, summary metrics, and date range filters
- Session Usage view tab displaying metrics such as cache hit rate, TTFT, throughput, and subagent drilldown
- Automated cloud-synced model pricing tables with domestic and overseas mirror support
- Provider quota monitoring panel for providers like Zhipu GLM, Kimi, MiniMax, OpenCode Go, DeepSeek, and OpenRouter
- Idempotent first-run history backfill from existing session logs
Useful For
- Monitoring LLM token consumption and expenditure across different sessions and models
- Analyzing model performance metrics including time-to-first-token, cache efficiency, and error breakdowns
- Checking remaining API provider quotas and account balances directly from the chat input bar
Who It Fits
- DeepSeek Harness web users needing transparency over API usage and expenses
- Developers managing multi-provider LLM budgets and rate limits in DSH
Documented Limitations
- Unpriced or broken mirror models degrade to zero-cost estimates until rates are updated
- Quota checking does not support all providers (e.g., Volcengine, ZenMux, official Claude/Codex/Gemini/Grok subscriptions, GitHub Copilot)
- Changing data directory is blocked while active conversations are running
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 0 runtime, 36 development, 4 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
- LaoYueHanNi/dsh-token-usage
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 04e5e8b · 2026-10-17
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
- 14GitHub stars
- Forks
- 4
- Open issues
- 2
- Last commit
- 2026-10-11
- 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 →Generative UI plugin for DeepSeek Harness that renders interactive cards, charts, forms, and panels inline from dsh-ui code fences.
View plugin →Session lifecycle manager for DeepSeek Harness with search, restore, idle cleanup, and diagnosis.
View plugin →Infinite canvas UI plugin for DeepSeek Harness that turns branching LLM conversations into an editable thought graph.
View plugin →