boooooooer/dsh-balance-and-cost ↗★ 1
dsh-balance-and-cost
按时间与单价统计余额和模型消耗量 适合需要精确统计多模型、多会话历史花费的用户。
安装
$
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(可在设置页「重置记录」一键清空,或直接删除文件)