dsh-usage
Run the following command in DeepSeek Harness:
dsh plugin install Aisland-SJL/dsh-usage
Paste the following prompt into your AI chat to install this plugin:
Install this plugin in DeepSeek Harness by running `dsh plugin install Aisland-SJL/dsh-usage`, with the source available at https://github.com/Aisland-SJL/dsh-usage.
About this plugin
When working in the DeepSeek Harness Web GUI, key metrics like balance, token consumption, and cache hit rates are often buried in menus and hard to track continuously. dsh-usage solves this with a persistent floating dock that keeps balance, today/month usage, and cache hit stats visible at all times. The balance glows green when healthy and turns red only when out of credit, and the dock collapses into a compact balance pill when the sidebar folds.
Clicking the gear opens a two-column card-style detail panel with seven customizable widgets: balance details, today's usage, monthly usage, cache hit, DSH vs Claude Code channel share, a 14-day usage log, and a GitHub-style activity heatmap covering 28 days across six four-hour bands. Each widget can be pinned, collapsed, hidden, and drag-reordered, while accent color, background, and opacity are adjustable live.
The plugin aggregates data through secure loopback-only endpoints and refreshes in the background every five minutes. It supports balance providers such as DeepSeek, OpenRouter, Moonshot/Kimi, and Z.ai/GLM. Credentials are resolved server-side, no secrets appear in browser responses, and Claude Code logs are reduced to aggregate numbers only, so raw message text never leaves the machine.
If you need to monitor API costs continuously, analyze token usage patterns, or compare consumption across different channels within DeepSeek Harness, dsh-usage is a lightweight and secure client-side companion.
Screenshots
Use Cases
- Monitor API balance and token usage in real time within DeepSeek Harness
- Analyze daily token usage patterns and cache hit rates
- Compare usage shares between DSH and Claude Code channels
Best For
- Developers who need continuous API cost monitoring
- Teams building AI applications with DeepSeek Harness
- Users tracking usage allocation across models or channels
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.

