DSH plugin for the DeepSeek Harness
GiantGKL/dsh-cost · skills
DSH plugin for the DeepSeek Harness: live conversation cost and DeepSeek account balance in the composer stats row.
★ 3GitHub stars
0Forks
2026-08-14Last updated
JavaScriptLanguage
MITLicense
Key features
- Conversation costcumulative token usage over the whole session log × official DeepSeek pricing, shown as a live estimate — ¥ 0.0123 in the Chinese UI, $ 0.0018 in the English UI.
- Cache writes are billed at the input price (DeepSeek has no separate write fee).
- The API key is resolved through the credentials service and used only to send the Bearer request to api.deepseek.com — it is never logged, never placed on a command line, and never returned to the browser.
- Hover for the input/output/cache-read token breakdown and the pricing tier.
- Account balancequeries the official DeepSeek GET /user/balance endpoint.
Requirements
- DeepSeek models and the official DeepSeek balance endpoint only.
- Balance conversion uses a hard-coded estimated rate, not a live rate.
Install command
dsh plugin --profile web add github:GiantGKL/dsh-cost