dsh-api-balance
Run the following command in DeepSeek Harness:
dsh plugin install Badegg404/dsh-api-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Badegg404/dsh-api-balance, or clone from https://github.com/Badegg404/dsh-api-balance into ~/.dsh/profiles/web/plugins/dsh-api-balance/ and restart DSH to activate the plugin.
About this plugin
If you juggle several AI providers—DeepSeek, OpenRouter, Moonshot, SiliconFlow, MiniMax, xAI, OpenAI, Anthropic—verifying balances and 30-day usage costs often means context-switching to a terminal and firing off yet another curl. dsh-api-balance folds that chore into the DeepSeek Harness session header: a small pill in the top-right corner shows the active provider's account balance in real time, and clicking it opens a two-tab panel—Balance and Usage—each with its own provider picker, API-key field, and 30-second auto-poll. Credentials persist in DSH's local store (mode 0600) across restarts, the backend only accepts loopback traffic, and API keys never leak to the frontend or logs. Styling follows DSH's light/dark theme tokens out of the box. If you orchestrate multi-model tasks in DSH and keep a rotating roster of provider keys, this lightweight component keeps the account-checking workflow a couple of clicks away without leaving the chat window. Adding a new provider is a one-line config entry; the matching form renders automatically with no UI code changes.
Use Cases
- Glance at remaining API credits mid-session without leaving the chat window
- Review 30-day spend or token quota across providers at month-end
- Verify a newly pasted key and its balance before launching a batch job
- Confirm the account is in good standing before kicking off a long-running task
Best For
- Developers juggling multiple AI API subscriptions who check balances often
- Teams orchestrating multi-model workflows inside DeepSeek Harness
- Engineers who prefer keeping account checks inline with the chat session
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.