dsh-billing:DSH Web GUI 实时计费监控插件
dsh-billing 是 DSH Web GUI 的实时计费监控插件,集中管理本机模型调用用量、余额及费用估算。核心功能包括:侧边栏实时显示余额(2秒刷新)及状态告警;展开面板查看消费明细、Token 用量及最近流水;支持 DeepSeek v4 峰谷定价及多供应商单价匹配;可通过 API Key 同步官方余额与单价。插件提供设置页配置阈值、单价表及数据管理,并集成 `billing_balance` Agent 工具供查询。账本数据持久化存储,重启自动恢复。安装无需构建,支持从 GitHub 或本地直接安装。需注意其仅统计本机调用,API Key 明文存储于本地,计费为估算值。适合需实时监
Read Moredsh-billing: Displaying Account Balance and Session Costs in DeepSeek Harness
`dsh-billing` is a DeepSeek Harness plugin designed to display the DeepSeek account balance and current session costs (in CNY) in real-time within the Web UI. It addresses the inconvenience of manually checking bills during conversations, offering three query interfaces: a persistent dual-capsule display at the session header, slash commands (`/balance`, `/cost`), and a model tool (`deepseek_billing`). Key features include instant data refresh upon clicking the capsule, hover-to-view details for recharges, bonuses, USD conversions, and token/cost breakdowns by model. The plugin utilizes event-driven refresh with zero requests when idle and supports automatic synchronization of the latest official pricing (including peak/off-peak rates) every 12 hours. Users can configure pricing via `config.pricing` and `config.`
Read More