dsh-cost-meter
Run the following command in DeepSeek Harness:
dsh plugin install GooDAnDReaDY/dsh-cost-meter
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install GooDAnDReaDY/dsh-cost-meter in your DeepSeek Harness terminal to install the plugin, available at https://github.com/GooDAnDReaDY/dsh-cost-meter, then restart the instance and refresh your browser to see the cost chip in the session header.
About this plugin
Agentic coding and multi-step AI workflows silently burn through prompts, completions, and context-cache tokens until the monthly bill lands. dsh-cost-meter embeds a high-precision cost chip right into the DeepSeek Harness conversation header, computing incremental prompt, completion, and cache read/write tokens in real time with no polling or UI stutter. One click on the chip opens an interactive breakdown showing your active UTC peak/off-peak window, per-model per-million-token rate tables, and a cumulative session spend summary all without leaving the chat.
The built-in dual-tier tariff engine tracks DeepSeek official peak windows (01:00–04:00 and 06:00–10:00 UTC), auto-detects the 50% off-peak discount, and permanently anchors each historical charge to the rate in force at execution time so retrospective re-rating is impossible. It distinguishes native endpoints from hosted gateways like OpenRouter, lets you pick currency symbol, exchange-rate multiplier, and display timezone, and warns you the moment a discount window is about to open or your session budget threshold is approaching. Cache savings are calculated and highlighted automatically so you can see exactly how much prompt caching is saving you each round.
If you run DeepSeek Harness for agentic coding, mix multiple models in a single session, or work in long-context tasks and want quiet always-on financial visibility without breaking your flow, dsh-cost-meter is the unobtrusive cost sentinel you have been missing. No extra backend, no polling loop just install, converse, and export a Markdown spend summary when you are done.
Use Cases
- Track per-turn token spend and cost in real time during agentic coding sessions
- Compare per-million-token rates and cache savings across multiple models in one session
- Schedule heavy inference rounds during off-peak windows to save up to 50%
Best For
- Developers running agentic coding workflows daily in DeepSeek Harness
- Team leads who need to keep monthly AI API spend under budget
- Technical operators focused on token cost optimization and cache strategy
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.