dsh-token-metrics: Token, Cost, and Vendor Balance Statistics in DSH

dsh-token-metrics is a DSH model inference plugin maintained by hugoyee75-cmyk. It aggregates token usage from session logs for each model call, estimates costs based on LiteLLM pricing (including DeepSeek's peak and off-peak pricing), and displays multi-dimensional breakdowns, cache hit rates, 32 service presets, and gateway/official balance quotas with alerts in the sidebar. No data is uploaded. Installation can be performed via `plugin_manager install_bundle` or profile link dependencies. It supports historical backfilling, an HTTP aggregation API, and self-updates.

Read More