AlexShang1992/dsh-offpeak ↗★ 1
dsh-offpeak
A live peak/off-peak pricing readout for the DeepSeek Harness Web GUI: one status pill under the composer, with the effective prices on hover. · DeepSeek Harness 错峰计价浮标 适合需要实时关注DeepSeek首尾Token价格、选择省钱时段的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlexShang1992/dsh-offpeakREADME
Read the full README ↗Configuration
The offpeak settings namespace is registered with applies: 'live': every field takes effect the moment you change it, with no restart.

| Setting | Default | Meaning |
|---|---|---|
enabled | true | Show the pill |
currency | USD | Display currency (USD or CNY, converted with cnyPerUsd) |
cnyPerUsd | 7.1 | USD → CNY factor, used for display only |
inputPricePerM | 0.28 | Base input (cache-miss) price, USD per 1M tokens |
cacheHitPricePerM | 0.028 | Base cache-hit price, USD per 1M tokens |
outputPricePerM | 0.42 | Base output price, USD per 1M tokens |
peakMultiplier | 2 | Price factor during peak hours (1–100) |
displayUtcOffsetMinutes | 480 | Offset used to display the switch time; the window itself is UTC |
The defaults follow DeepSeek's published prices at the time of writing. Keep them current.