rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:SheldonJinn/dsh-precise-billing
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
按 DeepSeek 官方人民币价目(含峰谷时段与法定节假日)逐条请求精确计算会话费用,并提供费用条、侧栏卡片、用量看板(趋势 / 日历 / 年视图)与三段式热重启。
dsh-precise-billing已发布:GitHub https://github.com/SheldonJinn/dsh-precise-billing · npm https://www.npmjs.com/package/dsh-precise-billing
侧栏卡片

用量日历(按日)

年视图(收起 / 展开月份)

设置页

热重启(三段式:警示 → 确认 → 执行)

assistant/message 自带的 usage 为计价单位,而不是估算;| 模型 | 输入(未命中) | 缓存命中 | 输出 |
|---|---|---|---|
| deepseek-flash(含 v4-flash) | ¥1 / ¥2 | ¥0.02 / ¥0.04 | ¥4 / ¥8 |
上表为「人民币 / 百万 token,闲时 / 峰时」。
趋势
日历(日 / 周 / 月 / 年)
DSH_* 与代理变量),重开后环境一致;%TEMP%\pb-restart-<时间戳>.log;接口带 15 秒冷却;从 npm 安装(推荐,发布版):
dsh plugin --profile desktop add dsh-precise-billing
本地开发安装:
dsh plugin --profile desktop add link:C:\Users\XXJ\Documents\deepseek-harness\default-workspace\_plugins\precise-billing
安装后在 设置 → 插件 中启用,并刷新页面。
$DSH_HOME/storages/precise-billing.json$DSH_HOME/sessions/**/session.v4.jsonl.zstd(只读)%TEMP%\pb-restart-*.logE:\DSH项目备份\插件编写\插件编写.git本插件的用量看板、热重启与会话计费分别参考了下面三个开源插件(均为 MIT 许可),代码为独立实现,未逐行复制。原版可按下面的地址与命令自行安装。
官方用量看板:趋势 / 日历视图、模型消费与 Token 图表、按模型明细。
dsh plugin --profile desktop add deepseek-usage热重启插件:窗口内一键重启 DSH,无黑窗口,带自检诊断。
dsh plugin --profile desktop add dsh-hot-restart会话计费插件:Token 分桶、缓存命中率、峰谷感知费用的会话标题栏,以及价格表设置页。
dsh plugin --profile desktop add dsh-meter更多说明见仓库内
CREDITS.md;设置页底部「参考项目」也提供了一键打开主页与复制安装命令。
@local/precise-billing 导致的重复注册与启动崩溃;Sheldon Jinn
MIT License,Copyright (c) 2026 Sheldon Jinn。详见 LICENSE。
发布到 GitHub / npm / 插件市场的完整步骤见 PUBLISHING.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness、deepseek-harness-plugin。