dsh-cost-balance: Cost, Balance, and Token statistics bar below the DSH input box

dsh-cost-balance is a DeepSeek Harness (DSH) Web UI plugin maintained by zoumutou and licensed under the MIT license. It aims to address the issue of scattered statistics during debugging by providing a unified statistics entry point below the input box. By default, it appears as a centered black bar; clicking it expands a translucent panel displaying the number of rounds, duration, average first token latency, cache hits, token usage, session cost, and the DeepSeek account's real-time balance (auto-refreshes every 60 seconds). Data is retrieved via same-origin interfaces; costs are calculated based on cumulative tokens and the model's unit price, while the balance requires configuring the DEEPSEEK_API_KEY. The plugin supports installation via the npm published version or source code, and can be configured via `cordis.patch.yml`.

Read More