Auran-Lu/dsh-client-ui-monitor

Used to monitor the current session's quota consumption, estimated costs, and current API balance/Used to monitor the current session's quota consumption, estimated costs, and current

Pins a live usage dashboard to the bottom-left of the DeepSeek Harness web sidebar, showing for the current session: token usage (input with cache read/write, output), estimated cost computed from DeepSeek's published pricing (CNY or USD), and API balance queried via the DeepSeek user/balance endpoint. Chinese/English toggle, currency selector (CNY/USD), manual balance refresh, and auto-refresh every 30s.

Web UI Enhancements ★ 3 updated 2026-08-14 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add github:Auran-Lu/dsh-client-ui-monitor

GitHub install per README (English): dsh plugin --profile web add github:Auran-Lu/dsh-client-ui-monitor, then register the plugin — append - insert: - id: ui-monitor, name: '@auranlu/dsh-client-ui-monitor' to ~/.dsh/profiles/web/cordis.patch.yml — and restart the server (dsh web). Prerequisite: a DeepSeek API key configured in Settings → Models (stored as the DEEPSEEK_API_KEY credential). npm 404 at verify — GitHub is the documented channel.

Compatibility

DeepSeek Harness web profile. Balance queried via GET https://api.deepseek.com/user/balance.

Details

Recent updates

sidebar usage dashboard; token input/output + cache breakdown; estimated cost CNY/USD; API balance; 30s auto-refresh; zh/en toggle.

FAQ

What does the dashboard show?
Live token usage (input with cache read/write and output), estimated cost from DeepSeek's published pricing, and API balance.
Do I need an API key?
Yes — a DeepSeek API key in Settings → Models (the DEEPSEEK_API_KEY credential) is required for the balance query.
Is there an extra step after install?
Yes — register the plugin with an insert row in ~/.dsh/profiles/web/cordis.patch.yml and restart dsh web.

Alternatives

hashdiana/dsh-token-usage · qwert702/dsh-token-viewer · LaoYueHanNi/dsh-token-usage

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins