dsh-tool-tariff
Run the following command in DeepSeek Harness:
dsh plugin install omdsh-dev/dsh-tool-tariff
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install omdsh-dev/dsh-tool-tariff in your terminal to install the plugin; the source repository is available at https://github.com/omdsh-dev/dsh-tool-tariff .
About this plugin
Anyone running sustained workloads on the DeepSeek API knows that peak and off-peak electricity tariffs directly shape inference costs. Batching heavy jobs during off-peak windows and reserving peak hours for interactive calls can save a meaningful slice of the bill. Yet in practice, figuring out whether you are currently in a peak or off-peak window, remembering the exact next switch time, and checking your remaining API balance are all spread across different tools and require manual look-ups or mental arithmetic.
dsh-tool-tariff folds all of that into a single natural-language conversation. Ask "What period is it now?" and you get the full tariff schedule plus a precise countdown to the next transition. Say "Check my API balance" and the account balance appears instantly (cached for 60 seconds on the host side to avoid redundant calls). Even more useful, it fires an automatic reminder at 08:50 and 13:50 each day (both configurable) so you know a peak window is ten minutes away and can wrap up batch jobs in time. In the Web GUI, a live status badge in the header shows the current time, peak (orange) or off-peak (green) period, a second-precise countdown, and the balance on click. The API key never leaves the host process; the browser speaks to a dedicated RPC channel and never touches credentials.
Who is it for? Developers and ops teams who run production workloads on the DeepSeek API and want to schedule around tariff windows to control spend. With this plugin, electricity bills and API balances shift from after-the-fact reconciliation to real-time awareness—no more context-switching between a terminal, a documentation page, and a dashboard.
Use Cases
- A batch inference job is running and you need an exact countdown to decide whether to wrap up before the peak window starts
- Casually ask the model whether it is peak or off-peak now and get the full tariff schedule plus the next transition time in one reply
- Receive an automatic peak-transition reminder at 08:50 or 13:50 each day, letting the agent announce the alert and trigger follow-up actions without manual monitoring
Best For
- Developers running production workloads on the DeepSeek API who schedule around tariff windows to control inference costs
- Ops engineers who need real-time API balance visibility to prevent unexpected outages from insufficient credits
- Power users who want a glanceable peak or off-peak status, countdown, and balance in the Web GUI header
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.