dsh-balance
Run the following command in DeepSeek Harness:
dsh plugin install qianmoyishu/dsh-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install qianmoyishu/dsh-balance in your terminal to install the persistent balance widget; the full source is at https://github.com/qianmoyishu/dsh-balance . Restart dsh web and refresh the page after installation to load the new bundle.
About this plugin
Anyone who calls the DeepSeek API often runs into the same two small frictions mid-workflow: how much balance is left, and am I in a peak or off-peak window right now? The answers live on a billing dashboard and a pricing page, both a context-switch and a few clicks away. dsh-balance pins both pieces of information into a single persistent widget in the corner of the interface, so you never have to leave what you are doing to check.
The widget mounts on the shell.overlay root slot, keeping it out of the sidebar and away from other plugins such as the pet companion. Drag the header to reposition it anywhere on screen; the coordinates persist in localStorage across refreshes. When expanded it shows total balance, topped-up balance, granted balance, and a last-updated timestamp, auto-refreshing every 60 seconds with an optional manual refresh button. Collapsed, it shrinks to a compact pill that still displays the total amount and the current pricing-window icon. The peak / off-peak indicator is calculated in real time against the Asia/Shanghai timezone: a red lightning bolt marks peak hours (09:00-12:00, 14:00-18:00 Beijing time) and a green moon marks the off-peak half-price window, with a live countdown to the next switch that recalculates every 30 seconds. The DEEPSEEK_API_KEY is resolved exclusively inside the server process and is never shipped to the browser.
If you are a heavy DeepSeek API user, care about catching the off-peak half-price window, or simply do not want to open a dashboard before every request, dsh-balance keeps the numbers and the schedule within arm's reach, saving you from those small but constant context switches.
Use Cases
- Quickly verify remaining credits before kicking off a batch of DeepSeek API calls
- Schedule jobs during off-peak half-price windows to cut costs
- Stay in flow without switching to a billing dashboard mid-task
Best For
- Developers who call the DeepSeek API frequently
- Engineers focused on optimizing API spending
- Terminal users of DeepSeek Harness
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.