dsh-usage-billing
Usage and cost statistics with peak/off-peak pricing after the 2026-08-17 rate change, a floating summary panel, per-session breakdowns, and a day/week/month/year/all usage heatmap.
用量与消费统计:8/17 调价前后峰谷计费,主界面汇总面板、按会话明细与日/周/月/年/累计用量热力图。
How to install
dsh plugin add dsh-usage-billing About
dsh-usage-billing · DeepSeek 用量与消费统计插件 中文 | English 针对 DeepSeek Harness 的**免构建**双面插件:自动统计本机所有会话的 DeepSeek 模型调用,按官方定价分段计费,并在主界面与设置页提供图表化的用量面板。 计费口径:2026-08-17 00:00(北京时间)前旧价;之后峰谷定价(高峰 9:00–12:00、14:00–18:00,其余空闲时段)。价格表见文末。 功能 **全自动统计**:监听 llm/stream,所有会话的每次模型调用都会被记录(输入/输出/缓存命中/未命中 tokens) **历史回填**:首次启动自动扫描本机会话日志,重建历史用量与消费,并附会话标题 **分段计费**:按北京时间自动归入「8/17 前旧价 / 8/17 后高峰 / 8/17 后空闲」三段 **主界面**: 左下角「用量」按钮 → 悬浮汇总面板(总费用、分段占比、用量热力图、会话 Top 5) 输入框下方常驻一行**当前会话**的用量 **设置页 → 用量统计**:完整明细(统计卡片、分段占比、日/周/月/年/累计热力图(悬停即时显示 token 与金额)、按会话 Top 8、按模型、最近调用、回填/清空) **动态工具 usage_stats**:模型可直接查询统计(“现在用了多少钱?”) **持久化**:数据写入…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 4
- mo. downloads
- 249
- Last push
- 2026-08-16
- Created
- 2026-08-14
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- billing, deepseek-harness, dsh-plugin, usage-stats
Related plugins
dsh-usage-stats
Make0209/dsh-usage-stats
GitHub-style usage heatmap dashboard: per-workspace turn counts and token spend (with cache-hit rate), DeepSeek account balance, and workspace aliases.
dsh-balance-meter
Ghost011118/dsh-balance-meter
DeepSeek account balance and session cost in the composer dock, with auto-fetched official pricing and peak/off-peak support.
dsh-usage-stats
Ychris12138/dsh-usage-stats
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
dsh-usage-lens
yokesky/dsh-usage-lens
Usage statistics dashboard for the DSH Web UI: info cards, a 280-day GitHub-style activity heatmap, daily token trend, and model-usage donut chart.