dsh-token-plugin:在 DSH 里本地统计模型调用用量与费用
dsh-token-plugin(npm 包名,亦称 dsh-usage-plugin)是 DeepSeek Harness 社区的用量与消耗统计插件,由 realhenrylan 维护,fork 自 feiyang-dev/dsh-usage-plugin,MIT 许可。安装后在 Web UI 提供「用量与消耗」面板,记录每次调用的 token 与缓存命中,按 DeepSeek 公开价与北京时间峰谷规则估算费用,支持日历热力图、价格表编辑、订阅计费通道标注,以及 CSV/JSON/PNG 导出与 JSON/CSV 导入。可通过 dsh plugin --profile web add github:realhenrylan/dsh-token-plugin 或 add dsh-token-plugin 安装,要求 Node.js ≥ 18。
Read More