FengHuoLinShan/dsh-plugin-llm-balance

Draggable floating card showing the balance/quota of your most recently used providers (DeepSeek/Moonshot/Kimi For Coding): auto-discovery, color-coded tiers, live refresh.

A draggable balance/quota floating card in the DSH Web GUI showing the most recently used up to 3 providers: balance and quota with reset times at a glance. Auto-follows recently used providers (only successful model calls after enablement), supports balance + quota display (amount balance; 5h/week quota windows with reset time, status color by the most tense window), DeepSeek peak/valley pricing badge (valley half-price 12:00–14:00 + off-peak since 2026-08-17), auto-discovery of built-in providers + llm-pi-ai.providers.*, click-to-refresh, 60s auto-refresh (paused when hidden), and credentials never leave the server (balance queries via loopback-only Connection RPC).

Usage & Billing ★ 4 updated 2026-08-21
View on GitHub ↗

Install

dsh plugin --profile web add dsh-plugin-llm-balance

npm package dsh-plugin-llm-balance 0.2.4 (registry-verified 2026-08-26). README (English edition) documents four install routes: A (recommended, npm after publish) dsh plugin --profile web add dsh-plugin-llm-balance; B (GitHub, no build) dsh plugin --profile web add "github:FengHuoLinShan/dsh-plugin-llm-balance#main"; C (local checkout); D (tarball ./dsh-plugin-llm-balance-0.2.4.tgz). Requires DSH 0.1.0-rc.7+ (dedicated Connection RPC channels). Restart the dsh service after installing, then refresh the page. Tune via ~/.dsh/profiles/web/cordis.patch.yml by row id.

Compatibility

DSH 0.1.0-rc.7+ (Connection RPC channels). Official bundle form (dsh.bundle.patch + dsh.client browser half) — a single dsh plugin add installs and activates.

Details

Recent updates

v0.2.4: up to 3 recent providers; balance + quota windows; DeepSeek peak/valley badge; auto-discovery; 60s refresh; credentials never leave server.

FAQ

Which providers are supported?
DeepSeek/DeepSeek Official (CNY balance), Moonshot/Moonshot CN (CNY), Kimi For Coding (5h/week quota + tier), OpenAI Codex via dsh-codex-connect (5h/week/month quota + credits), and OpenCode Go (5h/week quota).
Are API keys exposed to the browser?
No — credentials never leave the server; balance queries go through a loopback-only Connection RPC.
How do I install it?
dsh plugin --profile web add dsh-plugin-llm-balance (npm 0.2.4) or dsh plugin --profile web add "github:FengHuoLinShan/dsh-plugin-llm-balance#main" — requires DSH 0.1.0-rc.7+.

Alternatives

lanlandeli/dsh-usage-stats · Max-Samson/dsh-usage-chart · jelly-000/dsh-balance-monitor

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins