dsh-cost-meter
Run the following command in DeepSeek Harness:
dsh plugin install AnakinCao/dsh-cost-meter
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install AnakinCao/dsh-cost-meter in your DeepSeek Harness to install the cost meter and balance monitor plugin from https://github.com/AnakinCao/dsh-cost-meter.
About this plugin
Running DeepSeek sessions without knowing what each one costs, how much balance remains, or whether you are in peak or off-peak hours turns API budgeting into guesswork. dsh-cost-meter condenses all of that into a single live line in the DSH status bar: the active model unit price (peak/off-peak auto-switch, weekends billed at valley rate all day), today's running total, and account balance with a red-alert threshold. Hovering opens a per-session cost breakdown alongside a Flash/Pro price table, all sourced in real time from the official DeepSeek pricing page so official price changes are picked up without code edits. Under the hood it scans local session logs, auto-merges subagent sessions into their root, and globally deduplicates usage samples by fingerprint so the estimate tracks the platform deduction record instead of inflating several-fold. Balance is polled every 60 seconds and the status row turns red below a configurable CNY threshold. Built for individual developers and small teams who hit the DeepSeek API daily and want at-a-glance cost visibility, this plugin makes zero model-inference calls and consumes no extra tokens.
Use Cases
- Check account balance at a glance before firing off API calls
- Compare token consumption across sessions and projects to refine prompt structure
- Confirm off-peak (valley) billing applies during long weekend batch runs
Best For
- Solo developers who call the DeepSeek API at high frequency
- Tech leads of small teams that need real-time API budget control
- Users who want per-session cost visibility without digging into backend invoices
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.