A native DSH plugin that surfaces session/daily cost, budgets, official + custom-provider balances and token heatmaps inside the DeepSeek Harness UI. Install via `dsh plugin --profile web add dsh-cost-meter`; restart dsh web. Requires Node.js ≥ 20.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-08-23
License
MIT
01What can it help you accomplish?
Track DeepSeek Harness session and daily API cost, budget and official balance in the UI
Per-session and daily cost badges, budget %, official/custom-provider balance bars, a 26-week token-usage heatmap, and a history ledger — all in the sidebar and settings
DeepSeek Harness users who want real-time spend visibility, peak/off-peak pricing alerts and multi-vendor Coding Plan quota tracking
02How to install into DeepSeek Harness
Prerequisites
- Node.js ≥ 20
- DeepSeek Harness with the `dsh plugin` command (`npm install -g @deepseek-ai/dsh`)
Installation steps
- 01
Run `dsh plugin --profile web add dsh-cost-meter` (or pin a tag: `dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.5.41`)
$ dsh plugin --profile web add dsh-cost-meter
- 02
Restart `dsh web` for the plugin rows, Typert manifest and client bundle to be scanned at startup
$ dsh web
Verify the integration
Not specified by the author
Rollback
- Uninstall with `dsh plugin --profile web remove dsh-cost-meter`.
03DSH integration and capability boundaries
Native DSH plugin (web profile) that shows session/daily cost, budgets, balances and token usage inside the DeepSeek Harness UI.
Cost & balance dashboard
DSH session usage (input/cache/output tokens)→Per-session and daily cost, budget %, official balance (3-segment bar), custom-provider balance via configurable HTTP
Balance queries go only to the official domain (api.deepseek.com); the API key is never sent to non-official baseURLsPeak/off-peak pricing + alerts
Real-time usage timestamps→Peak windows (UTC 01:00–04:00, 06:00–10:00) with popup + system-notification alerts before switching; weekend all-off-peak rule from 2026-08-23
Budget and overspend alerts only notify; they do not block callsMulti-vendor billing
provider+model usage across OpenAI/Anthropic/Gemini/Mistral etc.→Per-provider/per-model isolated billing with a 90+ model price catalog and auto-matching; 8 Coding Plan quota queries
Price sync can overwrite official same-name model prices; custom model entries are unaffected
04Who is it for? When not to use it?
Good for
- DeepSeek Harness users who want real-time spend visibility, peak/off-peak pricing alerts and multi-vendor Coding Plan quota tracking
Not for
- Per-model history backfill depends on the host session log still being on disk; calls whose log was cleaned can only be reconstructed as an 'unassigned model' residual row.
05Compatibility, maintenance and safety notes
- After installing or updating the plugin you must restart `dsh web` for the plugin rows, Typert manifest and client bundle to load.
- Balance queries require network access to api.deepseek.com and a valid API key; the key is only ever sent to the official domain, and requests to a non-official baseURL are refused for balance.
- Per-model history backfill depends on the host session log still being on disk; calls whose log was cleaned can only be reconstructed as an 'unassigned model' residual row.
MIT · 由 facts pack 抓取(README 分支 master)
06Frequently asked questions
How do I install dsh-cost-meter?
Run `dsh plugin --profile web add dsh-cost-meter` (or pin a release tag), then restart `dsh web`. The plugin rows and client bundle are scanned at startup.
Where does my API key go?
Balance queries go only to the official domain (api.deepseek.com) using the same API key as model requests. If baseURL points to a non-official domain, balance queries are refused; model requests are unaffected.
What is peak/off-peak pricing?
From 2026-08, peak windows are UTC 01:00–04:00 and 06:00–10:00 (peak price); the rest is off-peak at half price. From 2026-08-23 weekends are all off-peak. The plugin pops up and can send a system notification before a switch.
Does it block calls when I go over budget?
No. Budget and overspend prompts only notify you; they do not prevent the model call.
07Related DSH workflows
dsh-usage-stats
by ychris12138
Provider balances, subscription quotas, and token-usage analytics for the DeepSeek Harness Web GUI (dsh web).
tokdash
by jingbiaomei
Agent Dashboard: Visualization and analytics for Sessions and Quota Usage. Track, analyze, and optimize token usage across providers with heatmaps, cost tracking, token counting and quota resets..
dsh-balance-meter
by ghost011118
DeepSeek account balance and session cost readout for the DeepSeek Harness Web GUI
dsh-plugin-langfuse
by linyp
Langfuse observability for DeepSeek Harness (dsh): exports agent sessions as OpenTelemetry trace trees (GenAI semconv) to Langfuse's OTLP endpoint
08Data and sources
DeepSeek Harness 会话费用统计插件(界面中英双语)
dsh plugin --profile web add dsh-cost-meter
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-23. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
