dsh-session-metrics:在 DSH Web GUI 里看会话花费、缓存节省与峰谷时段
dsh-session-metrics 是 mrdhira 维护的 DSH 客户端插件,在 Web GUI 输入框下展示会话 cost、缓存相对 miss 的 saved,以及按提供商时区解析的 peak/off-peak 状态;详情面板提供分步与分模型拆解。数据来自与 stats pills 相同的 tokenUsage 投影,不重复 token 总量等指标。安装方式为 clone 至 ~/.dsh/plugins 后执行 install.sh 或手动 link 到 profile 并 pnpm install,需 Node.js 22+ 与完整重启 DSH。内置多提供商费率卡,可通过插件侧栏或 cordis.patch.yml 配置预算与自定义 providers。
Read Moredsh-session-cost:在 DSH 桌面版里实时看见会话花了多少钱
dsh-session-cost 是 ytftu 维护的 DSH 客户端插件,在输入框底栏显示本会话总消费并可切换积分口径,在每条回复旁显示本轮金额,在窗口右上角显示峰谷、余额与今日用量,点击可查看每轮或近七日折线图。会话费用由 session.v4.jsonl.zstd 重算,余额与今日用量来自 API 或账号采样。安装需在 ~/.dsh 插件目录登记 profile 并重启 DSH。MIT 许可,Node ≥ 20。
Read Moredsh-meter:DeepSeek Harness 按会话计费插件
DeepSeek Harness 的 `dsh-meter` 插件提供会话级成本监控功能。它通过右上角徽标和统计卡片展示 Token 用量、费用及高峰/空闲状态,支持按轮次查看消耗详情。插件提供 GUI 和配置文件两种方式设置价格,支持高峰计价、缓存分段计价等逻辑。由于 npm 版本停留在 0.3.18,建议源码目录安装以获得最新功能。插件迁移时需保留目录并重新安装配置。
Read Moredsh-monitor: DeepSeek Harness Session Billing and Usage Query Plugin
The `dsh-monitor` plugin for DeepSeek Harness (DSH) is designed to address pain points in querying session costs and quotas. Its core features include displaying real-time session Token cost indicators, viewing quota status by model provider, and supporting configurations for DeepSeek Official, OpenCode plans, and custom HTTP endpoints. The plugin also provides price synchronization, local SQLite ledger management, and backfilling of historical data. After installation, users can configure providers in settings and view usage directly in Composer. Licensed under the MIT License, this plugin is well suited for developers who want to manage API costs with precision.
Read Moredsh-billing: DeepSeek Harness Session Billing and Quota Plugin
dsh-billing is an independent community session billing plugin for DeepSeek Harness, designed to provide cost references and quota views during local development and debugging. It primarily provides three main functions: tracking token costs by provider/model, generating billing session projections, and displaying current round/session costs, quota progress, and model details in the Web interface. The plugin supports configuring currency (e.g., CNY/USD) and per-session quotas, alerting users via color changes when the quota reaches 50%, 80%, and 100%. Installation can be completed via a bundle or a manual npm package. For price configuration, user settings are prioritized, falling back to built-in directories otherwise. It should be noted that the fees provided by dsh-billing are for local reference only.
Read More