boooooooer/dsh-balance-and-cost ↗★ 0
dsh-balance-and-cost
DeepSeek 账户余额与模型消耗量统计插件:支持分时计价、按模型/会话统计及面板展示。
AI 分析
核心用途是统计 DeepSeek 账户余额和模型消耗,支持官方的高峰/空闲时段分时计价。适合需要直观查看消费摘要和历史统计的 DSH 用户。
安装
$
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(可删除以重置统计)