AI Agent Hub
Back to plugins
🖥️

dsh-usage-balance

Client Updated 2026.08.16

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