nielskrikke/dsh-cost-widget

A spend and budget meter in the DSH Web sidebar footer showing DeepSeek Platform balance and estimated spend, with a per-project breakdown and editable pricing.

A small meter at the bottom of the left sidebar shows the Platform balance when signed in plus estimated spend, collapsing to a compact currency button when the sidebar is collapsed. Clicking it opens a spend modal with Platform wallets in their own currencies, optional real Platform spend, top-up and usage links, and a per-project breakdown that expands down to individual sessions. Pricing is editable per model in USD per million tokens with a default model selector and a reset to official prices, and the account card and price table live in the same modal.

Usage & Billing ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add github:nielskrikke/dsh-cost-widget

Copied verbatim from the README's install block. There is no registry package for this name, so the documented GitHub spec is the install path; the README also shows a local path form. Platform balance requires being signed in to the DeepSeek Platform; without it the widget still shows estimated spend.

Compatibility

Tested with DSH 0.2.x, CLI 0.2.0-rc.2 and desktop app 0.2.1-rc.2, on macOS. Per-session token usage is folded from the durable session log rather than the in-process projection cache, which is why cold, older and synced sessions still count toward the totals.

Details

Alternatives

Sttrevens/dsh-cost-meter · helloxkk/dsh-scope · xxvk/dsh-cost-crystal

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins