AI Agent Hub
Back to plugins
🖥️

dsh-balance

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Mystery-God/dsh-balance

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Mystery-God/dsh-balance in your terminal (source: https://github.com/Mystery-God/dsh-balance), then restart dsh web to find the plugin under Settings.

About this plugin

Switching between several LLM providers makes keeping track of API credits a real pain — a silent balance depletion can break your inference pipeline mid-task, and checking each dashboard separately is tedious. dsh-balance brings that information right into the DeepSeek Harness Web GUI: a draggable floating card in the bottom-right corner shows your total balance, a breakdown of top-ups and grants, and the last refresh timestamp, so you never have to leave your workspace to check how much credit you have left.

The card polls every 60 seconds with a 30-second host-side cache to keep API traffic light. It natively supports the balance endpoints of DeepSeek, SiliconFlow, Moonshot, and OpenRouter, auto-detecting the correct provider from your configured base URL and surfacing a clear error for unsupported hosts. On the security side, every balance request is issued from the host process; the API key can be stored in a local file or resolved through the credentials seam, and only a masked preview is ever returned — the secret never reaches the browser.

If you juggle multiple model providers, want at-a-glance credit awareness inside your GUI, and care about keeping credentials server-side, dsh-balance is a zero-runtime-dependency, no-build plug-and-play addition that stays out of your way until you collapse it into a tiny pill or dismiss it entirely.

Use Cases

  • Working across multiple LLM providers and checking each account balance without leaving the GUI
  • Preventing mid-task inference failures caused by silently depleted API credits
  • Switching between providers and confirming remaining credits in one place

Best For

  • Developers juggling credits across DeepSeek, SiliconFlow, Moonshot, and OpenRouter
  • Engineers who insist API keys stay on the host and never reach the browser
  • End users of DeepSeek Harness Web GUI who want at-a-glance account status inside the UI