dsh-ui-cost
Run the following command in DeepSeek Harness:
dsh plugin install uaapple/dsh-ui-cost
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uaapple/dsh-ui-cost in your terminal to install the plugin from https://github.com/uaapple/dsh-ui-cost into your current DSH session.
About this plugin
The stock DSH stats strip reports turn counts, LLM wall times, and TTFT, yet it never answers the question most users care about: how much is this conversation actually costing? dsh-ui-cost takes over that same stats line as a pure browser plugin, appending billed-token totals and a live cost figure right next to the existing performance metrics, so spend and throughput are visible at a glance without leaving the composer.
Cost is computed from the session durable tokenUsage projection: non-cached input and cache writes at the cache-miss input rate, cache reads at the hit rate, and output at the output rate, all priced against the model currently selected for the session (deepseek-v4-flash and deepseek-v4-pro today). Rates are sourced from the official pricing table and follow the announced peak/off-peak schedule automatically (peak 09:00-12:00 and 14:00-18:00 Beijing time, off-peak at half rate), and a model switch re-prices immediately with no refresh.
Because the plugin never modifies the ui-conversation core, a DSH upgrade that restores the stock core cannot break it, and if the plugin itself ever crashes the shadowing mechanism silently falls back to the native strip. It is designed for developers and teams who use DSH Desktop or the Web client regularly, monitor per-turn or cumulative API spend, and switch between multiple models on the fly.
Screenshots
Use Cases
- Monitor per-turn token billing and cost in real time while chatting in DSH Desktop
- See instant re-pricing when switching between DeepSeek models without a refresh
- Track peak and off-peak rates applied to cache-hit and non-cached input automatically
Best For
- Developers who monitor per-turn or cumulative API spend while working with DeepSeek models
- Teams that switch between multiple models and need at-a-glance cost comparison
- Plugin users who want an enriched stats strip without modifying the DSH core
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.