yflmq001/dsh-cost-tracker ↗★ 3
dsh-cost-tracker
Token cost tracking with per-model configurable pricing and peak/off-peak rates for the DeepSeek Harness
AI 분석
核心用途是统计和估算 DSH 运行中的 Token 资金消耗。适合需要精细化控制和监控 API 账单开销的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yflmq001/dsh-cost-trackerConfiguration
Pricing lives under the plugin's config (Schemastery-validated). All prices are currency units per million tokens; you fill them in manually (no scraping).
- name: 'dsh-cost-tracker'
config:
models:
deepseek-v4-flash:
inputMiss: 1.0 # cache-miss input
inputHit: 0.02 # cache-hit input (omit if no cache tier)
output: 2.0
peak: # peak tier: hours + toggle + prices
hours: ["09:00-12:00", "14:00-18:00"] # Beijing time
enabled: true # false = peak off (base rates always); omit = on
inputMiss: 3.0
inputHit: 0.10
output: 9.0
gpt-4o: # any model the harness can reach
inputMiss: 2.5
output: 10.0