dsh-deepseek-usage
Manifest validDeepSeek balance and token usage tools for DeepSeek Harness
dsh-deepseek-usage
DeepSeek usage monitor for DeepSeek Harness: account balance query and live token usage summary as model-callable tools.
Install
dsh plugin --profile <name> add dsh-deepseek-usage
Requires a DeepSeek API key available as DEEPSEEK_API_KEY (env or credential).
Tools
deepseek_balance
Queries GET https://api.deepseek.com/user/balance and returns availability and per-currency balances (total / granted / topped-up). When lowBalanceThreshold is configured, appends a warning when the primary currency balance drops below it.
usage_summary
Aggregates per-session token usage from the harness token meter across live sessions, sorted by total tokens descending. Use it to estimate context usage and spot runaway sessions.
Configuration
| Field | Default | Meaning |
|---|---|---|
apiKeyEnv | DEEPSEEK_API_KEY | Env var or credential reference for the API key |
baseURL | https://api.deepseek.com | DeepSeek API base URL |
lowBalanceThreshold | — | Optional low-balance warning threshold |
# profile cordis.patch.yml
- id: deepseek-usage
config:
apiKeyEnv: DEEPSEEK_API_KEY
lowBalanceThreshold: 20
License
MIT
Comments
Loading…
Similar plugins
by LeemanCheung
Persistent token usage records and dashboard for DeepSeek Harness
★ 12
↓ 243/wk
MIT
TypeScript
Sep 27, 2026
dsh plugin --profile web add dsh-token-usageby kam74515-boop
DeepSeek Harness token usage and estimated cost dashboard
★ 0
MIT
TypeScript
Aug 15, 2026
dsh plugin --profile web add dsh-show-me-how-muchby Qiongkura
DeepSeek Harness(DSH)的 Token 用量统计 附属插件
★ 4
↓ 97/wk
MIT
TypeScript
Aug 20, 2026
dsh plugin --profile web add dsh-usage-pluginby xjackzenvey
Deepseek Harness 增强工具
★ 0
MIT
TypeScript
Aug 14, 2026
dsh plugin --profile web add dsh-ui-enhanceby xie-tj
Persistent token-usage ledger and Web Usage dashboard for DeepSeek Harness.
★ 2
MIT
JavaScript
Sep 15, 2026
dsh plugin --profile web add dsh-plugin-usage-ledgerby asun-labs
DeepSeek Harness plugin for generating a self-contained token usage dashboard
★ 0
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile web add @asun-labs/dsh-plugin-token-dashboard