dsh-balance
Run the following command in DeepSeek Harness:
dsh plugin install deepforce/dsh-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install deepforce/dsh-balance in your DeepSeek Harness terminal to install; the full source is at https://github.com/deepforce/dsh-balance . Restart dsh web after installation to activate the plugin.
About this plugin
Checking your DeepSeek balance used to mean switching tabs and logging into the platform portal. dsh-balance brings that information into the environment you are already working in: type /balance in any session for a full breakdown of total, topped-up, and granted credits, or glance at the compact readout in the Web GUI composer-dock to see how much is left at a glance, refresh, or jump straight to the top-up page.
Beyond a point-in-time balance, the plugin adds a daily-spend chart and a session-cost estimate. Hovering the Last N days summary summons an SVG bar chart showing per-day spend, request counts, and token volumes. The session estimate multiplies your cumulative token usage by DeepSeek's published peak and off-peak per-million-token rates (selected by current Beijing time), giving you a running approximation of what this conversation will cost. All pricing fields, including off-peak rates, peak multiplier, and peak windows, are configurable.
Security is handled conservatively: the API key is resolved on the host per call through the credential seam or environment and never reaches the browser. This plugin fits developers who work in DeepSeek Harness daily and want balance and spend visibility without leaving their terminal or web session.
Use Cases
- Query DeepSeek account balance and credit breakdown without leaving the terminal
- Review per-day spend trends via the Web GUI hover chart
- Estimate session token cost before committing to long generation tasks
Best For
- Engineers who build with DeepSeek Harness daily
- Solo developers or small teams managing API spend budgets
- Power users who want persistent balance visibility in their IDE
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.