dsh plugins中文
← Back to popular plugin directory

Token cost tracking for DeepSeek Harness

yflmq001/dsh-cost-tracker · skills

Token cost tracking for DeepSeek Harness.

★ 3GitHub stars
0Forks
2026-08-26Last updated
TypeScriptLanguage
MITLicense

Key features

  • Prices every finalized LLM call (assistant/message usage) against a per-model pricing table you configure — cache-hit / cache-miss input, output, and optional peak-window rates.
  • Cache writes are billed at the miss rate, not the hit rate.
  • Publishes a per-session cost projection (total / peak / off-peak / per-model), consumed by the Web UI to show a live session cost readout.
  • Flags calls that land in a configured peak window.
  • Models without a pricing entry are surfaced as "unconfigured" with a placeholder, so you know to add them.

Requirements

  • Per-session cost is a projection over the durable log (replayed)
  • the cross-session global bill and /cost command are available.

Install command

dsh plugin --profile web add github:yflmq001/dsh-cost-tracker
View GitHub repository ↗Back to popular plugin directory