dshworks/dsh-meter

DeepSeek time-of-use meter for DSH: what the session cost, which tariff is running, when it flips, and the balance behind it, in one line under the composer.

Treats cost as a rate you are standing in rather than a number you read afterwards. One line under the composer shows what the session cost so far, which tariff is currently running, when it flips, and the balance behind it. The tariff strip covers 24 hours in local time with a live now-marker, and because off-peak now includes all weekend the empty strip is itself the answer. A pricing-verification script scrapes both locales and diffs prices, peak windows and the model list against the card.

Usage & Billing ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add @dshworks/dsh-meter

README install line; npm package @dshworks/dsh-meter, latest 0.5.5, registry repository resolves back to this repo. dsh plugin forwards to pnpm, so pnpm must be on PATH; nothing else is required. The README's verification path is dsh --profile web --dump-config showing the package and /plugins/@dshworks/dsh-meter/client.js serving 200.

Compatibility

Web profile plugin that reads the published DeepSeek rate card; dsh plugin forwards to pnpm, so pnpm must be on PATH. Peak windows are published in UTC and restricted to Beijing weekdays, so the plugin renders a 24-hour tariff strip in your local time rather than making you do the timezone arithmetic.

Details

Alternatives

Sttrevens/dsh-cost-meter · Shiye-10Pages/dsh-whale-meter · YZz-S/dsh-token-cost-meter

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins