AI Agent Hub
Back to plugins
🖥️

dsh-balance-local

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install chenpengye/dsh-balance-local

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

Clone the source from https://github.com/chenpengye/dsh-balance-local, run pnpm install and pnpm build, then register the plugin in the cordis.patch.yml of your ~/.dsh/profiles/ configuration and restart dsh web to see the balance panel in Settings and below the composer.

About this plugin

Developers and teams that call the DeepSeek API frequently often find themselves repeatedly logging into the official website to check their remaining balance. The process is cumbersome, and an easy-to-miss top-up can leave requests failing mid-workflow. dsh-balance-local brings balance visibility directly into your DeepSeek Harness interface so you always know where you stand.

The plugin shows a full balance panel on the Settings page (total, credited, and bonus amounts) with a manual refresh button, and keeps a small status badge below the conversation composer that uses three colors to signal healthy, depleted, or loading states. Data auto-refreshes every 60 seconds with an additional 30-second host-side cache to reduce upstream load. On the security front, the API key is resolved exclusively on the host process from the dsh credential store and never reaches the browser; the endpoint is loopback-only by default and rejects all non-local requests; errors are returned as classified codes without passing through upstream response bodies.

This plugin is designed for anyone who uses DeepSeek Harness daily for development or conversation. No extra configuration is required-it simply reuses the DEEPSEEK_API_KEY you already saved under Settings, making your balance visible at a glance the moment you open the app.

Use Cases

  • Check your DeepSeek balance at a glance during daily development without leaving the app
  • Confirm account status when sharing dsh profiles across a team
  • See remaining quota right below the composer before sending a long prompt

Best For

  • Engineers who use DeepSeek Harness for daily development
  • Small and mid-size teams managing multiple API keys
  • Users who want fewer context switches and a smoother workflow