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价格、选择省钱时段的用户。

패키지
dsh-offpeak
호환성
미검증
Harness peer 범위
*
Cordis peer 범위
^4.0.1
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 24.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlexShang1992/dsh-offpeak

Configuration

The offpeak settings namespace is registered with applies: 'live': every field takes effect the moment you change it, with no restart.

The Off-peak settings section

SettingDefaultMeaning
enabledtrueShow the pill
currencyUSDDisplay currency (USD or CNY, converted with cnyPerUsd)
cnyPerUsd7.1USD → CNY factor, used for display only
inputPricePerM0.28Base input (cache-miss) price, USD per 1M tokens
cacheHitPricePerM0.028Base cache-hit price, USD per 1M tokens
outputPricePerM0.42Base output price, USD per 1M tokens
peakMultiplier2Price factor during peak hours (1–100)
displayUtcOffsetMinutes480Offset 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.