kenz1117/dsh-ui-usage-billing

Sidebar billing dashboard: real usage aggregated from session logs (per-model and per-day calls/tokens/cache), cost estimated in CNY from a current multi-provider pricing catalog, subscription-plan (coding/token/agent) routes exempt, and per-provider health dots.

dsh-ui-usage-billing is a reconcilable billing ledger pipeline for DeepSeek Harness that goes beyond 'token count × unit price'. Real usage is aggregated live from persisted session logs (never fabricated; empty snapshot shows until real data arrives); daily official-balance deltas are cross-checked against the local ledger and deviations beyond the threshold prompt a review; peak/off-peak awareness follows the model. The dashboard shows every cent of model spend at a glance — session-level breakdown, daily totals, cross-checked against official balance deltas.

Usage & Billing ★ 0 updated 2026-09-20
View on GitHub ↗

Install

dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@latest

The README documents matching the DSH version to the install line: dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@latest or @stable. The npm package @kenz1117/dsh-ui-usage-billing 1.4.15 was re-verified live on 2026-10-01 with its repository field back-linking to kenz1117/dsh-ui-usage-billing. The README warns: dsh plugin add requires an explicit --profile (otherwise fails with 'required option --profile not specified'), and recommends pinning an exact version over @latest (pnpm's minimumReleaseAge cooldown may skip freshly published versions and fall back).

Compatibility

DeepSeek Harness web. Check DSH version first (dsh --version) and pick the matching install line; mismatched engines.dsh declaration is rejected by the DSH Store since v1.0.41.

Details

Recent updates

The README documents the reconcilable ledger concept, the Trendshift badge (trending), and the warning about --profile being required and the pnpm minimumReleaseAge cooldown. Carries npm, download, CI, license, PR and last-commit badges.

FAQ

How do I install the billing dashboard?
dsh plugin --profile web add npm:@kenz1117/dsh-ui-usage-billing@latest (npm 1.4.15 re-verified 2026-10-01); --profile is required.
How is usage data sourced?
Aggregated live from persisted session logs, never fabricated; an empty snapshot shows until real data arrives, per the README.
Does it check against the official balance?
Yes — daily official-balance deltas are cross-checked against the local ledger; deviations beyond the threshold prompt a review.

Alternatives

jasondu/dsh-ui-mobile · klarkxy/dsh-plugin-autoevo · limbo947/dsh-recall-plugin

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins