AlienGene/dsh-llm-balance-siderbar0

dsh-llm-balance

DeepSeek Harness plugin for querying LLM service provider usage: reads each configured provider's remaining balance or subscription quota and shows it in an always-visible card in the web GUI.

包名
dsh-llm-balance
版本
0.7.1
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlienGene/dsh-llm-balance-siderbar

常用配置(全部可选)

不改也能直接用。写在 cordis.patch.yml 那一行的 config: 里,改完重启 dsh web 生效:

config:
  thresholds: { warn: 40, error: 20 }                    # 剩余低于 40% 黄、低于 20% 红
  balanceThresholds:
    'deepseek-balance:CNY': { warnBelow: 40, errorBelow: 20 }   # DeepSeek 余额:低于 40 元黄、20 元红
  percentMode: used                                      # 显示已用%(改成 left 显示剩余%)
  refreshMs: 60000                                       # 默认 60 秒刷新一次

更细的选项(换端点、凭证读取顺序、sources 显式列表、Kimi 登录态等)见 docs/CONFIG.md