dsh-balance-meter¶
⭐ 19 · ✅ active · plugin · ⬆️ +1 recently
| Type | plugin | Category | Developer tools |
| Stars | ⭐ 19 | Status | ✅ active |
| Author | Ghost011118 | Updated | 2026-08-20 |
| Subcategory | 💰 Cost & billing | Capabilities | coding, ui |
One-liner¶
DeepSeek account balance and session cost readout for the DeepSeek Harness Web GUI
About¶
DeepSeek account balance and session-cost readout for the DeepSeek Harness (DSH) Web GUI. - Explicit balance sources: official API, proxy-compatible endpoint, or a manual balance accounted and persisted locally - Current session estimated spend (token usage x official pricing) - Per-model pricing: reads the model actually driving each session from its request header (flash vs pro), so the cost tracks the model you used instead of a fixed default - Auto-fetches the official pricing page every 6h, so price changes and the 2026-08-17 peak/off-peak pricing rollout never require a plugin update - Peak-hour band (Beijing 09:00-12:00 / 14:00-18:00) applied automatically once the peak pricing goes live
✨ Key Features¶
- Explicit balance sources: official API, proxy-compatible endpoint, or a
- Current session estimated spend (token usage x official pricing)
- Per-model pricing: reads the model actually driving each session from its
- Auto-fetches the official pricing page every 6h, so price changes and the
- Peak-hour band (Beijing 09:00-12:00 / 14:00-18:00) applied automatically
📦 Install¶
dsh plugin --profile web add https://github.com/Ghost011118/dsh-balance-meter
🚀 Quick Start¶
git clone https://github.com/Ghost011118/dsh-balance-meter.git
dsh plugin --profile web add link:$(pwd)/dsh-balance-meter
📚 Learn more¶
Installation
From a git URL (no npm account needed): dsh plugin --profile web add https://github.com/Ghost011118/dsh-balance-meter Or from a local checkout: git clone https://github.com/Ghost011118/dsh-balance-meter.git dsh plugin --profile web add link:$(pwd)/dsh-balance-meter Restart dsh web, then refresh the page. The balance chip appears in the composer dock next to the conversation stats line.
Configuration
The plugin is zero-config by default (uses DEEPSEEK_API_KEY and the official pricing page). Optional composition settings: - id: balance name: 'dsh-balance-meter' config: source: official # official (default) | proxy | manual model: auto # 'auto' (default) | 'flash' | 'pro' pricingRefreshHours: 6