DeepSeek Peak Hours Indicator

August 17, 2026 · View on GitHub

npm License: MIT

DeepSeek Harness client plugin that shows whether DeepSeek API pricing is in Peak Hours or Off-Peak — persistently in the sidebar foot, in your local timezone, with a live countdown.

DeepSeek's peak/off-peak (峰谷) pricing doubles the API rate during two Beijing-time windows each day. This plugin mounts a small status card just above Settings in the DeepSeek Harness Web GUI, so you always know whether now is the cheap time to use DeepSeek — and exactly how long the current window has left.

Features

  • Status badge — green Off-Peak (½ price) or amber Peak Hours (2× price)
  • Live countdown — "ends in 2h 15m" during peak; "next Peak in 3h 40m" during off-peak
  • Your timezone — the clock line uses the viewer's device timezone (e.g. Your time 17:42 GMT+10); Beijing time stays in the hover tooltip because DeepSeek defines the windows in UTC+8
  • Both sidebar states — full card when wide, compact dot + countdown in the 56px rail
  • Refreshes every 30 seconds — no reload needed

How it works

Pure client-side time math — no API calls, no keys, no backend. The bundle derives the current Beijing wall-clock time from Date.now() + 8h, checks it against PEAK_WINDOWS, and re-renders on a 30s interval. The host half is a no-op (apply() {}) that keeps the row activatable in the profile composition.

Files

dsh-client-ui-deepseek-peak/
├── lib/
│   ├── client.js   # browser bundle: sidebar card + countdown logic
│   └── index.js    # host half (no-op, activates the row)
├── package.json    # npm package + dsh.client contract
├── README.md
└── LICENSE

Install

Published on npm:

dsh plugin --profile web add dsh-client-ui-deepseek-peak

Then register the row in $DSH_HOME/profiles/web/cordis.patch.yml:

- insert:
    - id: ui-deepseek-peak
      name: dsh-client-ui-deepseek-peak

Restart dsh web and refresh the page. Every session on that deployment shows the indicator.

Peak-hour schedule

Effective 2026-08-17 (Beijing time):

Period (Beijing)Price
09:00 – 12:00Peak (2×)
14:00 – 18:00Peak (2×)
everything elseOff-Peak (½)

The windows live in the PEAK_WINDOWS constant at the top of lib/client.js — edit it if DeepSeek changes the schedule.

Uninstall

dsh plugin --profile web remove dsh-client-ui-deepseek-peak

Remove the ui-deepseek-peak row from cordis.patch.yml, restart, done.

License

This project is licensed under the MIT License.

Author

Neo Malesan30dyn4m1c