Balance
pangzi499/dsh-balance-stats · productivity
Balance, session cost, token usage, and invoice summaries for DeepSeek Harness Web.
★ 3GitHub stars
0Forks
2026-09-07Last updated
JavaScriptLanguage
MITLicense
Key features
- Balancereads the official DeepSeek balance API and shows available, topped-up, and granted balances.
- By default, the API key is read from the Harness credential DEEPSEEK_API_KEY.
- The plugin scans usage events in Harness conversation logs and calculates spend from model prices using
- The public DeepSeek balance API does not return historical top-ups.
- This sessionestimates the active conversation cost in real time through the composer-scoped balanceStatsSessionCost projection.
Requirements
- DeepSeek Harnesstested on 0.1.0-rc.6 through 0.1.1-rc.1
- Tested environmentOrbStack Ubuntu with Node.js 24.19.0
Install command
dsh plugin --profile web add github:pangzi499/dsh-balance-stats