dsh-token-billing: A Real-Time Token Billing Plugin for DSH

dsh-token-billing is a third-party real-time token billing plugin for DSH Web, designed to address the issues of non-intuitive costs, difficult historical queries, and multi-Provider cost classification when calling DeepSeek models. This plugin is based on the MIT license, with core features including direct billing using DeepSeek's official RMB prices, automatic distinction between peak and off-peak periods, support for custom model price overrides, and multi-currency conversion. Additionally, it provides a persistent historical ledger, multi-dimensional statistical dashboard, account balance query (requires API Key), local model savings statistics, and supports exporting data in CSV or JSON formats. Users can install it via the plugin marketplace (pending confirmation), as a pnpm dependency, or from local source code, with configuration taking effect immediately. This plugin is particularly suitable for users who need real-time

Read More