Overview
dsh-billing DeepSeek Harness 计费插件:持久化账本精确计费(每次模型调用)、官方余额、预算、今日/本月/累计汇总、会话明细与历史记录、峰谷计价、官方价格同步,界面中英双语。Billing plugin for DeepSeek Harness: persistent ledger with exact per-call cost, official balance, budget, today/month/total summaries, per-session details and history, peak/off-peak pricing, official price sync — bilingual (zh/en).
README / EN
Package documentation Registry summary DeepSeek Harness 计费插件:持久化账本精确计费(每次模型调用)、官方余额、预算、今日/本月/累计汇总、会话明细与历史记录、峰谷计价、官方价格同步,界面中英双语。Billing plugin for DeepSeek Harness: persistent ledger with exact per-call cost, official balance, budget, today/month/total summaries, per-session details and history, peak/off-peak pricing, official price sync — bilingual (zh/en).
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHub LIMITATIONS
Known limitations - 余额是账户级数据,按 `refreshMinutes` 缓存;手动刷新即时生效;
- 会话统计行的本会话费用为当前档位估算值,精确费用以账本(今日/月度/累计)为准;
- 官方页面解析依赖当前页面结构;改版后「同步官方价格」会报错,价格表暂沿用旧值,可稍后重试或手动编辑 `ledger.json` 兜底;
- 价格同步**以官方页面为准替换整个模型集**:官方页面不存在的 legacy/自定义模型会被移除;
- 余额查询需要可访问 api.deepseek.com 的网络与有效 API Key;**API Key 只会发往官方域名**(baseURL 指向非官方域名时余额查询拒绝请求,模型请求不受影响);
- 安装/更新插件后需重启 `dsh web` 生效。