
feibi-mochi/deepseek-harness-wallet
142Last commit Aug 16, 2026
deepseek-harness-wallet DSH plugin
deepseek-harness-wallet adds a resident chip beside the composer showing DeepSeek balance, current session cost, token breakdown, and a recharge button. It supports low-balance alerts, a draggable floating window, and per-provider accounting (official vs third-party).
How to install the deepseek-harness-wallet DSH plugin
dsh plugin --profile web add deepseek-harness-walletCopying does not run this command. Review the repository and version before installing the deepseek-harness-wallet DSH plugin.
deepseek-harness-wallet DSH plugin data source
deepseek-harness-wallet DSH plugin snapshot date: Aug 16, 2026
discovered
What the deepseek-harness-wallet DSH plugin can do
- Real-time balance display (60s refresh with fast boot retries)
- Session cost calculation based on official pricing (including peak/off-peak rates)
- Token breakdown for official DeepSeek and third-party endpoints
- Configurable low-balance threshold with desktop notification and red alert
- Floating window mode (draggable, position remembered across reloads)
- One-click recharge with anti-phishing domain confirmation
- Clear current session's token/cost records without affecting other conversations
Where the deepseek-harness-wallet DSH plugin fits
- Monitor DeepSeek API balance to avoid service interruption due to insufficient funds
- Track per-session costs to optimize API usage and budget
- Receive alerts when balance drops below a custom threshold and recharge instantly
- Distinguish token consumption between official DeepSeek and third-party providers
Who the deepseek-harness-wallet DSH plugin is for
- Developers using DeepSeek Harness Web GUI
- Users who need to manage API budget and monitor costs in real time
deepseek-harness-wallet DSH plugin limitations
- Balance queries depend on the official DeepSeek `/user/balance` endpoint; only works with a valid API key
- Third-party token accounting does not include cost estimates; only token counts are shown
- Pricing is based on official announcements and is an estimate; the API-returned balance is authoritative
- Only supports the `web` profile (`dsh plugin --profile web`)
- Recharge URL is hardcoded to the official platform; no custom recharge URLs
deepseek-harness-wallet DSH plugin: from the repository README
Quoted from the feibi-mochi/deepseek-harness-wallet README, the upstream source of the deepseek-harness-wallet DSH plugin. Copyright remains with the original authors.
### DeepSeek Harness Balance Monitor & Recharge Plugin · 余额监控和充值插件 <p align="center"> <a href="./README.md">English</a> · <a href="./docs/i18n/README.zh-CN.md">简体中文</a> </p> <p align="center"> <img alt="Version 0.1.3" src="https://img.shields.io/badge/version-0.1.3-5965d8"> <img alt="DeepSeek Harness rc.6" src="https://img.shields.io/badge/dsh-0.1.0--rc.6-4aa3ff"> <img alt="MIT License" src="https://img.shields.io/badge/license-MIT-3b7a57"> </p> **The multi-provider wallet chip for the DeepSeek Harness Web GUI.** A resident one-line chip beside the composer: official DeepSeek (balance, session cost, tokens, one-click recharge, low-balance alert) plus the third-party token total. Accounting is bucketed per provider — a GLM session never shows a DeepSeek balance, and DeepSeek costs are never computed from GLM tokens. <p align="center"> If deepseek-harness-wallet helps you, please consider leaving a ⭐ Star. Thank you! </p> ## What it shows ``` 余额 ¥5.89 · 本场 ¥0.72 · 官 18.8M | 三方 800K · ↗充 ``` - **Official DeepSeek** — live balance (60s global refresh with fast boot retries), current-session cost locked to the price active for each usage event (including the 2026-08-
Read the full READMERepository license: MIT
deepseek-harness-wallet DSH plugin questions
How do I install deepseek-harness-wallet?
Run `dsh plugin --profile web add deepseek-harness-wallet` from npm, or `dsh plugin --profile web add github:feibi-mochi/deepseek-harness-wallet` from GitHub. Restart `dsh web` and hard-refresh the page.
Does the plugin work with third-party providers like GLM?
Yes, it tracks token usage for all providers. Official DeepSeek sessions get full balance and cost monitoring, while third-party endpoints only show token totals (no cost or balance).
How do I set a low-balance alert threshold?
Open the detail panel by clicking the chip, then edit the threshold field. It accepts two decimal places in CNY. The threshold is persisted globally and alerts only when the official balance (in CNY) falls below it.
Is my API key safe?
The plugin uses the `DEEPSEEK_API_KEY` from your credentials seam only to call the official `/user/balance` endpoint. It never sends the key elsewhere. The recharge URL is hardcoded to `https://platform.deepseek.com/top_up` and shows a confirmation dialog to prevent phishing.
What pricing is used for cost calculation?
The plugin includes official pricing tables from DeepSeek announcements, including peak/off-peak rates for v4 models since 2026-08-17. Each usage event is priced at the rate active when it arrives. Costs are estimates; the API-returned balance is authoritative.