chenzhiyong1994/dsh-cost-guard

chenzhiyong1994★ 2JavaScriptLast synced: 2026-08-18

Open on GitHub

Live DSH cost estimates from actual token usage & configurable pricing. / 基于真实 Token 用量与可配置价格的 DSH 开销监控插件。

README excerpt

English · 简体中文 dsh-cost-guard Know what every DSH task costs while it runs. dsh-cost-guard is a local-only dynamic Cordis plugin for DeepSeek Harness that turns recorded token usage into a compact live cost HUD, per-model totals, and editable pricing. It observes execution; it never blocks, reroutes, or changes the agent. [!IMPORTANT] Token counts come from DSH usage events. Currency amounts are local estimates calculated from your configured rates, not authoritative billing data. Provider prices can change—always treat the provider invoice as the source of truth. See it in action One quiet HUD, all the useful numbers The composer dock shows the current or most recent task, model, input/output/cache tokens, model-call count, task estimate, and session total without opening another panel. Pricing and totals stay under your control Edit model rates, add custom models, apply the official peak/off-peak schedule, inspect per-model totals, and export or import the configuration from Settings → Cost Guard . The screenshots were captured from an earlier configured instance. Release v4.3.0 ships with the official DeepSeek V4 peak/off-peak schedule enabled by default and uses the current rat…

View full README on GitHub →
Tools / Devcordiscost-trackingdeepseekdeepseek-harnessdshdsh-pluginjavascripttoken-monitoring

Category