A peak/off-peak pricing badge for DeepSeek Harness
I wrote a small plugin for DeepSeek Harness (DSH) that adds a badge in the composer, next to the model picker. It shows whether DeepSeek’s peak or off-peak (discounted) pricing applies right now, and how long until it switches. If you hover over it, a tooltip shows the schedule in your local timezone. The repo is at github.com/dorogoff/dsh-peak-hours.
The reason is simple. DeepSeek has a discounted off-peak window, and when you run heavy jobs the price difference adds up. I used to keep the schedule in my head and do the timezone math every time. Now I just glance at the badge.
DeepSeek’s peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday, excluding Chinese public holidays; everything else — weekends, holidays in full, and all other hours — is off-peak, at half the peak rate. The badge updates every 10 seconds and flips on its own at the boundary. The plugin is browser-only: it makes no network calls and computes everything from the system clock. There is no build step either.
To install, clone the repo, cd into it and run install.cmd:
git clone https://github.com/dorogoff/dsh-peak-hours
cd dsh-peak-hours
.\install.cmd
The installer downloads nothing and doesn’t touch a package manager. It creates a junction in the DSH profile, adds one line to cordis.patch.yml, and records the dependency in the profile’s package.json. Files are backed up to .backup first. The badge usually shows up on its own; if it doesn’t, refresh the GUI with Ctrl+R.
If you use a non-default profile, run .\install.ps1 -Profile web (with your profile name instead of web). To remove the plugin, run .\uninstall.cmd.
If the window changes or you want your own, the schedule is a few constants at the top of lib/client.js. Edit them and refresh the GUI; no reinstall is needed.
Sitting on a version of this problem right now? I'd rather look at it than guess.
Email me