Community plugin

Hao0311 / dsh-model-price

Model-facing peak / off-peak price clock: a short, passive system-prompt note telling the model whether the DeepSeek API is currently in peak (2x) or off-peak (half-price) hours.

  • JavaScript
  • MIT
  • 0 stars
  • Nov 20, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-model-price is a DSH plugin published from the Hao0311/dsh-model-price repository.

  • Listing statusManifest verified
  • Manifest checkedNov 20, 2026
  • Packagedsh-model-price
  • Package version0.1.0
  • Source commit7adc614
  • Repository createdNov 18, 2026

Capabilities and topics

dshdsh-plugindeepseek-harnesspricing
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

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 dsh-model-price

装完重启一次 dsh web,新会话即生效(提示随会话系统提示组装)。

备注

  • 法定节假日不做日历判断("大致了解即可"),文案按工作日/周末判断。
  • 与已有的 dsh-price-badge(Web 侧边栏可见角标)互补:那个给用户看,这个给模型看。

English / 英文简介

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 dsh-model-price

Listed on the awesome-dsh-plugin market.


同作者的其它插件 / More from the same author

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/Hao0311/dsh-model-price)