项目的 README,来自 github.com/Han-1413141/dsh-cost-meter。合并为一个 markdown 文件:README.md。
Cost tracking and subscription quotas for DeepSeek Harness
English | 简体中文
Install · Features · Screenshots · Docs · Community
Track costs and tokens by conversation, model and call. View account balances, subscription quotas and budgets together, with separate API charges and Plan equivalents, multi-provider pricing, peak/off-peak alerts, and configurable sidebar and composer displays.
Project illustration
Full conversation view in light or dark mode to match your theme. Screenshots use example data.
Requires Node.js ≥ 20, DSH 0.2.0 or later, and pnpm available to DSH. See host compatibility.
dsh plugin --profile web add dsh-cost-meter
Restart dsh web after installation or updates. Desktop uses its bundled CLI and the desktop profile; follow the Desktop guide.
The PowerShell installer checks pnpm and Git and uses the web profile by default:
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.97/install.ps1 | iex
Install a pinned Git tag:
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.97
See installation and updates for uninstalling or installing without Git.
Current release v1.9.97: release notes · troubleshooting
OpenCode Go setup · CommandCode provider and accounts
Add and enable a Magpie gateway under Settings → Cost → Quotas to view quota windows and balances by provider and account.
See features and screenshots for entry points and model and plan support for providers and credentials.
| Cost trends and model ranking | Conversation cost distribution |
|---|---|
![]() |
![]() |
| Subscription quotas and balances | Display settings and interactive preview |
|---|---|
![]() |
![]() |
Select an image for full resolution. More views: call details, prices, history, dark themes and mobile.
Switch layouts under Settings → Cost → Display → Sidebar → Sidebar layout. Each screenshot uses the same example balance, quota and usage.
| Standard | Compact |
|---|---|
![]() |
![]() |
| Simple | Combined card |
|---|---|
![]() |
![]() |
The DeepSeek icon shows the balance and the current pricing period. Select it to open the details.
| Off-peak | Peak | Open during peak |
|---|---|---|
Thanks to @chanyuenpang for proposing and implementing the Icons sidebar layout.
| Topic | Guides |
|---|---|
| Setup and use | Install, update and uninstall · Troubleshooting · Display settings |
| Statistics and billing | Billing rules · Statistics and details · Models and plans · Peak schedules |
| Balances and quotas | Credentials · Custom balances · Gateway quotas · Plan estimates |
| History and storage | Retention and cleanup · Repricing · External usage · Ledger recovery |
| Development | Architecture and development · Contributing · Host compatibility |
| Releases | Update history · CHANGELOG |
Open an issue with plugin and host versions, reproduction steps and relevant logs. The WeChat group is available for usage questions and feature discussions.
Thanks to everyone who contributes reports, ideas, documentation and code.
MIT © 2026 dsh-cost-meter contributors