dsh-ui-billing
Run the following command in DeepSeek Harness:
dsh plugin install HenryHwong/dsh-ui-billing
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install HenryHwong/dsh-ui-billing in the DeepSeek Harness terminal to add the sidebar billing widget; the full source lives at https://github.com/HenryHwong/dsh-ui-billing
About this plugin
When you juggle multiple conversations in the DeepSeek Harness Web GUI, two numbers tend to stay out of sight: how much this session costs and what balance is left on the account. dsh-ui-billing pins a compact billing panel to the sidebar foot so both figures are one glance away — no page switch, no API docs.
The session-cost side folds every assistant and message usage record through the billing session projection against a built-in V4 CNY price table (including Beijing weekday peak windows). Switching conversations swaps the number instantly; paging and compaction never alter it. Models without a price entry are annotated as (+N tokens unpriced) rather than silently treated as free. The balance side reads the provider account over the /billing connection channel, auto-refreshes every 60 seconds while mounted, and offers an on-demand refresh button. When the sidebar collapses, the widget shrinks to a single ¥ glyph whose tooltip carries both lines and whose click triggers a balance refresh. The whole plugin is display-only: it produces no model-visible input, writes nothing to the session log, and emits no new RPC calls. Credentials never enter the browser bundle.
If you run multiple conversations in the Harness Web GUI daily and want token spend at a glance, or you manage a DeepSeek account balance, this plugin installs cleanly into the web profile with no source edits to the harness checkout.
Use Cases
- Glance at the current conversation's token cost while juggling multiple sessions
- Monitor the DeepSeek API account balance to avoid requests failing mid-task
- Tap the collapsed ¥ glyph in the sidebar to refresh balance without expanding the panel
Best For
- Developers who run multiple daily conversations in the Harness Web GUI
- Account managers who need real-time visibility into DeepSeek API spend and balance
- Small teams that track per-session token cost and want unpriced models explicitly flagged
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.