token-usage-counter

Persistent provider-reported token usage totals with per-session, per-model, and daily activity statistics.

Overview

Persistent provider-reported token usage totals with per-session, per-model, and daily activity statistics.

Installation

Install from npm

dsh plugin --profile web add dsh-token-usage-counter

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:Mu-scorpio/token-usage-counter

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
Test date