Back to directory

dsh-balance-plugin

Curated pickMaintenance: Active

yxxbc/dsh-balance-plugin

DeepSeek 余额监控与用量统计:CNY/USD 双余额池多账户查询、低余额告警、官方充值入口、Miyu 风格用量仪表盘、三方插件管理、query_api_quota 模型工具

View on GitHub
$ curl -fsSL https://raw.githubusercontent.com/yxxbc/dsh-balance-plugin/main/install.sh | bash

57

stars

5

forks

JavaScript

Language

MIT

License

2026-08-15

Created

2026-08-22

Last push

MIT-licensed native DSH plugin for DeepSeek balance monitoring and usage analytics — multi-account CNY / USD balance, low-balance alerts, one-click top-up, Miyu-style usage dashboard, and a `query_api_quota` model tool. Reads `DEEPSEEK_API_KEY` automatically; settings persist in config.json.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-02

License

MIT

01What can it help you accomplish?

  • Keep your DeepSeek API credit in view across CNY and USD balance pools without leaving DeepSeek Harness

    A live balance bar per account (multi-account parallel query) with configurable low-balance thresholds (default ¥10 / $2) that turns red when a balance drops below the line, plus a direct link to the official top-up page

    DSH users who top up a DeepSeek account and want balance visibility next to the chat input

  • Understand where your DeepSeek tokens go from inside the harness

    A Miyu-style usage dashboard — GitHub-style usage calendar, stacked trend bars, model-consumption ring chart and detail table, the last 50 call records, plus round / step / latency / tok-s / cache-hit metrics

    Heavy API users who want to spot costly models and track cache-hit rate

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness must be installed and running — the README says it must be installed and running first
  • A DeepSeek API Key is optional: if your machine already has the `DEEPSEEK_API_KEY` credential, the plugin reads it automatically on launch and you never type it in

Installation steps

  1. 01

    macOS / Linux: run `curl -fsSL https://raw.githubusercontent.com/yxxbc/dsh-balance-plugin/main/install.sh | bash`

    $ curl -fsSL https://raw.githubusercontent.com/yxxbc/dsh-balance-plugin/main/install.sh | bash

  2. 02

    Windows (PowerShell): run `irm https://raw.githubusercontent.com/yxxbc/dsh-balance-plugin/main/install.ps1 | iex`

  3. 03

    Restart DeepSeek Harness; the three icon buttons on the right of the input box appear and the plugin is active. Use `DSH_PROFILE=<name>` to target another profile.

Verify the integration

  • After restart, three icon buttons show up on the right of the input box — that is the success signal

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DeepSeek Harness (DSH) plugin — installs into the DSH plugin panel and lives in the input-box tool row, not an external bridge.

  • Balance monitor (CNY / USD dual pool)

    DSH `DEEPSEEK_API_KEY` credential (read automatically) or a configured DeepSeek API KeyMulti-account parallel balance query for CNY / USD pools; low-balance alert turns the bar red under threshold

  • Usage analytics dashboard

    Your DeepSeek call history (pulled from the account)Miyu-style usage calendar, stacked trend bars, model-consumption ring chart and table, last 50 call records, plus round / step / latency / tok-s metrics

  • query_api_quota model tool

    A natural-language question such as "how much DeepSeek balance is left"A balance summary returned by the registered `query_api_quota` tool

  • Third-party plugin manager

    Unofficial (non-`@deepseek-ai`) DSH web plugins installed locallyA list with package name / local path / bundle rev / dependencies, and a one-click "open directory" to locate the source

04Who is it for? When not to use it?

Good for

  • DSH users who top up a DeepSeek account and want balance visibility next to the chat input
  • Heavy API users who want to spot costly models and track cache-hit rate

Not for

  • Do not run `dsh plugin add dsh-balance-plugin` — an unrelated same-name package (`dsh-balance-plugin@0.1.0`) exists on npm, so the bare name installs the wrong one. Use the one-click script or a `github:` source.

05Compatibility, maintenance and safety notes

  • Do not run `dsh plugin add dsh-balance-plugin` — an unrelated same-name package (`dsh-balance-plugin@0.1.0`) exists on npm, so the bare name installs the wrong one. Use the one-click script or a `github:` source.
  • Your API key is stored only in the local plugin directory `config.json` and shown masked in the UI; the source code and README contain no secrets.
  • The plugin entry buttons live in the input-box tool row on the right, not the sidebar bottom slot (which the official Cordis panel plugin occupies exclusively), so don't look for them in the sidebar.
2026-08-152026-08-22v1.3.0

MIT · latest release v1.3.0 (2026-08-22)

06Frequently asked questions

Do my settings survive a restart?

Yes — settings are auto-persisted to `config.json` in the plugin directory and restored on restart.

Does the plugin itself survive a restart?

Yes — it is a static plugin installed persistently, so it is still there after restart; the auto-read `DEEPSEEK_API_KEY` needs no re-entry.

I don't see the entry buttons at the bottom of the sidebar?

The plugin entry is fixed to the right of the input-box tool row and does not use the sidebar bottom slot, which the official Cordis panel plugin occupies exclusively.

Will my API key leak?

No — the key is stored only in the local plugin directory `config.json` and shown masked in the UI; the source code and README contain no secrets.

Why not `dsh plugin add dsh-balance-plugin`?

An unrelated same-name package (`dsh-balance-plugin@0.1.0`) exists on npm, so the bare name installs the wrong one. Use the one-click script or a `github:` source.

08Data and sources

  • Author-claimedgithub.com9a0feb1255b2…

    DeepSeek Harness(DSH)插件

  • Author-claimedgithub.com9a0feb1255b2…

    在 DSH 插件面板内直接检查更新并一键更新,无需手动操作

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-02. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.