Development & Runtime

dsh-usage-meter

cute-baobao/dsh-usage-meter · ★ 3

cute-baobao

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.

License
MIT
Added
2026-08-23
Maintenance
active
Install kind
github
npm
@dsh-usage-meter/usage

No manifest check is available; listing does not imply compatibility or security review.

安装

dsh plugin --profile web add github:cute-baobao/dsh-usage-meter

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. Install
  2. Uninstall
  3. Data
  4. License

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 · 中文

Usage dashboard

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