AI Agent Hub
Back to plugins
deepseek-harness-usage preview

deepseek-harness-usage

admin-security Updated 2026.08.28

Run the following command in DeepSeek Harness:

dsh plugin install jeffy-Peng/deepseek-harness-usage

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install jeffy-Peng/deepseek-harness-usage in your terminal to install the plugin. Full source: https://github.com/jeffy-Peng/deepseek-harness-usage

About this plugin

You code all day with the DeepSeek API and two questions keep nagging: how much have I spent today, and what is left on the account? deepseek-harness-usage answers both in a single glance, right beneath the chat input. Open any existing session and the figure is there—no console switch, no spreadsheet, no mental tally. The readout auto-refreshes every three minutes, and top-ups or promotional credits are recognised so they never wipe out the days estimated spend.

Today spend is derived from the account balance delta (marked with a tilde) and can be fine-tuned against the official figure in Settings if they diverge. The total balance comes straight from DeepSeek public API, so it is authoritative. An optional, experimental platform-token channel lets the plugin try DeepSeek internal usage endpoint; if that fails it degrades gracefully without affecting core queries. Everything reuses the DSH-configured API key—no extra credential entry in the browser—and the plugin ships with zero telemetry.

This is not a per-session or per-model token dashboard. It exists to answer one practical question: how much DeepSeek quota did I use today, and how much is left? If you want a glanceable, real-time usage line without breaking flow, this lightweight plugin is exactly for that.

Screenshots

Use Cases

  • Glancing at today spend while coding
  • Checking remaining balance before the day ends
  • Tracking overall usage across multiple clients sharing one API key

Best For

  • Developers who code daily with the DeepSeek API
  • Independent devs who need to control API spend
  • DSH users who prefer a glance over opening a console