dsh-meter
The DeepSeek tariff meter for dsh: what this session cost, which time-of-use tariff you are standing in, and when it changes — one line under the composer.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dshworks/dsh-meter说明文档
阅读完整 README ↗dsh-meter
DeepSeek now bills by time of day. This is the meter for it.
On 2026-08-16 16:00 UTC DeepSeek's API moved to time-of-use pricing: two peak windows a day, off-peak at half the peak rate. Cost stopped being a number you read afterwards and became a rate you are standing in. A spend counter tells you what you can no longer change; a meter tells you what to do next.
dsh-meter puts one line under the composer — what this session has cost, which
tariff is running, and how long until it flips — and a card behind it with the
tariff clock, where the money went, and what the same tokens would have cost
under the other tariff.

60-second start
dsh plugin forwards to pnpm, so pnpm must be on PATH.
dsh plugin --profile web add github:dshworks/dsh-meter
dsh --profile web
Billing in CNY (the mainland platform publishes its own table, not a converted
one) — add to your profile's cordis.patch.yml:
- id: dsh-meter
config:
currency: cny
What you see
1 turns · 1 steps | LLM 1.7s | TTFT avg 1.7s · 71 tok/s | Cache hit 0% | Input 22.2K tok · Output 2 tok
$0.0096 | peak | off-peak in 48m
The stock stats line, untouched, and ours under it — this plugin adds a line, it does not replace the harness's. Hover or focus it for the card. Inside a peak window the tariff is called out and the countdown runs to the next off-peak hour:

| The card shows | Why it is there |
|---|---|
| The session total, request count, models | The number, once, at full size |
| A 24-hour tariff strip in local time, with a live now-marker |