dsh-billing: DeepSeek Harness Session Billing and Quota Plugin

dsh-billing is an independent community session billing plugin for DeepSeek Harness, designed to provide cost references and quota views during local development and debugging. It primarily provides three main functions: tracking token costs by provider/model, generating billing session projections, and displaying current round/session costs, quota progress, and model details in the Web interface. The plugin supports configuring currency (e.g., CNY/USD) and per-session quotas, alerting users via color changes when the quota reaches 50%, 80%, and 100%. Installation can be completed via a bundle or a manual npm package. For price configuration, user settings are prioritized, falling back to built-in directories otherwise. It should be noted that the fees provided by dsh-billing are for local reference only.

Read More
dsh-billing: DSH Web GUI Real-time Billing Monitoring Plugin

dsh-billing is a real-time billing monitoring plugin for the DSH Web GUI, centrally managing local model call usage, balance, and cost estimation. Its core features include a sidebar displaying real-time balance (refreshes every 2 seconds) and status alerts, as well as an expandable panel for viewing consumption details, token usage, and recent transactions. It supports DeepSeek v4 peak-valley pricing and multi-vendor unit price matching, and allows syncing of official balances and unit prices via API Key. The plugin offers a settings page for configuring thresholds, unit price tables, and data management, and integrates the `billing_balance` Agent tool for querying. Ledger data is stored persistently and automatically restored upon restart. Installation requires no build and supports direct installation from GitHub or locally. Please note that it only tracks local calls, API keys are stored in plain text locally, and billing is estimated. It is suitable for real-time monitoring scenarios.

Read More
dsh-billing: Displaying Account Balance and Session Costs in DeepSeek Harness

`dsh-billing` is a DeepSeek Harness plugin designed to display the DeepSeek account balance and current session costs (in CNY) in real-time within the Web UI. It addresses the inconvenience of manually checking bills during conversations, offering three query interfaces: a persistent dual-capsule display at the session header, slash commands (`/balance`, `/cost`), and a model tool (`deepseek_billing`). Key features include instant data refresh upon clicking the capsule, hover-to-view details for recharges, bonuses, USD conversions, and token/cost breakdowns by model. The plugin utilizes event-driven refresh with zero requests when idle and supports automatic synchronization of the latest official pricing (including peak/off-peak rates) every 12 hours. Users can configure pricing via `config.pricing` and `config.`

Read More