boooooooer/dsh-balance-and-cost ↗★ 1

dsh-balance-and-cost

按时间与单价统计余额和模型消耗量 适合需要精确统计多模型、多会话历史花费的用户。

套件
dsh-balance-and-cost
相容性
待驗證
版本
0.3.1
授權
MIT
最近更新
2026年9月20日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:boooooooer/dsh-balance-and-cost

配置

  • API Key:插件通过 DSH 的 credentials 服务解析 DEEPSEEK_API_KEY(~/.dsh/.credentials.yaml 或同名环境变量),代码中不含任何密钥
  • 统计文件:$DSH_HOME/dsh-balance-and-cost.json(可在设置页「重置记录」一键清空,或直接删除文件)