YZz-S/dsh-billing-balance
Shows DeepSeek API account balance and Volcengine Ark Coding/Agent Plan quota windows (5h/weekly/monthly with reset countdowns) in the settings panel, composer dock, and a draggable floating refresh button.
Shows your DeepSeek official API account balance (total/top-up/gift + availability from GET https://api.deepseek.com/user/balance) and Volcengine Ark Coding Plan / Agent Plan quota (used percentages + countdown for the 5-hour/session, weekly and monthly windows) in three linked spots: a Settings → Model Balance panel with manual refresh and AK/SK configuration, a one-line readout below the conversation input box (auto-refresh every 30s), and a draggable floating ↻ button. AK/SK are written to ~/.dsh/.credentials.yaml via the official credentials service and never echoed back; quota is fetched with proper Volcengine OpenAPI V4 signing.
Install
dsh plugin --profile web add github:YZz-S/dsh-billing-balancedsh plugin --profile web add github:YZz-S/dsh-billing-balance (repo declares dsh.bundle + dsh.client; no standalone npm package — npm 404 verified 2026-08-30), then restart DSH. Requires DEEPSEEK_API_KEY in the DSH credentials service (~/.dsh/.credentials.yaml); Volcengine AK/SK optional for plan quota.
Compatibility
DSH web profile with dynamic Cordis plugin support (developed/verified on DSH + Node v22 + Windows); reads credentials via the official credentials service; MIT.
Details
- Repo: YZz-S/dsh-billing-balance
- Category: Usage & Billing
- Stars: 4
- Version: GitHub source (dsh.bundle; no npm package)
- Last push: 2026-08-15
- First seen: 2026-08-15
Recent updates
DeepSeek balance + Volcengine Ark Coding/Agent Plan quota; 3 linked display spots; 60s background refresh; AK/SK via credentials service; Volcengine V4-signed quota calls.
FAQ
- Which keys are required?
- DEEPSEEK_API_KEY for balance display; VOLC_ACCESS_KEY/VOLC_SECRET_KEY (control-plane AK/SK) for Volcengine quota — a data-plane ark- key cannot call the quota API.
- Where are my Volcengine keys stored?
- In ~/.dsh/.credentials.yaml through DSH's official credentials service; they are never echoed back in the page.
- Does the dynamic form persist?
- No — the dynamic cordis_define form is process-level and must be redefined after a restart; the installable dsh.bundle form persists.
Alternatives
LemCAE/dsh-balance · YZz-S/dsh-token-cost-meter · GPIOX/dsh-api-balance