dsh-peak-alert
Run the following command in DeepSeek Harness:
dsh plugin install zbxzbx98/dsh-peak-alert
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install zbxzbx98/dsh-peak-alert in a DeepSeek Harness terminal to install the plugin; the source repository is https://github.com/zbxzbx98/dsh-peak-alert
About this plugin
DeepSeek bills its API at a peak-and-off-peak rate: weekdays 09:00 12:00 and 14:00 18:00 are peak hours where the price doubles, all other weekday hours are off-peak, and weekends are charged at the off-peak rate around the clock. If you make frequent DeepSeek calls and happen to schedule a heavy batch during a peak window, your cost quietly doubles, yet most client interfaces give you no visual cue about which period you are in. dsh-peak-alert exists to close that information gap the moment you open the DSH Web composer, so you can shift time-consuming workloads into cheaper windows.
The plugin offers three alert intensity levels (Off, Low, Medium) that persist in the browser localStorage across sessions and restarts. At the Medium level, the entire composer card tints a soft red with a matching border during peak hours, and a colored status chip appears in the dock below the input field indicating whether you are in a peak (price x2) or off-peak (price x1) window, along with the current Beijing time and the next scheduled switch, refreshed every ten seconds. The plugin also auto-detects whether the model dropdown has a DeepSeek-series model selected; non-DeepSeek models trigger no peak indicators or card coloring at all, preventing confusion.
All calculations run entirely in the browser via Intl.DateTimeFormat for Beijing-time handling. No API key is required, no network requests are made, and there is zero backend dependency. It is designed for individual developers and teams who regularly call DeepSeek models through the DSH Web client and want to align their work rhythm with the pricing schedule to keep API spend predictable.
Use Cases
- Check the pricing window before a batch run on a weekday to decide whether to defer the task
- Confirm whether the newly selected model still falls under DeepSeek peak-tier pricing
- Schedule a weekend bulk API run and verify the flat off-peak rate applies all day
Best For
- Solo developers who call the DeepSeek API frequently
- Small teams that need to keep API spend predictable
- Day-to-day DSH Web users of DeepSeek models
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.