ccs-balance
Run the following command in DeepSeek Harness:
dsh plugin install kikomaotu/ccs-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install kikomaotu/ccs-balance inside the DeepSeek Harness terminal to install this plugin; the source repository is https://github.com/kikomaotu/ccs-balance .
About this plugin
When you route multiple LLM API providers through cc-switch, balances are scattered across separate dashboards and actual spending requires digging through transaction logs. ccs-balance consolidates the picture into three views: a Balance page that pulls live credit from newapi, DeepSeek, OpenAI, Moonshot, SiliconFlow and any other configured provider, with per-provider currency and a global USD rate; a Usage page that breaks down input, output, cache-read and cache-write tokens and their costs by day, month, or total, rendered in stacked bar charts with model composition; and a Session page that lists every DSH session with its token consumption and cost, searchable and sortable in a single scrollable list.
No extra database setup is required. Balances come from the cc-switch provider configuration, while spending is read from actual proxy billing logs and falls back to model pricing tables when records are missing. If your proxy bills in USD, simply set the USD-to-CNY rate in the Balance page (for example 7.2) and every cost figure is converted to RMB automatically.
It is built for DSH users who proxy through cc-switch and want a single panel that answers three questions at a glance: how much credit is left, what did I spend today, and which session cost the most.
Use Cases
- Route multiple LLM APIs through cc-switch and check all balances and costs in one panel
- Review daily or monthly token spend to see which model consumed the most budget
- Debug an unexpectedly expensive session by inspecting its token breakdown and billing record
Best For
- DSH users who proxy multiple LLM APIs via cc-switch
- AI dev teams that need daily or monthly API spend tracking
- Solo developers who want at-a-glance balance and per-session cost in the DSH sidebar
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.