dsh-plugin-usage

Usage statistics: a usage and reference-cost panel for DeepSeek Harness with today, 7-day, 30-day, all-time and custom ranges aggregated by hour or day; a model filter and a per-model breakdown of requests, input and output tokens, cache, reference cost and share; a model-share card showing the top four models by total tokens with the rest grouped as others; a reference price list generated from opencode Zen and DeepSeek's published rates, with DeepSeek models billed by Beijing weekday peak/off-peak windows and Chinese public holidays; a pricing-match dialog to point an unmatched model at a reference model or type per-million rates by hand; reference cost switchable between ¥ and $ at a fixed 1 USD = 7 CNY; and a yearly heatmap drawn only with theme variables, with no third-party chart library.

Overview

Usage statistics: a usage and reference-cost panel for DeepSeek Harness with today, 7-day, 30-day, all-time and custom ranges aggregated by hour or day; a model filter and a per-model breakdown of requests, input and output tokens, cache, reference cost and share; a model-share card showing the top four models by total tokens with the rest grouped as others; a reference price list generated from opencode Zen and DeepSeek's published rates, with DeepSeek models billed by Beijing weekday peak/off-peak windows and Chinese public holidays; a pricing-match dialog to point an unmatched model at a reference model or type per-million rates by hand; reference cost switchable between ¥ and $ at a fixed 1 USD = 7 CNY; and a yearly heatmap drawn only with theme variables, with no third-party chart library.

Installation

Install from npm

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

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:bennett-dsh/dsh-plugin-usage

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.

Version compatibility

Independent install test

Install result
Installed and registered
Tested Harness version
0.2.0-rc.2
Tested plugin version
Not reported
Test date