dsh-deepseek-balance
Run the following command in DeepSeek Harness:
dsh plugin install lin-cheng-lab/dsh-deepseek-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install lin-cheng-lab/dsh-deepseek-balance in the DeepSeek Harness terminal to install this plugin; the full source code is available at https://github.com/lin-cheng-lab/dsh-deepseek-balance.
About this plugin
When you drive DSH sessions with the DeepSeek API, the question that keeps creeping in is how much balance is left and how much you have actually spent. Checking a separate browser tab or hitting an endpoint manually breaks your flow every single time. dsh-deepseek-balance turns that hidden concern into a glanceable, always-present widget.
It renders a floating badge in the bottom-right corner: a status-colored dot paired with your live balance, plus 7-day and 30-day bar charts showing daily spend with hover-to-reveal exact amounts. Data refreshes automatically every 60 seconds or on demand. The plugin reads your existing DEEPSEEK_API_KEY credential automatically and passes it only via environment variables, so no plaintext key ever lands in shell history or logs. It also picks up DSH light and dark themes out of the box.
If you run long-context conversations, batch generations, or Agent workloads through DSH on a daily basis and want to keep an eye on balance and cost trends without ever leaving the work surface, this lightweight client plugin was built for exactly that.
Use Cases
- Keep an eye on account balance during long DSH multi-turn sessions
- Review the monthly DeepSeek API spending trend at the end of the month
- Quickly confirm balance sufficiency before kicking off batch generation jobs
Best For
- Heavy DSH users who call the DeepSeek API daily
- Developers who need to track token consumption and cost conversion
- Agent workflow practitioners who want to monitor API account status without leaving the work surface
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.