Back to directory

dsh-save-money

Curated pickMaintenance: Active

zhu168/dsh-save-money

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.

View on GitHub
$ npx @deepseek-ai/dsh plugin --profile web add dsh-save-money

35

stars

1

forks

JavaScript

Language

MIT

License

2026-08-15

Created

2026-08-22

Last push

A native DSH plugin that auto-pauses AI tasks during DeepSeek peak-price hours and resumes off-peak to cut API spend — with per-weekday/per-tier control and an optional balance + spend chart.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-05

License

MIT

01What can it help you accomplish?

  • Automatically pause long AI tasks during DeepSeek peak-price windows and resume them off-peak to cut API spend.

    Tasks are frozen at the window start (progress preserved exactly) and auto-resume when it ends; inside a window the AI sends no requests, so no cost is incurred.

    DSH users on DeepSeek's paid API — or any metered LLM, time-of-use electricity, or bandwidth — who want work to run only when it is cheap.

  • Schedule multiple pause/resume windows with per-weekday and per-model-tier control.

    Add/remove windows (incl. midnight-crossing), filter by weekday, and pick per model tier (Official API / Other API, flash·pro·vision) which ones pause.

    Power users who run mixed model tiers or keep different off-peak rules per weekday and want fine-grained saving.

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness (DSH) must be running first — the plugin runs inside DSH.
  • Node.js + the official `dsh` CLI (installed via `npx @deepseek-ai/dsh web` or built from source).

Installation steps

  1. 01

    Install from npm (recommended): `npx @deepseek-ai/dsh plugin --profile web add dsh-save-money`

    $ npx @deepseek-ai/dsh plugin --profile web add dsh-save-money

  2. 02

    Fully restart DSH (Ctrl+C, start again) and hard-refresh the browser (Ctrl+Shift+R) — the "Save · 🟢 Working" status text appears top-right in the session header.

  3. 03

    (Optional) Click "One-click DeepSeek peak/off-peak savings", then check "Enable" to start watching windows.

Verify the integration

Not specified by the author

Rollback

  • Remove the plugin: `npx @deepseek-ai/dsh plugin --profile web remove dsh-save-money` (your settings in save-money.config.json survive the removal).

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DSH plugin — a module exporting `apply` + cordis.yml mounting; ships Host logic and the browser UI that load automatically inside DeepSeek Harness.

  • Peak/off-peak auto-pause (the saving core)

    scheduled pause/resume windows + DeepSeek peak hoursrunning tasks frozen (progress preserved), zero API requests inside the window, auto-resume at window end

    pauses in-flight AI goals automatically; manual interaction always flows
  • Per-model-tier & per-weekday control

    model tiers (Official API / Other API, flash·pro·vision) + weekday switcheach tier/weekday independently exempt or paused during windows

  • Balance & spend tracking (optional)

    official DeepSeek account balance display enabledheader balance + last-8h spend bar chart (per 10 min); external spend flagged

    samples balance every 5 min; writes ~/.dsh/dsh-save-money-balance.json keyed by API-key fingerprint

04Who is it for? When not to use it?

Good for

  • DSH users on DeepSeek's paid API — or any metered LLM, time-of-use electricity, or bandwidth — who want work to run only when it is cheap.
  • Power users who run mixed model tiers or keep different off-peak rules per weekday and want fine-grained saving.

Not for

  • Runs only inside DeepSeek Harness (DSH must be started first). Builds older than v1.2.2 fail to load (ReferenceError: harness is not defined); the UI needs ≥ v1.2.4 to appear and ≥ v1.2.5 for settings to respond.

05Compatibility, maintenance and safety notes

  • Settings persist to `save-money.config.json` (gitignored, never committed) and are resolved at runtime from a 6-step candidate list — the first directory containing a config file wins; deleting it resets all settings.
  • Saving only applies on checked weekdays (default Mon–Fri); under the 2026-08-23 rule weekends are off-peak all day, so nothing pauses on Sat/Sun. The persistent 'Enable' flag is never touched by a one-shot 'End this save mode'.
  • Runs only inside DeepSeek Harness (DSH must be started first). Builds older than v1.2.2 fail to load (ReferenceError: harness is not defined); the UI needs ≥ v1.2.4 to appear and ≥ v1.2.5 for settings to respond.
2026-08-152026-08-22Not specified by the author

MIT · implemented and continuously maintained (README: '✅ Implemented, continuously maintained')

06Frequently asked questions

How do I install dsh-save-money into DeepSeek Harness?

Run `npx @deepseek-ai/dsh plugin --profile web add dsh-save-money` (DSH must be running first), then fully restart DSH and hard-refresh the browser — the "Save · 🟢 Working" status text appears top-right. Remove anytime with `npx @deepseek-ai/dsh plugin --profile web remove dsh-save-money`.

Does pausing really cost nothing, and will my tasks resume?

Yes. At a window start, running tasks are frozen with progress preserved exactly, and inside the window the AI sends no new requests to the model service, so no cost is incurred. Everything auto-resumes when the window ends (or the moment you click "End this save mode").

Can I control which models pause and on which days?

Yes. The weekday switch applies saving only on checked days (default Mon–Fri; weekends are off-peak all day, so nothing pauses on Sat/Sun). Per-model-tier toggles (Official API / Other API, each flash·pro·vision) let you exempt specific tiers — unchecked tiers keep requesting even during a window.

What does the balance / spend chart show, and is my data shared?

With "Show balance" on, your official DeepSeek balance shows in the header and a click opens the last-8-hours spend bar chart (per 10 min). Windows where the balance dropped with no local activity are flagged warning (another device). History is sampled every 5 min and saved to `~/.dsh/dsh-save-money-balance.json`, keyed by API-key fingerprint; changing the key discards old history.

08Data and sources

  • Author-claimedgithub.comadaa4ba539ae…

    The official DSH plugin form is a **module exporting `apply` + cordis.yml mounting**

  • Author-claimedgithub.comadaa4ba539ae…

    **Save-money plugin** for DSH (DeepSeek Harness) — define your own "pause / resume" time windows; at pause time running…

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-05. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.