chenzhiyong1994/dsh-cost-guard ↗★ 5
dsh-cost-guard
Live, local cost estimates for DeepSeek Harness: a compact composer cost pill with details on demand, editable pricing, and per-model totals.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chenzhiyong1994/dsh-cost-guardドキュメント
README 全文を読む ↗Configuration
Open Settings → Cost Guard to manage:
| Section | Controls |
|---|---|
| Model pricing | Cache-miss input, output, and cache-hit input rates; custom models; restore defaults (two-step confirm) |
| Peak/off-peak pricing | Weekday windows (09:00–12:00, 14:00–18:00 Beijing) at ×2, excluding built-in 2026 statutory holidays; weekends/holidays off-peak |
| Run totals | Settled turns, actual spend, editable CNY/USD rate, and per-model totals |
| Backup | Export or import the configuration as JSON |
The USD amount in the cost popover is an approximate conversion using the editable CNY/USD rate. All UI text follows the DSH language setting (中文 / English).