dsh-cost
DeepSeek Harness 的证据优先 Token 成本账本和预算检查
AI 分析
核心用途是提供会话级别的 Token 成本报告、路由分解及预算超支检查。适合需要监控大模型调用成本、实施 fail-open/fail-closed 预算控制的 DSH 管理员。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dongsheng123132/dsh-cost說明文件
閱讀完整 README ↗Install
dsh plugin --profile add github:dongsheng123132/dsh-cost
The bundle mounts two tools:
dsh_cost_report— durable session cost, route breakdown, evidence completeness, optional budget status, and the currentctx.tokenMeterpressure snapshot.dsh_cost_check— explicit fail-open/fail-closed budget decision. It does not claim to intercept future calls automatically.