Skip to content

zhu168/dsh-save-money

130Last commit Aug 15, 2026

dsh-save-money DSH plugin

dsh-save-money is a plugin for DeepSeek Harness (DSH) that lets you define custom time windows during which running tasks are automatically paused (not stopped) and later resumed. It is designed primarily for LLM API peak/off-peak pricing (e.g., DeepSeek peak hours 9:00–12:00, 14:00–18:00 Beijing time, off-peak at half price), but also works for time-of-use electricity rates, bandwidth off-peak shifting, or any scenario where you want to avoid machine usage during certain periods. The plugin provides a persistent UI entry in the session header and a floating banner for reminders.

How to install the dsh-save-money DSH plugin

dsh plugin --profile web add ~/dsh-save-money-1.2.5.tgz

Copying does not run this command. Review the repository and version before installing the dsh-save-money DSH plugin.

dsh-save-money DSH plugin data source

dsh-save-money DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-save-money DSH plugin can do

  • Configure multiple pause/resume time windows with support for midnight-crossing windows and per-weekday filtering.
  • Automatically pause running tasks at the start of a window, preserving progress exactly, and resume them when the window ends.
  • Prevent the AI from sending new requests during the pause window, so no cost is incurred.
  • One-click preset for DeepSeek peak hours with 2-minute boundary margin (08:58–12:02, 13:58–18:02).
  • Persistent configuration saved to workspace file (save-money.config.json) across browser refresh and plugin re-activation.
  • Timezone support with IANA dropdown, browser auto-detection, and Beijing time fallback.

Where the dsh-save-money DSH plugin fits

  • Automatically pause LLM API calls during peak pricing hours to reduce costs.
  • Schedule tasks to run during off-peak electricity rates or bandwidth periods.
  • Prevent the machine from working during designated quiet hours (e.g., overnight).
  • Temporarily pause all AI activity while keeping conversation context intact.
  • Easily override a single pause window without disabling the entire feature.

Who the dsh-save-money DSH plugin is for

  • Developers using DeepSeek Harness who want to optimize API usage costs.
  • Users running DSH on machines with time-of-use electricity or bandwidth pricing.

dsh-save-money DSH plugin limitations

  • Only works within DSH; cannot be used standalone.
  • Requires manual installation and configuration (though the plugin provides a UI for settings).
  • The AI does not reply during a pause window (including new conversations) – this is expected behavior.
  • Plugin is still in active development; older builds may have issues (e.g., before v1.2.2 had ReferenceError, before v1.2.5 UI settings didn't work).

dsh-save-money DSH plugin: from the repository README

Quoted from the zhu168/dsh-save-money README, the upstream source of the dsh-save-money DSH plugin. Copyright remains with the original authors.

**Save-money plugin** for DSH (DeepSeek Harness) — define your own "pause / resume" time windows; at pause time running long tasks are **paused** (not stopped) automatically, and they resume when the window ends. Built for LLM API **peak/off-peak pricing** (e.g. DeepSeek peak hours 9:00–12:00, 14:00–18:00 Beijing time, off-peak at half price), and equally useful for time-of-use electricity rates, bandwidth off-peak shifting, or any "I don't want the machine working during this period" scenario. > Status: ✅ Implemented, continuously maintained. [中文版](./README.zh.md) ## Interface ![Save-money plugin screenshot](./screenshot.en.png) The colored status text in the top-right of the session header (Save · ⚪/🟢/🟡/🔴, color follows the state) is the single persistent entry — click it to open the settings popover. When a pause is upcoming or active, a reminder banner appears at the top of the page (with the **End this save mode** button). ## Features - **Multiple time windows**: add / remove pause-resume windows freely; supports midnight-crossing windows (23:00–08:00) and per-weekday filtering; - **Automatic pause on schedule**: when the pause time arrives, running tasks are safely "

Read the full READMERepository license: MIT

dsh-save-money DSH plugin questions

How do I install dsh-save-money?

You can install it via the official DSH plugin add command: `dsh plugin --profile web add ~/dsh-save-money-1.2.5.tgz`. Alternatively, use the `--patch` method with `cordis.patch.yml` for local development. The plugin requires DSH to be running first.

Will my tasks lose progress when paused?

No, the plugin pauses running tasks by freezing their progress exactly. Nothing is interrupted or lost. When the window ends, tasks resume automatically from where they left off.

What happens if I start a new conversation during a pause window?

The AI will not reply during the pause window, even for new conversations. This is expected behavior – the plugin is designed to save costs by not sending any requests. To resume immediately, click the "End this save mode" button.

Can I have multiple time windows?

Yes, you can add and remove pause/resume windows freely. The plugin supports midnight-crossing windows and per-weekday filtering, so you can set complex schedules.

Does the plugin support time zones other than Beijing?

Yes, the plugin provides an IANA timezone dropdown with browser auto-detection. It defaults to Beijing time (+8) as a fallback, but you can select any IANA timezone.