HunterCHCL/dsh-usage-meter
HunterCHCL★ 0JavaScriptLast synced: 2026-08-16
simple usage meter to show how much money is consumed. Supports peak and valley charges
README excerpt
dsh-usage-meter English 中文 Want to see your account balance? Want to know how much a single sentence costs you, without a pile of analytics features? Want to see how much a price hike hits your wallet? This plugin is for you. It shows your DeepSeek official API balance and the amount spent in the current session in the top-right corner of the interface; hover over the amount to see the details. The price table and peak/off-peak pricing are configurable on the settings page. UI language : All UI copy follows the language selected in DSH (中文 / English). Switch it live in DSH Settings → General → Language; when unset, it follows your browser language. Features - Session header indicator: - Balance: calls the official DeepSeek GET https://api.deepseek.com/user/balance ; hidden for non-official APIs / missing key / failed queries. - This session: shows the amount used by the current session (CNY, 2 decimals). Hover for details. UI: - Settings page "Balance / Usage": balance details plus pricing settings : - A peak/off-peak pricing toggle. When enabled, every request is priced by the time window it occurred in, giving accurate amounts even when a conversation spans peak and off-peak wind…
View full README on GitHub →