- Home
- Plugins
- Usage & Billing
- dsh-model-price
H
dsh-model-price
hao0311/dsh-model-price
Passive peak / off-peak price note for the model: one short system-prompt section states whether the DeepSeek API is in peak (2x) or off-peak (half-price) hours and when it switches, with no timer and no interruption.
Install
dsh plugin --profile web add github:hao0311/dsh-model-priceREADME
dsh-model-price — 峰谷时间杆(模型侧)
给模型一根"时间杆":它自己知道当前 DeepSeek API 是高峰价还是谷价,因此可以把 无关紧要的任务挪到谷价时段。按用户要求做成被动提示——不打断正在进行的任务、不反复 确认、不起定时器。
做了什么
注册一条很短的 system prompt section(pricing:deepseek-peak-valley,order 9500,靠后放置):
- 计费规则:工作日北京时间 09:00–12:00、14:00–18:00 为高峰(2 倍价);其余时段、周末、 中国法定节假日为谷价(半价)。腾讯 TokenHub 原厂直供转售沿用同规则。
- 当前状态:高峰 / 谷价(含周末判断)+ 下一个切换时刻。
- 行为边界:非紧急任务可错峰,但不必为省钱打断任务,也不用反复向用户确认价格。
省 token / 保缓存
- 文案只在计费时段切换(每天 4 个边界)时改变,不含倒计时和分钟数; 同一时段内每次组装逐字相同,不会破坏上下文前缀缓存。
- section 放在 9500(工具说明之后、结构化输出之前),即使变化也只影响尾部前缀。
装法
dsh plugin --profile web add github:Hao0311/dsh-model-price
装完重启一次 dsh web,新会话即生效(提示随会话系统提示组装)。
备注
- 法定节假日不做日历判断("大致了解即可"),文案按工作日/周末判断。
- 与已有的
dsh-price-badge(Web 侧边栏可见角标)互补:那个给用户看,这个给模型看。
Related plugins
M
DeepSeek-Balance-Whale-Widget
meteornox/deepseek-balance-whale-widget
7.4klast monthUsage & BillingMIT
B
dsh-context
bowenliang123/dsh-context
5.3k8 hours agoUsage & BillingApache-2.0
H
dsh-cost-meter
han-1413141/dsh-cost-meter
72815 hours agoUsage & BillingMIT
W
dsh-damage-pulse
wssfk12138/dsh-damage-pulse
28919 hours agoUsage & BillingMIT