dsh-token-usage
Token usage and cost analytics plugin for DeepSeek Harness with real-time tracking, Web UI charts, and provider quota panels.
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 JSONL logging of input, output, cache read, and cache write tokens per request
- Web settings analytics dashboard with trend charts, date/model filters, and per-model breakdowns
- Session conversation usage tab with TTFT, throughput metrics, hourly trend charts, and subagent aggregation
- Live cost estimation supporting cloud pricing feeds, tier rates, peak-hour rules, and custom overrides
- Input-bar provider quota button displaying account balances or window progress for supported providers (DeepSeek, GLM, Kimi, MiniMax, OpenCode Go, OpenRouter)
- Non-destructive data directory live migration and historical session backfill on first run
Useful For
- Tracking API token consumption and costs across different models and sessions in DeepSeek Harness
- Analyzing subagent execution token efficiency, TTFT, and generation throughput
- Monitoring provider remaining quotas and coding plan rate limits directly in the Web UI
Who It Fits
- DeepSeek Harness developers and power users managing model API budgets
- Teams optimizing subagent workflows, cache hit rates, and prompt token efficiency
Documented Limitations
- Directory migrations cannot be saved while active conversation turns are in progress
- Provider quota button does not support Volcengine, ZenMux, Zhipu Team plans, or official Claude/Gemini/Codex subscriptions
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
- LaoYueHanNi/dsh-token-usage
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 0808fe5 · 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
- 12GitHub stars
- Forks
- 1
- Open issues
- 0
- Last commit
- 2026-09-19
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Full context lifecycle management, visualization dashboard, and /context command for DeepSeek Harness.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive components and charts inline from assistant responses.
View plugin →Native skin marketplace and theme lifecycle manager embedded directly into DeepSeek Harness settings.
View plugin →A bilingual DeepSeek Harness cost-tracking plugin with session and daily costs, budgets, pricing management, balance lookup, and coding-plan quota displays.
View plugin →