Budget Guard · DeepSeek Harness plugin
haoku123/dsh-budget-guard · productivity
DeepSeek Harness Plugin: LLM Cost Measurement + Budget Implementation (over-budget hard stop), supporting DeepSeek Peak pricing.
★ 2GitHub stars
0Forks
2026-08-25Last updated
TypeScriptLanguage
—License
Key features
- Measurement in volumepackaging llm/stream waterfall, observation of processer usage (input / output / cache), inter-session cumulative
- The consumption rate is only calculated for the whole hour that has passed.
- src/index.tsPlugin entry (stop + tool registration + status route)
- Costedbuilt-in DeepSeek price table based on model (USD)
- Peak Valley PricingPerceptions DeepSeek Peek Period (9:00-12:00, 14:00-18:00 peak, remaining half price) at call time
Requirements
- Prices are static configurations, no real-time synchronization of official price adjustments
- Cumulative zero after re-starting in memory downgrade mode (trend figure is equally zero)
Install command
dsh plugin --profile web add github:haoku123/dsh-budget-guard