Skip to content

crazywoola/dsh-balance

161Last commit Aug 15, 2026

dsh-balance DSH plugin

dsh-balance is a plugin for DeepSeek Harness that displays your API account balance (total, top-up, and gift) directly in the settings panel and below the chat composer. It also lists the models accessible with your current API key. The plugin caches results and supports manual refresh.

How to install the dsh-balance DSH plugin

dsh plugin --profile web add @pinkbanana/dsh-balance

Copying does not run this command. Review the repository and version before installing the dsh-balance DSH plugin.

dsh-balance DSH plugin data source

dsh-balance DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-balance DSH plugin can do

  • View total, top-up, and gift balance
  • Display balance summary persistently below the chat input
  • List models available for the current API key
  • Cache query results and allow manual refresh
  • Native support for Simplified Chinese and English, following Harness system language
  • Use the saved DEEPSEEK_API_KEY from Harness settings

Where the dsh-balance DSH plugin fits

  • Monitor API credit consumption while using DeepSeek Harness
  • Quickly check which models are accessible without leaving the conversation
  • Avoid surprises by keeping an eye on remaining balance during heavy usage
  • Verify that the configured API key is valid and has sufficient funds

Who the dsh-balance DSH plugin is for

  • DeepSeek API users who run DeepSeek Harness
  • Developers integrating DeepSeek into their workflow and need balance visibility

dsh-balance DSH plugin limitations

  • Requires a running DeepSeek Harness instance with web profile
  • Balance data is cached; manual refresh may be needed to see the latest values
  • Only works with DeepSeek API accounts (not other providers)

dsh-balance DSH plugin: from the repository README

Quoted from the crazywoola/dsh-balance README, the upstream source of the dsh-balance DSH plugin. Copyright remains with the original authors.

DeepSeek Harness 插件,用于查询 API 余额和当前可用模型。API Key 仅由本机 Host 使用,不会发送到浏览器。 ![DeepSeek 余额设置面板](./docs/dsh-balance-settings-v040.png) ![聊天框下方的 DeepSeek 余额](./docs/dsh-balance-composer-v040.png) ## 功能 - 查看总余额、充值余额和赠送余额 - 在聊天框下方持续显示余额摘要 - 查看当前 API Key 可用的模型 - 缓存查询结果并支持手动刷新 - 原生支持简体中文和英文,并跟随 Harness 系统语言切换 - 支持 Harness 已保存的 `DEEPSEEK_API_KEY` ## 安装 ```bash dsh plugin --profile web add @pinkbanana/dsh-balance dsh --profile web ``` 打开 <http://127.0.0.1:3080/>,进入“设置 → DeepSeek 余额”。该入口位于“Agent 预设”下方,余额摘要也会显示在已有会话的聊天框下方。API Key 可在“设置 → 模型”中保存,或通过 `DEEPSEEK_API_KEY` 环境变量提供。 ## 开发 ```bash pnpm install pnpm check ``` ## License [MIT](./LICENSE) <a href="https://www.buymeacoffee.com/pinkbanana"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Crazywoola a coffee" width="199" height="55" /></a>

Read the full READMERepository license: MIT

dsh-balance DSH plugin questions

How do I install dsh-balance?

Run `dsh plugin --profile web add @pinkbanana/dsh-balance` in your terminal, then restart Harness with `dsh --profile web`. After that, go to Settings → DeepSeek Balance in the web UI to configure your API key.

Where do I put my DeepSeek API key?

You can set your API key in two ways: either save it in Harness Settings → Models, or set the environment variable `DEEPSEEK_API_KEY` before starting Harness. The plugin will use the key from either source.

The balance is not updating. What should I do?

The plugin caches balance data to reduce API calls. To see the latest balance, click the refresh button (⟳) next to the balance display. If it still doesn't update, check that your API key is valid and has not expired.

Does this plugin support languages other than English?

Yes, it natively supports Simplified Chinese and English. The plugin automatically follows the language setting of DeepSeek Harness, so no extra configuration is needed.

Can I see the list of models available with my API key?

Yes, the plugin shows the models that your current DeepSeek API key can access. You can find this information in the DeepSeek Balance settings panel, alongside the balance details.