dsh-cost
Run the following command in DeepSeek Harness:
dsh plugin install david0702/dsh-cost
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install david0702/dsh-cost inside DeepSeek Harness to install; source is available at https://github.com/david0702/dsh-cost .
About this plugin
The DSH bottom stats bar shows turns, elapsed time, TPS, and token totals, but never answers the more practical question: how much did this conversation actually cost? dsh-cost adds a cost pill beside the stats row, settling every request by its real send timestamp and the model that handled it at that moment, rather than retroactively applying the current rate to the entire batch.
The pricing engine splits time into three tiers, each carrying its own per-token prices: legacy rates, the post-flash-cutdown off-peak window, and weekday peak hours. Spend routed to different models within a single turn is attributed to each model separately. Vision tokens in the session are tracked and estimated following the official DeepSeek scaling rules. The pill also surfaces your account balance, auto-refreshing every five minutes; a click forces an instant sync and spins the coin icon for visual confirmation.
Built for developers who write code, compare models, or need precise per-session spend tracking in DSH. If you are tired of digging through logs at month-end to reconstruct your API bill, this small pill puts every cent in its place.
Use Cases
- Track actual API spend per DSH conversation
- Compare peak vs off-peak cost differences
- Reconcile per-model spend mix at month-end
Best For
- Developers writing code daily in DSH
- Indie developers tracking API budgets precisely
- Cost-sensitive users doing multi-model comparisons
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.