deepseek-balance-floating
Run the following command in DeepSeek Harness:
dsh plugin install yhPrime/deepseek-balance-floating
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install yhPrime/deepseek-balance-floating in DeepSeek Harness to install the plugin, with source code available at https://github.com/yhPrime/deepseek-balance-floating, and a restart or refresh is needed after installation.
About this plugin
Checking your balance after every batch of API calls means context-switching to a settings page and doing mental math. deepseek-balance-floating tucks a persistent mini-dashboard into the bottom-left corner of the DeepSeek Harness sidebar: a red bar for account balance, a blue ring for estimated remaining tokens at a blended unit price, and a horizontal strip for the daily consumption. Hover over any element to reveal the full breakdown, including total, gifted, and topped-up credits plus input, output, and cache line items with call counts.
The widget performs no network I/O and keeps no ledger of its own. All data flows through the same Typert RPC channel that dsh-cost-meter exposes, polling every 60 seconds and inheriting the active theme semantic color variables so it looks right in light, dark, or system-follow modes. The daily label uses mix-blend-mode difference for pixel-level contrast against any background. When the sidebar collapses into rail mode the entire panel hides itself to stay out of the way.
Who will appreciate it: solo developers and small teams who run DeepSeek models through Harness and want a glanceable answer to how many calls are left without leaving the chat window. If you already rely on dsh-cost-meter for cost tracking but find the numbers buried in a secondary page, this plugin surfaces the key metrics right where your eyes rest. No extra setup, no new pages, no configuration UI to fuss with.
Screenshots
Use Cases
- Glance at the red bar to confirm remaining balance after a burst of API calls.
- Hover the ring to see itemized input, output, and cache usage with call counts.
- Switch between light and dark themes and watch the panel colors adapt automatically.
Best For
- Developers and teams running DeepSeek models through Harness who want real-time balance visibility.
- Users already on dsh-cost-meter who want key metrics surfaced in the sidebar without extra pages.
- UI-sensitive users who expect floating widgets to respect the active theme and collapse gracefully in rail mode.
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.