dsh-convo-cost
Run the following command in DeepSeek Harness:
dsh plugin install ljr282341583/dsh-convo-cost
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ljr282341583/dsh-convo-cost in the DeepSeek Harness terminal to install this plugin. Full source code is available at https://github.com/ljr282341583/dsh-convo-cost
About this plugin
When you drive conversations through the DeepSeek API, cost is often invisible—tokens fly, money drains, and you only find out how much a session actually cost by digging through invoices after the fact. dsh-convo-cost puts a real-time cost line right below the conversation input bar, updating instantly as each assistant/message usage event lands, so you always know where you stand: ¥x.xx · xx tok.
Hover over the status line for a full breakdown: call count, input tokens (with cache-hit split), output tokens (with reasoning split), the active pricing mode (base or peak/valley), and the model name. Pricing is strictly aligned to the official DeepSeek rate card (CNY per million tokens) and auto-switches to peak pricing during Beijing-time peak windows effective 2026-08-17. Unknown models are billed at ¥0 to avoid inflating estimates. The entire price table lives in a single config block in lib/index.js—update it once after an official price change and you are done.
It is built for developers who call the DeepSeek API frequently and want to keep a live eye on per-conversation spend, especially those juggling multiple models or operating in cost-sensitive peak/valley environments. No extra SDK or dashboard needed: install the plugin, restart dsh web, and the cost line appears.
Use Cases
- Monitor real-time token cost during development and debugging sessions
- Compare actual spend across conversations using different DeepSeek models
- Verify which pricing tier applies in the current peak or off-peak time window
Best For
- Developers who call the DeepSeek API frequently
- Teams that need precise cost accounting under peak and off-peak pricing
- Engineers who want per-conversation spend visible in real time
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.