dsh-balance-monitor
Run the following command in DeepSeek Harness:
dsh plugin install ShawnKung/dsh-balance-monitor
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ShawnKung/dsh-balance-monitor in your DeepSeek Harness terminal to install the plugin; the full source code is hosted at https://github.com/ShawnKung/dsh-balance-monitor .
About this plugin
Juggling several LLM providers—DeepSeek, Kimi, Zhipu GLM, TeamoRouter—means balances and usage live in separate dashboards. Checking them requires leaving your workspace, logging into yet another site, and repeating for every channel. dsh-balance-monitor consolidates that information into the DSH Web sidebar: a compact balance readout sits between the new-session and workspace panes, and a single click opens an ordered detail panel covering balance, spend, and token consumption. Channels without a configured key stay hidden, so the interface never clutters.
The refresh logic mirrors how you actually work. On startup every channel with a resolvable credential is fetched once. After each conversation turn a targeted refresh is routed by the provider's real hostname. During active sessions a background check runs once per turn behind the scenes, never blocking your work. Color-graded feedback shows at a glance whether each channel succeeded, and a monotonically increasing host snapshot revision lets the front-end discard stale loading states before a completed result arrives. API keys remain in the DSH credentials service and the Host request path; the browser only ever receives metadata such as whether a key is configured, its source, and whether it is writable—plaintext never reaches the client.
If you work across multiple model providers in DSH and want to keep an eye on balances, spending trends, and token burn without ever leaving the sidebar, this plugin aggregates scattered account data into one lightweight entry point while maintaining strict credential isolation, a minimal permission surface, and a tightly scoped self-update path.
Screenshots
Use Cases
- Check balances across DeepSeek, Kimi, Zhipu GLM, and TeamoRouter from a single DSH sidebar panel without visiting each provider's console
- Auto-refresh the relevant channel after each conversation turn by matching the provider's actual API hostname
- Review per-channel token usage and range-based spend in an ordered detail panel to track overall API cost
Best For
- DSH workspace users who rely on multiple LLM APIs and want balance visibility without leaving the sidebar
- Developers and tech leads who need ongoing visibility into token consumption and spending trends
- DSH administrators managing multi-provider credentials with emphasis on credential isolation and least-privilege access
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.

