Max-Samson/dsh-usage-chart

A DeepSeek Harness Web plugin for real-time Token usage, cost estimates, per-round charts, and DeepSeek API ba

dsh-usage-chart is a usage, cost, and account-balance dashboard plugin for DeepSeek Harness Web: it adds charted panels showing DeepSeek API usage, accumulated cost, and current account balance directly in the DSH main UI and Settings page. Displays usage broken down by model, by session, and by time period — so you can see which sessions and models are consuming the most tokens and budget. Cost panels use official DeepSeek pricing. Account balance is fetched from the official DeepSeek API using the configured API key. Designed as a prebuilt npm plugin: no build tooling required on the host, installs with a single dsh plugin add command.

Other ★ 8 updated 2026-09-19 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add dsh-usage-chart

npm package dsh-usage-chart 1.0.1 (registry-verified 2026-08-23). Install from npm (recommended, prebuilt — no build tooling needed): dsh plugin --profile web add dsh-usage-chart. Then restart: dsh web --profile web. Requires DeepSeek Harness ≥ 0.1.0-rc.6, Node.js ≥ 20, pnpm on PATH (dsh plugin forwards installs to pnpm). If dsh: command not found: run npx @deepseek-ai/dsh globally or prefix with npx --yes @deepseek-ai/dsh. To update: dsh plugin --profile web update dsh-usage-chart (or dsh plugin --profile web add dsh-usage-chart again to reinstall to latest).

Compatibility

DeepSeek Harness web profile ≥ 0.1.0-rc.6. Node.js ≥ 20. pnpm on PATH. Prebuilt: no build tooling needed on the host. Provides usage, cost, and account balance dashboard as charted panels in the DSH main UI and Settings page.

Details

Recent updates

The current English README (README_EN.md) documents: usage/cost/balance dashboard in charted panels, model breakdown, session breakdown, npm install (prebuilt, no build tooling needed), requirements (DSH ≥ 0.1.0-rc.6, Node.js ≥ 20, pnpm on PATH), update procedure.

FAQ

Does it require a build step or additional tooling?
No — dsh-usage-chart ships prebuilt and installs with a single dsh plugin add command. Node.js ≥ 20 and pnpm on PATH are needed for the plugin install mechanism itself (pnpm is used by dsh plugin), but no separate build tooling is required.
How does it get the account balance?
It fetches the official DeepSeek account balance using the API key configured in your DSH settings. No separate API key setup is needed beyond what you already have configured for model access.
How does this differ from dsh-usage-billing?
Both track usage and cost, but dsh-usage-billing adds tiered peak/off-peak billing, historical backfill from session logs, configurable pricing rules, budget alert notifications, and CSV/JSON export. dsh-usage-chart focuses on chart visualization of usage, cost, and balance in the DSH UI.

Alternatives

940842546/dsh-usage-billing · omdsh-dev-dsh-balance-monitor · Airmetro/dsh-update-checker

More plugins in Other

Browse more in Other

Guides for Other plugins