Development & Runtime
dsh-usage-meter
cute-baobao/dsh-usage-meter · ★ 3
DeepSeek Harness usage stats plugin: records model-call token usage, aggregates by model × hour, and renders stacked bar charts in the Web GUI settings page.
安装
dsh plugin --profile web add github:cute-baobao/dsh-usage-meterGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
For install and environment setup, plus plugin development tutorials, see DSH community docs ↗
README
A DeepSeek Harness usage recorder: tracks token usage per model call, aggregates it by model × hour, and shows it in the Web GUI settings page as a stacked bar chart (one bar per hour, colored per model).
English · 中文

Install
pnpm dsh plugin --profile web add @dsh-usage-meter/usage
If resolution fails on the publish day, pin the version explicitly (e.g.
@dsh-usage-meter/usage@0.3.0).
Restart dsh web, then open Settings → Usage.
Uninstall
pnpm dsh plugin --profile web remove @dsh-usage-meter/usage
Data
Stored at $DSH_HOME/usage-meter/usage.jsonl, re-aggregated hourly on startup; the UI is bilingual and follows the GUI language.
License
MIT