yushuosun/dsh-cost-governor

yushuosun★ 0TypeScript最后同步: 2026-08-22

在 GitHub 打开

Cost governance & budget enforcement for DeepSeek Harness: per-model token-cost accounting, multi-provider pricing, budget warn thresholds, and a usage dashboard.

README 摘要

dsh-cost-governor Cost governance & budget enforcement for DeepSeek Harness. A finance-grade "cost governor" layered on top of DSH's built-in token metering: it turns the harness's already-disjoint token buckets ( input / output / cache-read / cache-write / reasoning ) into money , then enforces a budget — soft warn → hard ceiling → block or steer to a cheaper model — with a polished in-app dashboard. Not another "cost counter". The counter exists ( dsh-token-meter ). This plugin is the budget keeper that says how much you're spending , what it will cost by month-end , and stops you when you told it to . Why this one Capability core dsh-token-meter typical community cost plugins dsh-cost-governor Disjoint token buckets ✅ partial ✅ (reuses core) Compaction-safe accounting ✅ ⚠️ often drifts ✅ (official projection seam) Multi-provider precise pricing — mostly DeepSeek-only ✅ catalog + cache/reasoning buckets Budget warn — display only ✅ threshold events + webhook Budget enforce (block / steer) — ❌ ✅ Cross-session trends + CSV — ❌ ✅ Model cost comparison + savings tip — ❌ ✅ Features - Per-model cost accounting on the official sessionProjections seam — stays correct through compaction a…

在 GitHub 查看完整 README →
工具/开发budgetcostdeepseek-harnessdshdsh-plugintoken

分类