dsh-gauge: Precise Usage and Cost Estimation for DeepSeek Harness Web UI

dsh-gauge is a community plugin (MIT licensed) for the DeepSeek Harness (DSH) Web UI, designed to provide granular session statistics. Core features include precise cache hit rate calculation based on formulas, bucketed display of hit and miss token usage, context occupancy monitoring, and session cost estimation based on model unit pricing and peak/off-peak rates. The plugin supports both Chinese and English interfaces, with adaptive CNY/USD currency display, and can show peak/off-peak status badges in the statistics row. Users can quickly install it via the `dsh plugin --profile web add dsh-gauge` command and enable it by restarting the Web UI afterwards; alternatively, manual npm installation or source code debugging are also available. Configuration options can be accessed through the DSH settings interface or by editing the `cordis.p` file.

Read More