dsh-usage-balance
Run the following command in DeepSeek Harness:
dsh plugin install zdjmrq/dsh-usage-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install zdjmrq/dsh-usage-balance in your terminal to install; the plugin source is available at https://github.com/zdjmrq/dsh-usage-balance.
About this plugin
After a long session in DeepSeek Harness you probably want a quick glance at token spend, estimated cost, and remaining account balance—without hunting through a browser tab. dsh-usage-balance pins a compact Usage / Balance label to the bottom of the sidebar so the full picture is one hover away.
The glassmorphism detail card slides out on hover, showing live session duration ticking every second, input and output token counts, an estimated cost from a built-in price table, and the real account balance pulled from the official API with a 60-second cache (Node fetch preferred, curl fallback on failure). A curtain-style pill toggle at the bottom of the card flips between show-on-hover and always-visible modes. If vertical space is tight the card auto-flips to the left; when the sidebar collapses to a thin strip everything shrinks to a single badge—never breaking the desktop layout.
Built for developers and teams who call the DeepSeek API frequently and care about token economics and remaining balance. If you prefer keeping every workflow inside the sidebar, dislike hopping between the editor and a billing page, or simply want a one-second how-much-did-this-round-cost check after a long-context run, this plugin slots in seamlessly and follows DSH light and dark themes throughout.
Use Cases
- Quickly check token spend and account balance after a long session
- Monitor live duration and input/output token counts during development
- Stay cost-aware inside the sidebar without opening a browser
Best For
- Developers who call the DeepSeek API frequently and track token economics
- Independent developers who want instant balance checks without leaving the editor
- Teams that prefer keeping every workflow inside the editor and sidebar
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.