dsh-usage-dock
Run the following command in DeepSeek Harness:
dsh plugin install aliensweety/dsh-usage-dock
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install aliensweety/dsh-usage-dock in DeepSeek Harness; the full source repository is at https://github.com/aliensweety/dsh-usage-dock .
About this plugin
The official DSH stats pills already tell you how many tokens a session has used and what the cache hit rate is, but they do not answer the more practical question: how much did this round actually cost? dsh-usage-dock adds a single amount-only pill right beside the official ones so you can glance at the session cost at a time without pulling out a price sheet and doing mental arithmetic.
In its collapsed state the pill shows just a number; expanding it appends two fee lines-peak and off-peak-along with the cache hit rate into the official token-usage card. Pricing follows DeepSeek official RMB-per-million-tokens rates, auto-detects the model in use (flash or v4-pro), and switches between peak and off-peak tiers based on Beijing weekday business hours. The plugin reads only the built-in DSH session projection (tokenUsage and modelSelection); it makes no network requests, reads no log files, and touches no credentials. If the active route is not deepseek-official the pill simply does not render, preferring silence over a confidently wrong number.
If you route through DeepSeek via DSH on a daily basis, care about the real cost per session, or want to compare spending across peak and off-peak windows to plan usage, this pill is built for that workflow. It is lightweight, side-effect free, and disappears cleanly on uninstall without altering any official element.
Use Cases
- Glance at the current session cost in RMB from the DSH composer dock
- Compare peak versus off-peak fees for the same session to schedule usage
- Cross-check cache hit rate and four-token-bucket usage against actual charges
Best For
- Individual developers who route through DeepSeek via DSH daily
- Teams that track API spend in RMB and need per-session cost visibility
- DSH users who want an at-a-glance fee readout without consulting price sheets
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.