dsh-usage-billing
Run the following command in DeepSeek Harness:
dsh plugin install 940842546/dsh-usage-billing
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, simply run the installation command in your terminal while appending the complete GitHub source repository URL https://github.com/940842546/dsh-usage-billing to complete the setup.
About this plugin
Navigating the growing costs of AI interactions can be challenging, especially when your preferred IDE extension lacks native visibility into token consumption. dsh-usage-billing addresses this blind spot by seamlessly integrating as a zero-build overlay for DeepSeek Harness. It silently monitors all local sessions, capturing every model invocation’s input, output, and cache metrics so you never have to wonder where your API quota is disappearing.
At its core, the plugin delivers intelligent, policy-aware billing paired with rich visual analytics. It automatically applies tiered pricing logic—including pre- and post-adjustment rates, peak versus off-peak discounts, and weekend idle savings—to calculate precise costs per request. A persistent indicator beside the input box shows real-time session usage, while the dedicated dashboard unlocks comprehensive heatmaps, trend charts, and threshold-based desktop notifications when budgets near critical limits. Additionally, it syncs with your official account to display live balances and estimate remaining runway, all exportable via CSV or JSON for seamless reconciliation.
Ideal for developers managing strict R&D budgets, team leads auditing cloud spend, or power users seeking peace of mind, this plugin transforms opaque AI costs into transparent, actionable data. With automatic historical backfilling, resilient local storage, and full bilingual support, it requires zero maintenance—just activate it once and gain complete control over your daily consumption.
Screenshots
Use Cases
- Exporting granular session-level API billing details for quarterly financial reconciliation.
- Setting daily spending thresholds to trigger desktop alerts and prevent unexpected overages.
- Monitoring real-time token consumption and cache savings across parallel local development windows.
Best For
- Tech leads requiring precise accounting of API spend to enforce organizational cost controls.
- Heavy users actively monitoring remaining quotas and seeking clear visibility into personal balances.
- Full-stack developers who prefer integrated, zero-config usage tracking directly inside their IDE workflow.
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.


