dsh-deepseek-balance
Run the following command in DeepSeek Harness:
dsh plugin install Jianwen-Xu/dsh-deepseek-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Jianwen-Xu/dsh-deepseek-balance to add the plugin to your current profile; source is at https://github.com/Jianwen-Xu/dsh-deepseek-balance .
About this plugin
When the DeepSeek API carries real workloads, the questions that actually keep you up at night are not about the code — they are about balance and pricing window. dsh-deepseek-balance pins both to the bottom of the DSH Web sidebar so you never have to leave the editor, fire off a curl, or open the pricing page to check where you stand.
The plugin resolves peak and off-peak windows locally against the official DeepSeek pricing schedule — Beijing weekday hours 09:00–12:00 and 14:00–18:00 are peak, everything else is off-peak at half rate — and displays a live countdown to the next switch on the badge. The time calculation shifts eight hours before reading UTC fields, so a developer in London, Shanghai, or San Francisco all gets the same verdict. Hovering the badge breaks out gift-balance and top-up-balance figures separately. A colour dot communicates state at a glance: green for healthy, amber for an unavailable account, red for a read failure, blue while loading; clicking the row bypasses the 60-second cache and forces a fresh upstream call, while concurrent reads are coalesced into a single in-flight promise so rapid clicks never spiral into a request storm. When the sidebar is collapsed the widget shrinks to a wallet glyph with the dot tucked in its corner — hover for full detail, click to refresh, no text overflow.
Anyone who calls the DeepSeek API day-to-day inside the DSH workspace will find the value: prompt debugging, batch evaluations, cost window scheduling, or simply keeping an eye on what is left. One narrow strip in the sidebar replaces a dozen context switches.
Use Cases
- Glancing at remaining balance mid-prompt-debug
- Checking if the current window is off-peak before a batch run
- Reading the status dot with the sidebar collapsed
Best For
- Developers making high-frequency DeepSeek API calls
- Teams managing cost windows and billing periods
- Individual users working in the DSH environment
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.