dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
本插件在助手消息的元数据行追加了 ¥x.xx 的显示功能:
按 DSH 记录的每轮 token 用量和官方高峰 / 空闲两档单价,估算这一轮花了多少钱。
兼容性:在 DSH 桌面版 0.2.1-rc.2 可运行

¥0.00;deepseek-flash。assistant 节点的 usage 里不带模型名,
换用 deepseek-v4-pro 等其他模型时金额是错的(会严重偏低);12:00 / 18:00 这种档位边界,整轮会按最后一次请求的档位计价;高峰时段(北京时间):周一至周五(不含中国法定节假日)09:00–12:00、14:00–18:00;
其余时段——含周末与法定节假日全天——都算空闲时段,空闲价恰好是高峰价的一半。
单价在 client.js 的 RATE_CARD(人民币 / 百万 tokens,deepseek-flash):
| 项目 | 高峰时段 | 空闲时段 |
|---|---|---|
| 输入(缓存未命中) | 2.00 | 1.00 |
| 输入(缓存命中) | 0.04 | 0.02 |
| 输出 | 8.00 | 4.00 |
数值取自官方价目页 https://api-docs.deepseek.com/zh-cn/quick_start/pricing/。
法源:
deepseek-flash;# <DSH 安装目录> = DeepSeek Harness 的安装位置,dsh.cmd 在其 resources\runtime\cli\bin\ 下
& '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop add github:Yulu224/dsh-costview
git clone https://github.com/Yulu224/dsh-costview.git
& '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop add '<克隆目录>'
& '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop remove dsh-costview