boooooooer/dsh-balance-and-cost ↗★ 1
dsh-balance-and-cost
DeepSeek 账户余额与模型消耗量:计价缓存按消耗发生的具体时间与当时单价冻结花费,价格表同步官方最新(deepseek-flash / deepseek-v4-pro,工作日高峰);按模型与会话统计,主页摘要条 + 插件中心面板。 适合需要精确统计多模型、多会话历史花费的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:boooooooer/dsh-balance-and-costドキュメント
README 全文を読む ↗配置
- API Key:插件通过 DSH 的
credentials服务解析DEEPSEEK_API_KEY(~/.dsh/.credentials.yaml或同名环境变量),代码中不含任何密钥 - 统计文件:
$DSH_HOME/dsh-balance-and-cost.json(可在设置页「重置记录」一键清空,或直接删除文件)