dsh-deepseek-price-tip: Real-Time API Peak Pricing in DeepSeek Harness

jaaaa34/dsh-deepseek-price-tip

Tools & CapabilitiesVerified
Listed on 2026-10-18
Page last updated 2026-10-19

A DSH plugin that shows a DeepSeek API peak/off-peak price capsule under the Harness Web UI input box, with countdown, price table and an agent tool.

dsh-deepseek-price-tip is a pricing reminder DSH plugin for DeepSeek Harness that places a small capsule below the input box in the Web UI, telling you at a glance whether the official API is at peak or off-peak pricing. It addresses the common problem of overlooking peak windows when calling the official API and only noticing higher costs afterwards, so the current tier and the countdown to the next switch are visible before you send a request. Opening the capsule reveals the RMB price table, peak-hour rules, data source, and fetch time, and the agent can query status or trigger a refresh through a tool. The plugin is MIT licensed, written in JavaScript, and relies only on Node built-in modules.

How to Install

install
dsh plugin --profile web add github:jaaaa34/dsh-deepseek-price-tip
Category
Tools & Capabilities
Platform
DSH Plugin
Author
jaaaa34
Distribution
Plugin

dsh-deepseek-price-tip Key Features

Peak/off-peak price capsuleCountdown to next switchRMB price table viewOne-click refresh from sitedeepseek_price_tip agent tool
Listed on dsh-plugin.org

dsh-deepseek-price-tip Repo Summary

What Does It Do?

DeepSeek Price Peak/Off-Peak Tip is a DSH plugin for DeepSeek Harness that shows a small capsule below the input box in the Harness Web UI, telling you whether the official DeepSeek API is currently at peak or off-peak pricing and how long remains until the next switch. It solves the problem of missing peak-hour windows when calling the official API and only noticing higher costs afterwards, so you can see the current tier before sending a request. Maintained by jaaaa34 under the MIT license, it is written in JavaScript with no third-party dependencies and uses only Node built-in modules.

Core Features

  • Real-time peak/off-peak reading: computes the current window from official rules (Beijing time 09:00–12:00 and 14:00–18:00, Monday to Friday, excluding Chinese public holidays) and counts down to the next switch.
  • RMB price table: reads the official Chinese pricing page and lists models, tiers, cache-hit and cache-miss input prices, and output prices, showing both peak and off-peak rows with the active one highlighted.
  • Update from the official site: the "refresh now" button re-fetches prices and peak-window rules, including time windows, weekdays, and holiday exclusion.
  • Automatic refresh: checks at startup and every 30 minutes thereafter, re-fetching in the background once the cache exceeds the configured hour limit; on failure it keeps the old table and reports the reason.
  • Agent tool: exposes a deepseek_price_tip tool with status and refresh actions that shares the same data as the panel.

How to Use This Plugin?

After enabling it in DSH and restarting the Harness Web UI, the capsule appears below the input box; click it to see the price table, peak-hour rules, data source, and fetch time. Click "refresh now" when you need current prices, or ask the agent in conversation to call deepseek_price_tip to check status or trigger a refresh. The auto-refresh interval, peak windows, weekdays, extra holidays, and fetch URL are all configurable; setting the auto-refresh hours to 0 disables background fetching and keeps only the manual button. Holidays are built in only through 2026, so add later dates in the config or the UI will warn that the year is not covered.

How to Troubleshoot This Plugin?

If the official page structure changes significantly, parsing fails instead of writing a partial table: the UI keeps showing the last successful data and reports the failure reason, so fix the parser per the official instructions or point the plugin at another fetch URL. If the UI warns that a year's holidays are not built in, append those dates in the config to avoid reporting holidays as peak pricing. Reinstalling or upgrading the plugin discards the local cache, which is re-fetched on the next refresh while built-in fallback data is used in the meantime.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: jaaaa34/dsh-deepseek-price-tip. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ