dshworks/dsh-meter

dshworks★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

The DeepSeek time-of-use meter for dsh: what this session cost, which tariff is running, when it flips, and the balance behind it — one line under the composer

README excerpt

dsh-meter English 中文 DeepSeek bills by time of day now. This is the meter for it. 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 . One line under the composer: what this session cost, which tariff is running, how long until it flips. Hover it for the tariff clock, the cache economics, and your balance. Install dsh plugin forwards to pnpm, so pnpm must be on PATH. Nothing else to configure: the meter appears under the composer as soon as a session bills its first request. The line The harness's own stats line, untouched, and ours under it. This plugin adds a line — it does not shadow the shipped one, which is what a cost plugin has to do to append to it. Hover or focus for the card. Inside a peak window the tariff is called out in amber 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 your local time, with a live now-marker Peak windows are published in UTC. Reading them off a strip beats doing timezone arithmetic at 11pm cache hits / fresh input / output — toke…

View full README on GitHub →
Tools / Devbalancecostdeepseekdeepseek-harnessdshdsh-pluginpricingtoken-usage

Category