Introduction¶
DeepSeek API is priced based on two windows: peak/off-peak, but the DeepSeek Harness Web GUI does not directly display the current window, current multiplier, and effective price in the input area.
dsh-offpeak is a DSH plugin that adds a status capsule below the composer in the DeepSeek Harness Web GUI. It only displays the current pricing window, price multiplier, and time until the next switch, and shows the effective price for the current window on hover or keyboard focus.
Below are its capabilities, installation methods, and usage notes.
What is it¶
dsh-offpeak is a client-side plugin maintained by AlexShang1992, suitable only for the DeepSeek Harness Web profile.
It solves one problem: directly viewing the current peak/off-peak pricing window in the Web GUI, and the effective prices for input, cache-hit, and output tokens per 1M under the current window.
The plugin does not register tools, commands, contribute model requests, store files, or make network calls.
Core Features¶
The capabilities of dsh-offpeak are focused on the status capsule and settings items in the Web GUI.
- Display a status capsule below the composer in the DeepSeek Harness Web GUI.
- Display the current peak/off-peak window, price multiplier, and time until the next switch.
- On hover or keyboard focus, display the effective prices for input, cache-hit, and output tokens per 1M under the current window.
- Display the start time of the next window, and use
displayUtcOffsetMinutesfrom settings for the display time zone offset. - Register the
offpeaksettings namespace and setapplies: 'live', taking effect without a restart after modification. - Support USD or CNY for currency display, and support
cnyPerUsdfor the display exchange rate.
The plugin itself is only responsible for displaying and reading settings, does not scrape the official pricing page on behalf of the user, and does not read billing data.
Installation and Activation¶
First, confirm the environment: a DeepSeek Harness Web profile is required, and the Node.js version must meet Node.js ≥ 22.19.
Use a release tarball for installation; do not install the github: reference directly, as installing the github: reference directly does not work.
Execute the following command to install:
dsh plugin --profile web add https://github.com/AlexShang1992/dsh-offpeak/releases/latest/download/dsh-offpeak.tgz
This command downloads the .tgz package from a GitHub release and installs it to the Web profile.
If you need to pin a version, you can replace latest with a tag. For example, to install v0.1.0:
dsh plugin --profile web add https://github.com/AlexShang1992/dsh-offpeak/releases/download/v0.1.0/dsh-offpeak.tgz
Restart the Web profile after installation:
dsh --profile web
After entering the session, a status capsule will appear below the composer.
Typical Usage¶
After installation, first observe, then configure.
In the session, hover the mouse over the status capsule or focus the capsule with the keyboard to see:
- The effective prices for input, cache-hit, and output tokens per 1M under the current window.
- The start time of the next window.
- The price multiplier information corresponding to the current window.
If you need to adjust the displayed content, enter:
Settings → Off-peak
Here you can adjust settings such as price, currency, and multiplier.
The plugin supports USD or CNY for currency display, and supports cnyPerUsd for the display exchange rate. The display time zone offset is controlled by displayUtcOffsetMinutes.
The settings belong to the offpeak namespace and have applies: 'live', so they take effect without a restart after modification.
Applicable Scenarios and Notes¶
This plugin is suitable for developers using the DeepSeek Harness Web GUI, especially in scenarios where it is necessary to quickly confirm the current pricing window and effective price before inputting.
Pay attention to the following points before use:
- The plugin is only suitable for the DeepSeek Harness Web profile.
- The plugin runs with the permissions of the current DSH environment; check the source code and license before installing.
- The license is MIT.
- Prices are filled in by the user; the plugin does not read the official pricing page or billing data.
- Peak/off-peak window boundaries are fixed in the code; only the multiplier and price are configurable.
- The countdown is based on the browser clock; browser clock errors will lead to incorrect window display.
- Installing the
github:reference directly does not work; a release tarball must be used. - The plugin does not register tools, commands, contribute model requests, store files, or make network calls.
The community directory is an independent site with no official affiliation with DeepSeek / Hyperbolic; it should not be interpreted as an official app store.
Links¶
GitHub Project Address:
https://github.com/AlexShang1992/dsh-offpeak
The project name AlexShang1992/dsh-offpeak can be searched in the community directory.