DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-peak-indicator

o

dsh-peak-indicator

Manifest valid★ 1

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

UI (client)hasBundlePatch

dsh-peak-indicator (DeepSeek Peak / Off-Peak Time Indicator)

English | 中文 (Chinese)

DeepSeek Peak / Off-Peak Time Indicator for DSH Web GUI: Real-time pricing window status chip, live countdown, multi-timezone auto-conversion, 24-hour visual schedule timeline, and official DeepSeek API pricing reference table (V4.1 pricing rules).


📖 Overview

Following DeepSeek API's dynamic pricing policy effective September 10, 2026 12:00 (Beijing Time / UTC+8) and official clarification on September 19, 2026:

  • Peak Hours: Monday to Friday (excluding Chinese statutory holidays) 09:00~12:00 and 14:00~18:00 (Beijing Time / UTC+8), billed at standard official rates.
  • Off-Peak Hours (50% Half-Price Discount): All remaining weekday hours, all Saturdays and Sundays, all Chinese public holidays, and weekend make-up workdays enjoy 50% discount across cache-hit input, cache-miss input, and output tokens.
  • Core Model Support: Full coverage of DeepSeek-V4.1-Flash and DeepSeek-V4-Pro flagship models (independently billed with peak/off-peak discounts).

dsh-peak-indicator integrates seamlessly into the DeepSeek Harness (DSH) Web GUI to give developers and teams instantaneous awareness of current pricing windows, countdowns to the next schedule switch, and transparent cost references.


📸 Visual Previews

1. Header Actions Chip & Floating Capsule Styles

Header Actions & Floating Capsule Preview

2. 24-Hour Timeline & Official Pricing Details Modal (with Live Countdown & Quick Settings)

Details Modal Preview


🌟 Key Features

  1. Concise & Non-Intrusive Typography:

    • English labels: Peak Rate & Off-Peak.
    • Chinese labels: 高峰价 & 平峰.
    • Balanced compact width that aligns gracefully with session titles, model selectors, and token quota chips.
  2. Native Session Header Docking (Zero Overlay Conflict):

    • Registers via conversation.session.header.actions slot at order 35 (immediately adjacent to the quota chip, safely positioned to the left of the Session Log export button).
    • Participates in standard flexbox flow layout with zero element overlap.
    • Optional global floating pill mode (top-right, top-left, top-center).
  3. Accurate DeepSeek Official Schedule Rules (V4.1 & Sep 19 Holiday Update):

    • Peak Windows: Monday to Friday (excluding Chinese statutory holidays) 09:00~12:00 & 14:00~18:00 (Beijing Time / UTC+8).
    • Off-Peak Windows: Remaining weekday hours, all day Saturday/Sunday, Chinese statutory holidays, and weekend make-up workdays (50% discount).
    • Dual Model Coverage: Displays pricing tiers for both DeepSeek-V4.1-Flash (V4.1 F) and DeepSeek-V4-Pro (independently billed).
  4. Multi-Timezone Auto-Detection & Dual Clocks:

    • Automatically detects user browser local timezone and UTC offset.
    • Concurrently displays Local Time and Beijing Time (UTC+8), automatically converting schedule switches to the user's local wall clock.
  5. Live Per-Second Countdown & Compact Header Mode:

    • Header default compact mode displays the status icon and live per-second countdown.
    • Live ticker displaying the remaining duration until the next schedule transition (e.g., To Peak in 02:28:15 / To Off-Peak in 01:14:02).
  6. Interactive 24-Hour Visual Schedule Timeline:

    • Click the indicator chip to open a details modal.
    • View a full 24-hour visual bar with color-coded segments (🟢 Green for Off-Peak, 🟠 Orange for Peak) and a real-time cursor showing current progress through the day.
    • Hover over segments or the cursor pin for precise time ranges.
  7. Native DSH Internationalization (i18n):

    • Registers dictionary via ctx.locale (dsh-peak-indicator).
    • Automatically follows DSH system language preferences with live hot-switching support.
  8. Sidebar Footer Quick-Access Action:

    • Mounts a status dot at the right edge of the sidebar footer (sidebar.footer.action, order 1000) without disturbing existing action buttons.

📊 DeepSeek Official API Pricing Reference (V4.1)

ModelBase Input (Miss)
(Off-Peak / Peak)
Cache Hit Input
(Off-Peak / Peak)
Model Output
(Off-Peak / Peak)
DeepSeek-V4.1-Flash (V4.1 F)¥1.00 / ¥2.00¥0.02 / ¥0.04¥4.00 / ¥8.00
DeepSeek-V4-Pro¥4.50 / ¥9.00¥0.15 / ¥0.30¥13.50 / ¥27.00

Notes:

  1. DeepSeek-V4-Pro is billed independently (no longer auto-routed to Flash); both models support peak/off-peak rates.
  2. Prices in CNY (¥) per 1 Million Tokens.

🚀 Installation & Profile Configuration

1. In ~/.dsh/profiles/web/package.json

Add the dependency:

{
  "dependencies": {
    "dsh-peak-indicator": "link:/path/to/dsh-peak-indicator"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-peak-indicator"
      ]
    }
  }
}

2. Auto-Mounting via cordis.patch.yml

The plugin provides its own bundle patch declaration, which is automatically merged into the profile roster upon launch.


📄 License

MIT License.

Compatibility

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

Versions

Latest versionPublishedSize
0.1.9——
0.1.10——
0.1.11——
0.1.12——
0.1.13——
0.1.14——
0.1.15——
0.1.16——
0.1.17——
0.1.18——
0.1.19——
0.1.20——
0.1.21——
0.1.22——
0.1.23——
0.1.24——
0.1.25——
0.1.26——
0.1.27——

Comments

Loading…

Similar plugins

dsh-peak-clock

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

by geokkjer

DeepSeek API peak/off-peak pricing indicator: a live composer pill (red during peak, green off-peak) with a countdown to the next switch, plus a dsh_peak_status tool the agent can call to warn about cost.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-peak

by wenxiuncle

DSH 插件:DeepSeek API 峰谷时段角标,显示当前高峰/低谷与倒计时 适配Deepseek Harness 桌面版 | Peak/off-peak badge for DeepSeek Harness

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-offpeak-alert

by tuoLuoSuan

Peak / off-peak billing badge for the DeepSeek API - click to see which rate you are on right now. A DSH plugin.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 7, 2026

dsh plugin --profile web add @tuoluosuan/dsh-peak-badge

by zi7tian

DeepSeek Harness (dsh) web plugin: shows whether DeepSeek API pricing is peak or off-peak, plus a countdown to the next switch, below the composer.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add dsh-deepseek-billing-period

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