Introduction

When running official DeepSeek sessions with DSH, there are two things you need to repeatedly check outside the session: the remaining API balance, which requires opening another platform’s usage page to check; and whether you are currently in a peak billing period—DeepSeek API uses peak and valley pricing (half price for valleys), and costs differ, so it’s best to have a clear understanding before scheduling batch tasks. These two things aren’t complicated, but leaving the session to check them every time interrupts the work at hand.

dsh-deepseek-status puts these two states directly into the session header: balance, recharge entry, and peak/valley pricing status; the three capsules are instantly visible. Below is an introduction to its functions, installation methods, and a few usage notes.

What is this

dsh-deepseek-status is a web plugin for DeepSeek Harness, maintained by M0rt1s0114, and is licensed under the MIT license. It only renders three capsules in the header of official DeepSeek sessions (provider: deepseek-official):

  1. Balance capsule
  2. Recharge capsule
  3. Peak/valley pricing status capsule

DSH’s philosophy is “everything is a plugin,” and this kind of enhancement to the session interface is a typical use case for plugins. It should be noted that the plugin’s community directory is an independent site and has no official affiliation with DeepSeek or High-Flyer; this plugin is a community plugin, not an official component.

Core Features

Balance Capsule

Requests the official DeepSeek balance interface https://api.deepseek.com/user/balance using the locally saved DEEPSEEK_API_KEY, automatically refreshing every 5 minutes by default; clicking the capsule allows for a manual refresh.

Recharge Capsule

A capsule button that opens https://platform.deepseek.com/usage in a new tab for viewing usage and recharging.

Peak/Valley Pricing Status

Real-time display of whether the current period is peak or valley pricing. The pricing rules follow Beijing Time:

  • Peak: 09:00–12:00, 14:00–18:00
  • Valley (Half Price): Other periods
  • Since 2026-08-23: Saturdays and Sundays are valley pricing all day; continuous valley pricing periods run from Friday 18:00 to Monday 09:00

The peak/valley status is calculated locally in the browser and refreshes every second, displaying the remaining time of the current billing period as HH:MM:SS.

Data and Network Behavior

The plugin has no third-party network requests; the only external request is to the DeepSeek official balance interface. It reads the DEEPSEEK_API_KEY from DSH credentials locally and only sends the key to https://api.deepseek.com/user/balance. It does not collect telemetry, does not call any third-party services, and does not upload keys.

Installation and Enablement

Install from GitHub:

dsh plugin --profile web add github:M0rt1s0114/dsh-deepseek-status

You can also install from a local directory, suitable for cloning and auditing code before installing:

dsh plugin --profile web add ./dsh-deepseek-status

After installation, restart dsh web for the changes to take effect.

Runtime requirements: Node >= 18; peer dependency react ^18.2.0; client platform is web.

Applicable Scenarios and Notes

Suitable for users who use official DeepSeek sessions via DSH and want to know the balance and billing period without leaving the session. A few notes:

  1. The plugin only displays in sessions with provider: deepseek-official; users of other providers will not see the capsules.
  2. The plugin runs with the permissions of the current dsh process and needs to read the API Key from local credentials. Please check the source code and license before installing—the author explicitly encourages auditing the plugin code before use.
  3. The balance automatically refreshes every 5 minutes by default; if the number hasn’t changed immediately after recharging, you can click the capsule to manually refresh.
  4. Peak/valley periods are calculated locally in the browser according to the rules above; if the official pricing policy changes, refer to the official DeepSeek announcements.

Conclusion

dsh-deepseek-status solves a small but frequent problem: seeing the balance without leaving the session, one-click access to the recharge page, and confirming whether it is peak or valley pricing at any time. For DeepSeek users who schedule tasks based on peak/valley pricing, the valley pricing countdown itself saves the effort of looking up a table.

Repository and listing information:

  • GitHub: https://github.com/M0rt1s0114/dsh-deepseek-status
  • Community directory listing page: https://www.skillhub.cn/plugins/M0rt1s0114/dsh-deepseek-status (This address comes from a submission lead, subject to the actual page on the site)