dongsheng123132/dsh-cost0

dsh-cost

Evidence-first token cost ledger and budget checks for DeepSeek Harness

AI Analysis

核心用途是提供会话级别的 Token 成本报告、路由分解及预算超支检查。适合需要监控大模型调用成本、实施 fail-open/fail-closed 预算控制的 DSH 管理员。

Package
dsh-cost
Version
0.1.0
License
MIT
Last updated
Aug 13, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dongsheng123132/dsh-cost

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 current ctx.tokenMeter pressure snapshot.
  • dsh_cost_check — explicit fail-open/fail-closed budget decision. It does not claim to intercept future calls automatically.