Skip to main content

How to use dsh-save-money

Pauses long-running tasks and model requests during user-defined time windows, achieving zero charges during peak hours for time-of-use pricing APIs like DeepSeek. Includes balance display and consumption bar charts with 10-minute granularity.

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

dsh-save-money

— source: plugin_wiki.wiki_content

Install & verify

dsh plugin --profile web add dsh-save-money

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

  • Multiple time windows: add / remove pause-resume windows freely; supports midnight-crossing windows (23:00–08:00) and per-weekday filtering;
  • Timezone support: IANA timezone dropdown, browser auto-detection with Beijing time (+8) fallback; UTC projection checked (Beijing 09:00 == UTC 01:00);
  • Non-intrusive by design: no screen lock, no overlay blocking, no user action prevented — only the automatic continuation of goals is paused; manual interaction always flows.
  • See the yellow "pause in X min" banner but don't want to pause right now? Click End this save mode to cancel this window only;
    • id: save-money

— source: plugin_wiki.readme_en (fallback readme_raw)

FAQ

Will "End This Savings Mode" turn off the main switch?

No. This button is a one-time in-memory operation that only ends the current triggered pause window; the next window (today or later) will still take effect, and the persistent "Enable" toggle won't be changed. To turn off all windows' savings mode, manually uncheck "Enable" (README.zh.md:29 / src/host-tools.ts:69-73).

Does balance display only support DeepSeek official?

Yes. Balance and consumption statistics are only displayed when the most recent model request runs on the official DeepSeek; other providers' (Silicon Flow, proxy, etc.) Keys won't show balance. Balance history is saved by API Key fingerprint to ~/.dsh/dsh-save-money-balance.json, and changing Keys automatically invalidates old history (README.zh.md:33-37 / src/balance-host.ts:88-130).

Will "One-click DeepSeek Time-of-Use Pricing Strategy" enable automatically?

No. One-click strategy only appends peak windows to the config deduplicated (Beijing time 08:58-12:02, 13:58-18:02, with 2 minutes early/late buffer), the "Enable" toggle needs to be checked by the user yourself - you decide (README.zh.md:32 / README.zh.md:316).

How to uninstall?

dsh plugin --profile web remove dsh-save-money, then restart DSH. Configuration file save-money.config.json and balance history ~/.dsh/dsh-save-money-balance.json will not be deleted; manually delete them for complete removal (README.zh.md:241-244).

— source: plugin_wiki.faq_json

Compatibility

  • DSH: 未声明
  • Node: 未声明
  • Platforms: 跨平台

— source: plugin_wiki.compatibility_json

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule