DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-peak-status

x

dsh-peak-status

Manifest valid★ 1

Header chip for the DSH web GUI that shows whether the current Beijing time is inside DeepSeek's API peak window, with a live clock and countdown to the next transition.

UI (client)hasBundlePatch

dsh-peak-status

English | 中文

peak indicator preview

A peak-hour indicator for the DeepSeek Harness web GUI. A small native chip in the session header shows whether the current Beijing time is inside DeepSeek's API peak window, with a live clock, a countdown to the next transition, and a pricing hint.

Peak windows

DeepSeek's official peak/valley API pricing (effective 2026-08-17, weekends adjusted 2026-08-23):

StateWhen (Beijing time)Price
🔴 Peakweekdays 09:00–12:00 and 14:00–18:00peak price (= off-peak ×2)
🟢 Off-peakeverything else — including all of Saturday & Sundayhalf of peak

Weekends (Saturday and Sunday) are charged at the valley price all day — no peak windows on weekends.

Per DeepSeek's peak/valley note, the only days that can peak are ordinary Monday–Friday working days:

DayState (Beijing time)
法定节假日 (statutory holiday)valley for the whole day, exactly like a weekend
调休上班的周末 (a weekend worked)valley for the whole day too — 调休 does not change billing

So the chip shows 🟢 国庆节 instead of a red peak on 1 October, and 🟢 调休上班 · 谷价 on a 调休 Saturday.

What you get

  • A colored status dot — red = peak, green = off-peak — plus the live Beijing clock (HH:MM:SS, timezone Asia/Shanghai, independent of your machine's timezone)
  • A countdown: 剩 3h 54m · 价格 ×2 during peak / 距高峰 3h 54m · 半价 off-peak
  • Holiday awareness: on a 法定节假日 the chip names the festival (e.g. 国庆节) and counts down to the first peak window after the break; on a 调休上班的周末 it shows all-day valley and tags the day
  • Click the chip to expand a detail card: peak windows, the next transition with a HH:MM:SS countdown, and a progress bar of the current phase
  • Fully themed with the web UI's native --dsw-alias-* variables — it blends into the interface instead of floating over it
  • Mounted persistently: it survives dsh web restarts

Install

dsh plugin --profile web add dsh-peak-status

Prefer installing straight from GitHub:

dsh plugin --profile web add github:xiaoyi-xx/dsh-peak-status

Then restart dsh web (or refresh the page). The chip appears at the top-right of the conversation header.

Usage

The chip updates every second. Click it to expand/collapse the detail card; hover for a quick tooltip. Peak/off-peak state follows the official schedule above, computed in Beijing time over the official work calendar.

If DeepSeek ever changes the peak schedule, a new release will ship with the updated windows — open an issue on this repository if you notice a mismatch.

Holiday calendar

The calendar (法定节假日 + 调休 makeup days) is fetched over the network, with three layers of fallback:

  1. Host route — the plugin's host half serves a same-origin route /dsh-peak-status/holiday/<year>. It tries jiejiariapi first and apihubs second, normalizes both shapes and caches the result in memory for 6 hours, so every browser tab shares one fetch.
  2. Browser fallback — if that route is unavailable, the browser half calls api.apihubs.cn directly (it is CORS-enabled).
  3. Plain weekend rule — with no calendar at all the chip behaves exactly like 1.0.3: weekday windows plus weekend valley.

Normalized days are cached in localStorage for 24 hours, so a restart or a spell offline still renders the right state, and the detail card always reports the source (已同步 · jiejiariapi / 未同步 · 暂按周末规则).

Pricing follows DeepSeek's 峰谷时间说明: 调休上班的周末 and 中国法定节假日 are billed at the off-peak rate for the whole day. The calendar supplies exactly those two labels — a 调休 day never gains a peak window.

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.1-rc.1: failedDSH 0.2.1-alpha.1: failed

Versions

Latest versionPublishedSize
1.0.0——
1.0.1——
1.0.2——
1.0.3——
1.0.4——
1.0.5——

Comments

Loading…

Similar plugins

dsh-peak-indicator

by overact

DeepSeek Peak / Off-Peak Time Indicator for DSH Web GUI (live status, timezone auto-detection, countdown, SVG icons, discount schedule)

Manifest valid

★ 1

↓ 519/wk

NOASSERTION

JavaScript

Sep 10, 2026

dsh plugin --profile web add dsh-peak-indicator

by AK-blank

Unofficial DSH (DeepSeek Harness) Web GUI plugin: shows whether the DeepSeek API is billing at the off-peak or peak rate right now — bilingual 空闲/高峰 · Idle/Peak, Chinese holiday calendar built in.

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-plugin-offpeak-badge

by 1134478268-dev

DeepSeek Harness 峰谷时段 + 用量/费用指示器(随时区自适应、中英双语)· Peak/off-peak timing with token usage and spend tracking for the DSH Web UI.

Development & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-peak-clock

✦

No screenshots

by mozhuanzuojing

DeepSeek API pricing reminder with a game HUD: Beijing-time countdowns to peak/off-peak windows, a draggable HP capsule with day/moonlight themes, and a nine-realm cultivation system with breakthrough

Tools & CapabilitiesThemes & SkinsManifest valid

★ 3

MIT

JavaScript

Sep 4, 2026

dsh plugin --profile web add dsh-liangwengu

by VviLliAm-qwq

Peak/off-peak billing clock with live DeepSeek balance and per-turn cost above the dsh-tui prompt, plus an optional flashing peak-hour warning frame.

Development & InfrastructureManifest valid

★ 3

↓ 72/wk

MIT

JavaScript

Sep 16, 2026

dsh plugin --profile web add dsh-peak-balance

DeepSeek Harness usage analytics dock on the composer: Beijing-time peak/valley pricing with all-day weekend valley rate, live balance, cross-session history, by-date drill-down and charts.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

dsh plugin --profile web add @deepseek-ai/dsh-client-ui-usage