AI Agent Hub
Back to plugins
🧰

tugu-dsh-balance-widget

Web Tools Updated 2026.08.22

Run the following command in DeepSeek Harness:

dsh plugin install jieguanya/tugu-dsh-balance-widget

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install jieguanya/tugu-dsh-balance-widget in DeepSeek Harness to install this plugin (source: https://github.com/jieguanya/tugu-dsh-balance-widget ), then restart DSH to see the balance widget in the sidebar.

About this plugin

When you are deep in a DSH session calling the DeepSeek API, checking your balance or spending means leaving the editor, opening a browser, and logging in again. dsh-balance-widget brings that information right into the sidebar: one click on the widget in the bottom-left corner pops a centered card with the full picture.

The card is organized in three zones. The top shows real-time balance (total, gift credits, recharge breakdown, and availability) with a one-click button to the official top-up page. The middle lists today's call count, token usage (input / cache-hit / output), and an estimated spend grouped by model—new models appear automatically with no code changes. The bottom displays a 7-day and 30-day daily spending bar chart; hover any bar for per-day token and amount details. While the panel is open, data auto-refreshes every 60 seconds or can be refreshed manually.

The API key never leaves your machine: the browser only communicates with a local route and the host resolves the key per request. It is ideal for developers who call DeepSeek daily through DSH and want a glanceable, always-current view of balance and spending without context-switching.

Use Cases

  • Check DeepSeek balance and top up in real time while coding in DSH
  • Track per-model token usage and estimated daily cost
  • Review 7/30-day spending trends to plan top-ups

Best For

  • Developers calling DeepSeek API daily through DSH
  • Solo developers who need a glanceable balance view
  • Tech leads managing team DeepSeek quotas via DSH