Developer Toolsdsh-plugin

dsh-web-billing

dsh-web-billing is a DeepSeek Harness (dsh web) plugin for RMB/USD token billing. Per the repository README, it provides policy-based auto pricing with peak/off-peak hours, per-message ledger, account balance queries, locale-driven currency display, a Settings → Costs page, session badge, budget tracking, metering modes, and CSV/JSON export.

Stars
11
Forks
2
Open issues
0
Last push
Aug 19, 2026
Latest release
v2.3.1
24h Growth
+0
7d Growth
+0

Installation

dsh plugin --profile web add github:<owner>/dsh-web-billing

Overview

dsh-web-billing is a DeepSeek Harness (dsh web) plugin for RMB/USD token billing. Per the repository README, it provides policy-based auto pricing with peak/off-peak hours, per-message ledger, account balance queries, locale-driven currency display, a Settings → Costs page, session badge, budget tracking, metering modes, and CSV/JSON export.

  • Policy-based auto pricing with built-in price timeline and peak/off-peak hours; per-message pricing by completion time.
  • Per-message ledger keyed by (sessionId, messageId); idempotent duplicate handling and local-time today/month stats.
  • Account balance query via GET /user/balance with CNY/USD support, refresh interval, timeout, and retry behavior described in README.
  • Locale-driven currency display: auto follows UI language (English UI shows USD), or force CNY/USD.
  • Settings → Costs page with time-range filters, overview, source composition, token stats, monthly budget, data integrity checks, CSV/JSON export.
  • Session header badge shows session cost, savings, per-model stats, balance toggle, and DeepSeek peak/off-peak notice.
  • Provider metering modes: usage, usage-free, subscription, free, local; README states historical revaluation after changes.
  • Coding plan routing for opencode-go, opencode, kimi-coding and subscription token plans; sync script regenerates price table from local DSH catalog.

Related plugins