
Han-1413141/dsh-cost-meter
dsh-cost-meter
Cost tracking for DeepSeek Harness: session and model costs, token usage, budgets, provider balances, and coding-plan quotas. Bilingual English/Chinese UI.
Install
npx @deepseek-ai/dsh plugin --profile web add dsh-cost-meterRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-cost-meter)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from Han-1413141/dsh-cost-meter, cleaned of badges and images.
dsh-cost-meter
English | 简体中文 · Install · Features · Screenshots · Community
Session cost tracking plugin for the DeepSeek Harness web GUI (bilingual UI)
v1.9.41 fixes Web startup and protects settings with durable ledger writes and an independent configuration backup.
Host floor: DSH 0.2.0 · Adaptation target: 0.2.1-rc.2 (npm next). Expand the compatibility notes below for exact declarations, host records and troubleshooting.
Release notes: v1.9.41. Fully restart DSH after updating.
Full feature summary
Per-conversation cost · daily totals · OpenCode Go subscription quota display · budget with usage percentage · official account balance · custom provider balance · balance progress bar · history · peak/off-peak pricing hours display (peak hours UTC 01:00–04:00, 06:00–10:00; weekends and Chinese public holidays are off-peak all day, with separate labels) · pre-switch popup & system-notification alerts for peak/off-peak changes (position / lead time / alert type configurable) · one-click price sync from the official docs · Codex-style token usage heat grid · multi-vendor model pricing (built-in 170+ model-ID catalog with auto-matching) · mainstream Coding Plan quota queries & display (Anthropic / Z.ai / MiniMax / Kimi / OpenRouter / SiliconFlow / CommandCode / Cline Pass / SCNet / Volcano Ark / Qwen / Xiaomi MiMo / Factory Droid) plan/API dual-track billing (subscription quota vs pay-as-you-go money separated, per-1% & full-window token/equivalent-cost estimates with daily/weekly/monthly curves) · subscription plugin compatibility (Codex / ChatGPT subscription plans) · mobile layout (dsh-pocket) · quota strip above the input box (budget / Go / coding-plan usage in one row, toggleable)
Compatibility, configuration and troubleshooting
Minimum supported host: DSH 0.2.0. The plugin declares the floor in engines.dsh, the host's admission gate for plugins, and no longer supports any DSH 0.1.x release; the adaptation target is the npm next release 0.2.1-rc.2. Exact ranges and how the host reads them: compatibility declaration.
Supports official Search/Fetch request fees, separately from model tokens.
Configuration and verification: OpenDesign queries, dynamic ports / LAN / WorkBuddy2API setup, and opacity fixes with performance measurements.
Desktop users: follow the Desktop installation instructions for the application's own CLI and desktop Profile.
Host records inside the declared range, and the earlier 0.1.x history, are in the compatibility record; the per-release list lives in package.json (dsh.compatibility.dshReleases).
If startup reports Ledger is busy and the cost widgets are missing, see ledger lock recovery.
Community and feedback: Join the WeChat group →. The WeChat group is open. You're welcome to join.
Feature overview
…

