mj5809/dsh-peak-badge

mj5809★ 0JavaScriptLast synced: 2026-08-17

Open on GitHub

README excerpt

dsh-peak-badge A floating DeepSeek peak/off-peak pricing badge for the DeepSeek Harness (DSH) web GUI. It tells you at a glance whether DeepSeek tokens are currently billed at peak or off-peak rates — based on Beijing time , with zero configuration. 🟢 Off-peak hours — light green pill: 「优惠时段 · 半价」 (off-peak, half price) 🟠 Peak hours (09:00–12:00, 14:00–18:00 Beijing time) — light orange pill: 「高峰时段 · 单价×2」 (peak, 2× price) Why DeepSeek introduced peak/off-peak pricing (峰谷计费) on 2026-08-17: during the peak windows 09:00–12:00 and 14:00–18:00 (Beijing time), token prices are 2× the off-peak rate. This badge keeps that status visible at all times so you can decide whether to keep chatting or defer the expensive work. Features - Always current — refreshes every 30 s using Intl.DateTimeFormat('Asia/Shanghai') (no manual timezone setup). - Draggable — move it anywhere; the position is remembered in localStorage and clamped to the viewport. - Click for details — a card shows the current Beijing time, the peak/off-peak windows, and reference prices for DeepSeek V4-Flash / V4-Pro. - Zero host risk — pure browser plugin; the host half is a no-op. - Complements the text-rule reminder in AGE…

View full README on GitHub →
Tools / Devdsh-plugin

Category