dsh-high-fee-alert
Run the following command in DeepSeek Harness:
dsh plugin install GuoFengyu110429/dsh-high-fee-alert
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install GuoFengyu110429/dsh-high-fee-alert in your DeepSeek Harness terminal; source is at https://github.com/GuoFengyu110429/dsh-high-fee-alert. Restart DSH after installing to activate the plugin.
About this plugin
DeepSeek API uses peak and off-peak pricing, so calls during peak windows cost noticeably more. If you habitually fire up DSH and start prompting without a second thought, you may be quietly paying the premium rate without realizing it. dsh-high-fee-alert is a lightweight guardrail built for exactly this situation.
On startup the plugin fetches the official DeepSeek pricing document, parses the current peak-hour windows (compatible with both the current footnote format and the legacy off-peak format), and calibrates to Beijing time via the National Time Service Center of CAS over NTP, with a 30-second cache to avoid hammering the time server. If the current moment falls inside a peak window, a centered 710x430 alert appears telling you the rate is elevated and when the next off-peak slot begins. Two buttons follow: the OK button exits the DSH process entirely, while the Continue button dismisses the alert for this session only. If the fetch or NTP call fails, the plugin falls back to a built-in default window and flags the source as fallback in the status endpoint, so it keeps working regardless.
This is for any DeepSeek Harness user who wants a zero-config reminder against accidentally running at premium rates. Install, restart DSH, done. You can also override peak hours or weekday restrictions in cordis.patch.yml if your schedule changes. The author has noted this is a one-shot release with no further updates, but the logic is small and self-contained, making it easy to maintain locally.
Use Cases
- Detects peak-pricing windows automatically when DSH starts up
- Shows a centered alert with exit-or-continue buttons during peak hours
- Re-fetches official pricing docs every 6 hours to keep windows current
Best For
- Solo developers running models on DeepSeek Harness daily
- Students who want to keep API spending predictable
- Power users who open DSH ad-hoc and easily miss peak-pricing windows
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.