dsh-balance
Run the following command in DeepSeek Harness:
dsh plugin install 305037991x-pixel/dsh-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install 305037991x-pixel/dsh-balance in DeepSeek Harness to install; the source repository is available at https://github.com/305037991x-pixel/dsh-balance.
About this plugin
Running both DeepSeek and OpenRouter APIs side by side means hopping between two separate dashboards just to check your balance. dsh-balance solves that with a single persistent chip in the conversation header: DeepSeek credit in yuan on the left, OpenRouter credit in dollars on the right (top-up minus usage). Hover to reveal per-account breakdowns, auto-refresh every three minutes, and switch conversations without re-fetching thanks to a module-level shared cache.
Fault isolation is a deliberate design choice: if one provider errors out, only that side shows a warning mark while the other keeps displaying normally. The manual refresh button triggers both requests simultaneously, so you never end up with a half-stale state.
All credential handling stays on the host side. The browser never sees a raw key—only sanitized balance figures reach the front-end. For developers who lean on both platforms daily and want to stay on top of consumption without breaking the flow of an active conversation, this chip keeps the numbers right where your eyes already are.
Use Cases
- Check both DeepSeek and OpenRouter credits without leaving the conversation
- Glance at remaining budget mid-session by hovering the chip
- Track consumption trends and spot low-balance situations early
Best For
- Developers relying on both DeepSeek and OpenRouter daily
- Solo builders who prefer fewer context switches
- Tech leads auditing spend or setting up cost alerts for a team
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.