xavier711/dsh-deepseek-usage

xavier711★ 0JavaScriptLast synced: 2026-08-14

Open on GitHub

A DeepSeek usage panel plugin for the DeepSeek Harness Web GUI. It adds a 「Usage / 用量」 entry at the bottom of the left sidebar.

README excerpt

dsh-deepseek-usage 中文版 A DeepSeek usage panel plugin for the DeepSeek Harness Web GUI. It adds a 「Usage / 用量」 entry at the bottom of the left sidebar showing: - Account balance — queried live from the official endpoint GET /user/balance (total, topped-up, granted). - Local usage — replays your own session logs (which store the official per-request usage records) and shows: today / last 7 days / all time, a 7-day chart, today's token composition, per-session breakdown, and per-model statistics . - Cost estimate — priced per model at official DeepSeek rates (CNY per 1M tokens), including the V4 peak/off-peak pricing effective 2026-08-17 (peak hours in Beijing time are applied automatically). Note: DeepSeek's API does not expose an account-level usage endpoint (all candidate paths return 404 in practice). The usage data therefore comes from your local session logs — which contain the exact usage values returned by the official API for every request. Screenshots The panel opens from the 「用量」 entry at the sidebar foot. All figures below are synthetic sample data — no real balance, keys, tokens, or session content. Dark theme Light theme Install (pick one) You need Node.js first (downloa…

View full README on GitHub →
Skins / UIdeepseekdeepseek-harnessdsh-pluginsidebar

Category