AI Agent Hub
Back to plugins
🖥️

dsh-api-usage

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install chenzhexii/dsh-api-usage

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

To install this plugin in DeepSeek Harness, please run dsh plugin install chenzhexii/dsh-api-usage and visit the source code repository https://github.com/chenzhexii/dsh-api-usage.

About this plugin

One of the biggest pain points when using the DeepSeek API is not knowing exactly how much you've spent or being unable to access the recharge page due to sidebar link blocking. Many developers rely on imprecise estimates or manually check the console, which is a fragmented experience. The dsh-api-usage plugin is designed to solve this problem. It adds a persistent widget at the bottom of the DSH Web sidebar, utilizing a precise "balance difference billing" algorithm to calculate real consumption every 60 seconds. Beyond showing the total balance, it tracks today's token usage and request counts, along with a clear 24-hour consumption bar chart for instant visibility into your spending. This plugin is ideal for all DSH users relying on the DeepSeek API, especially developers who are sensitive to cost control and need frequent access to recharge status. It works out of the box with no extra configuration, significantly improving your management efficiency.

Use Cases

  • Need to monitor DeepSeek API consumption costs in real-time to avoid overcharging.
  • Developers need to quickly check balance and daily usage in the DSH interface for cost control.
  • Periodically check API consumption and generate visual charts to analyze 24-hour spending trends.

Best For

  • Developers and administrators responsible for project cost budgeting.
  • Users who frequently call the DeepSeek API for testing and development.
  • Technical staff needing precise billing data to optimize resource allocation.