Cost governance for DeepSeek Harness
PerryLink/dsh-budget · productivity
Cost governance for DeepSeek Harness: aggregated token/cost metering per model, session and day, budget caps with threshold alerts and over-limit policies, carbon footprint estimation, per-model latency benchmarks, a Set.
★ 6GitHub stars
0Forks
2026-09-08Last updated
TypeScriptLanguage
Apache-2.0License
Key features
- Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel.
- Aggregated metering — tokens (uncached input / output / cache read / cache write), estimated USD cost, and carbon footprint per model, session, and day, priced through a built-in USD-per-1M table merged with your config.prices.
- Permissionsnetwork:outbound (the optional alert webhook only), session:append (audit events), native-code:none.
- No fabricationa budget block yields a corrective error finish on the llm/stream waterfall — the plugin never invents model output.
- Know what every session costs — before it costs you.
Requirements
- Aggregation is process-localusage resets when the harness restarts (per-day/per-month buckets rebuild from the current session log view).
- block/degrade rely on the llm/stream waterfall
Install command
dsh plugin --profile web add github:PerryLink/dsh-budget