yuu1111/dsh-ui-cost-meter
Real-time spend for the DeepSeek Harness Web GUI: one pill under the composer, beside the shipped turn/token pills, that says how much the session has cost so far. The amount rides the session projection seam (whole-log, so paging and compaction cannot change it), survives reloads, and is priced from the durable provider usage the harness already logs; clicking it opens a breakdown panel naming each cache bucket, the unpriced tokens and the route that priced them.
dsh-ui-cost-meter shows real-time spend for the DeepSeek Harness Web GUI as one pill under the composer, beside the shipped turn/token pills, that says how much the session has cost so far (for example $ 0.42 alongside the turn/step, tokens/second and cache-hit pills). The amount rides the session projection seam, so it is whole-log — paging and compaction cannot change it — it survives reloads, and it is priced from the durable provider usage the harness already logs. The pill is shaped like the shipped stats pills: clicking it opens a breakdown panel that repeats their dialog's title, rule and label/value rows, naming each cache bucket, the unpriced tokens, and the route that priced them.
Install
dsh plugin --profile web add dsh-ui-cost-meterCopied verbatim from the README's Install block; the README notes that under a source checkout add link:<path> works the same way, and that the plugin declares its own bundle patch so the row appears without editing cordis.patch.yml.
Compatibility
A client-side plugin for the DeepSeek Harness Web GUI. No configuration is needed: it ships a rate table (per one million tokens) for every model OpenCode Go (36 routes), OpenCode Zen (85 routes) and Command Code (87 routes) served when the table was generated, derived from models.dev and the providers' own model endpoints. Write rates only for routes where the shipped number is wrong for you — a peak-hour price, a different plan, or an unknown provider — and your key replaces the shipped one for that route.
Details
- Repo: yuu1111/dsh-ui-cost-meter
- Category: Usage & Billing
- Stars: 0
- Version: GitHub repo yuu1111/dsh-ui-cost-meter; npm package dsh-ui-cost-meter at 1.2.0 (registry check 2026-10-11; registry repository field resolves back to this repo).
Alternatives
940842546/dsh-usage-billing · dingyi222666/dsh-wakatime · FengHuoLinShan/dsh-plugin-llm-balance