GooDAnDReaDY/dsh-key-limits
Real-time API quota limits, token-plan balances and key monitoring for DeepSeek Harness.
Delivers ambient, real-time quota-limit and subscription-balance monitoring inside the DSH Web UI, deliberately without heavy accounting ledgers or historical spending databases. A draggable floating chip shows the lowest remaining quota percentage across active keys (or total account count) and opens an All-Limits modal, while a composer-bar button shows the active session's bound provider/model balance and opens a per-account One-Limit modal. It supports 14 providers (Command Code, OpenCode GO, Ollama Cloud, Qwen, Kimi, GLM, MiniMax, Cline, SiliconFlow, Anthropic, Groq, Google Gemini, DeepSeek, OpenRouter) with rolling 5h/weekly/monthly windows or monetary balances. Extras include pool-health breakdown, burn-rate/velocity with time-to-depletion projection, humanized reset countdowns, account reordering with active-on-top, docked mode, an Alt+K global hotkey, a <15% danger toast, one-click refresh-all, and AES-256-GCM password-protected backup export/import. Security: secrets stay in the host DSH credentials service, subs.json is enforced at 0600, caches fail closed, and provider fetchers use redirect:'error' to block credential leaks across redirects.
Install
dsh plugin --profile web add @goodandready/dsh-key-limitsCopied verbatim from the README's '📦 Quick Installation' section; the README follows it with 'Restart DSH Web: dsh web --profile web'. The package is published on npm: @goodandready/dsh-key-limits, latest 0.2.23 on registry.npmjs.org (checked 2026-10-06).
Compatibility
Node 20+ (README badge). DeepSeek Harness Web: a Cordis plugin whose backend exposes an HTTP router under /dsh-key-limits and whose client bundle mounts a draggable floating chip (FloatChip) plus a composer-bar button (ActiveKeyButton, registered at conversation.composer.bar with priority 10). Settings live under the '@goodandready/dsh-key-limits' namespace in ~/.dsh/profiles/web/settings.yaml.
Details
- Repo: GooDAnDReaDY/dsh-key-limits
- Category: Usage & Billing
- Stars: 2
- Version: GitHub GooDAnDReaDY/dsh-key-limits — npm @goodandready/dsh-key-limits (latest 0.2.23, registry.npmjs.org, 2026-10-06); MIT © GooDAnDReaDY (README License section).
FAQ
- Which providers can it monitor?
- 14 providers: Command Code, OpenCode GO, Ollama Cloud, Qwen Cloud, Kimi for Coding, GLM (Z.ai), MiniMax Coding Plan, Cline, SiliconFlow, Anthropic, Groq, Google Gemini, DeepSeek and OpenRouter — each showing rolling quota windows or a monetary balance.
- Are my API keys stored safely?
- Plaintext API keys and sensitive session cookies are stored exclusively in the host DSH credentials service; the local subs.json holds only non-sensitive metadata/references and is enforced at POSIX 0600 permissions. Backup exports are AES-256-GCM encrypted with a passphrase.
- How do I open the limits hub quickly?
- Press the global hotkey Alt+K from any view, or click the floating chip / composer-bar button. A danger toast warns when the active key drops below 15% quota.
Alternatives
wenzetan/dsh-quota-panel · mtty-ai/mmx-quota-tool · Ychris12138/dsh-usage-stats