dsh-plugin-balance
Balance and live session usage for the DSH web UI: header balance button (left of the Session log), dropdown with account balance, real-time token breakdown (cache miss/hit, cache write, output), cache hit rate, and official-rate cost estimates with peak/off-peak auto-switch.
DSH Web 余额与会话用量插件:头部余额按钮(Session log 左侧),下拉展示账户余额、实时 token 明细(缓存未命中/命中、缓存写入、输出)、缓存命中率,以及按官方峰谷价自动切换的费用估算。
How to install
dsh plugin add @lmmzss/dsh-plugin-balance About
dsh-plugin-balance DeepSeek Harness Web 插件:会话头部余额按钮(位于原生 **Session log** 按钮左侧), 点击下拉查看 **账户余额**、**当前会话的模型与实时 token 用量**、以及按 **DeepSeek 官方价目表** 计算的费用估算。 功能 **会话头部按钮**:跟随会话头部布局,位于 Session log 左侧,加载后直接显示余额(如 ¥558.42) **点击下拉,两个区块**: **当前会话(实时)**:使用的模型、输入·未命中缓存 / 输入·命中缓存 / 缓存写入 / 输出 四项 token 明细、**缓存命中率**(含进度条)、按官方价目表计算的本会话费用 **账户余额**:总余额、充值余额、赠送余额、账户可用状态、更新时间,附 DeepSeek 平台链接 **实时更新**:token 用量订阅 token-meter 的 session projection,模型回答流式过程中数字实时增长 **价格自动同步**:宿主端每 6 小时以 ETag 条件请求同步 官方定价页,自动提取峰谷价与生效日期; 未联网时回退内置价目表;客户端打开面板时拉取最新价并本地缓存 12 小时 **峰谷自适应**:按北京时间自动判断高峰(9:00-12:00、14:00-18:00)/空闲时段, 并随官方调价公告的生效日期自动…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 2
- mo. downloads
- –
- Last push
- 2026-08-18
- Created
- 2026-08-14
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek, deepseek-harness, dsh-plugin, dsh-plugins
Related plugins
dsh-TUI
ccch1mneyyy/dsh-TUI
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
deepseek-harness-desktop
anywhere-labs/deepseek-harness-desktop
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
UI-TARS-desktop
bytedance/UI-TARS-desktop
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
inbox-zero
elie222/inbox-zero
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.