dsh-usage-stats
Ychris12138
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
Installed cleanly when we ran it
Han-1413141/dsh-cost-meter
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
Install
via GitHub · GitHub source
Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.
What happened when we ran it
Installed cleanly when we ran it
Every command here is run in a throwaway container against a clean profile, and the result is whatever the harness recorded — not a guess from the source. Last run yesterday.
Due diligence
What it is — The dsh-cost-meter plugin integrates session cost tracking, budget monitoring, official balance display, and history dashboard into DeepSeek Harness.
Who it is for — When building multi-turn dialogue agents using DeepSeek models in DeepSeek Harness and needing to track token usage and budgets, this plugin fits. If working with other AI platforms without DeepSeek Harness integration, this plugin provides no relevant statistics.
Watch out — Sandbox testing passed: successfully installed in a new profile and registered with DSH. No obvious issues found.
The verdict — I would not install it because it only tracks API costs without affecting model behavior or outputs.
Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.

dsh-cost-meter is a DeepSeek Harness plugin that records API usage and turns it into per-session, daily and historical cost views. It shows input, cached and output token counts, calculates charges by provider and model, and can display budgets, usage percentages, official account balance, OpenCode Go allowance and supported coding-plan quotas.
The plugin reads session usage and model/provider information from the harness, then applies its configurable price table. Prices can have separate peak and off-peak rates; the documented UTC peak windows are 01:00–04:00 and 06:00–10:00. It keeps daily and session history, saves configuration automatically, and exposes controls in the DSH settings page. Official balance, plan quotas and price synchronisation use the relevant official endpoints. OpenCode Go credentials can come from the DSH credential store key OPENCODE_GO_API_KEY, the environment variable of the same name, an opencode login state, or manual entry. The settings also expose the gates peakNotice, peakEnabled, peakEffectiveAt and peakWindows.
This is for developers who need cost attribution, budget warnings or usage history inside the DSH web interface. It is not a useful addition when only raw token counts are required, or when the DSH web profile and its supported provider credentials are unavailable. It also depends on Node.js 20 or newer and a DSH version with dsh plugin support. The plugin has no detected risk flags, but balance, quota and price features send credentials or requests to official provider endpoints.
dsh-cost-meter presents cost information in the session view, sidebar and settings page. A session badge can appear below the input area or in the session title bar. The sidebar can show today’s cost, official balance and a budget card. The settings page includes today, monthly and cumulative totals, per-session details, daily history, a 26-week token heatmap and a configurable history-retention period. The documented default is 180 days.
Billing is separated by provider and model and can include input, output, cached and reasoning tokens. Unknown model IDs can be normalised and matched against the price table; this matching can be disabled in favour of exact matching. Prices are expressed in USD per 1M tokens, with input/output shorthand supported.
Settings are edited in the DSH interface and are saved automatically. Documented controls include:
01:00–04:00 and 06:00–10:00;peakNotice, peakEnabled, peakEffectiveAt and peakWindows;The default OpenCode Go primary view is the rolling 5-hour allowance. The built-in reference catalogue can be mounted into billing, then edited.
OpenCode Go can discover OPENCODE_GO_API_KEY from the DSH credential store, the environment, or an opencode login state. A key may also be entered manually. Coding-plan integrations have separate switches and keys; the README states that credentials are sent only to official endpoints. Official price synchronisation fetches and parses the provider’s pricing page before applying the result.
The README requires Node.js ≥ 20 and DeepSeek Harness with the dsh plugin command. After installation or an update, restart the web interface with dsh web so the plugin and client bundle are rescanned.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub
Same category
Ychris12138
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
Installed cleanly when we ran it
wssfk12138
DeepSeek Harness token balance monitor with game-style damage pulse animations
Installed cleanly when we ran it
zh667
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.
Installed cleanly when we ran it
feibi-mochi
Multi-provider wallet chip: official DeepSeek balance, per-session cost & tokens, third-party token totals, recharge shortcut, low-balance alerts.
Installed cleanly when we ran it
feiyang-dev
DeepSeek Harness 用量与消耗插件(dsh-usage-plugin)—— 每次调用的 token 用量/缓存命中统计、峰谷计费、余额查询、CSV/JSON/PNG 导出,可经桌面端一键安装或命令行 dsh plugin add 安装。
Installed cleanly when we ran it
Aisland-SJL
🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-channel comparison, local-only & privacy-first
Installed cleanly when we ran it