dsh-balance
A DeepSeek Harness plugin for checking API balances and available models. The API key is used only by the local Host and is never sent to the browser.


Features
- View total, topped-up, and granted balances
- Keep a compact balance summary below the chat composer
- View models available to the current API key
- Cache query results with manual refresh support
- Follows DeepSeek peak/off-peak pricing: the balance indicator below the composer turns orange during peak hours (09:00–12:00, 14:00–18:00 Beijing time)
- Native Simplified Chinese and English that follows the Harness system language
- Use the
DEEPSEEK_API_KEYsaved by Harness
Install
dsh plugin --profile web add @pinkbanana/dsh-balance@latest
dsh --profile webOpen <http://127.0.0.1:3080/> and go to Settings → DeepSeek Balance. The panel sits directly below Agent presets, and the balance summary also appears below the composer in existing sessions. Save the API key in Settings → Models or provide it through the DEEPSEEK_API_KEY environment variable.
Development
pnpm install
pnpm checkLicense
[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>