dsh-turn-price
Shows what each completed turn cost in CNY on its own row under the turn, with a click-to-open breakdown naming the tokens per category, the unit rate, the matched price rule and the billing instant; per-model rates are edited on a settings page inside DSH — four token categories plus weekly recurring peak/valley rules with arbitrary multipliers and absolute time-window promo prices that override them. It also reads the balance or remaining quota of 14 providers (DeepSeek, OpenRouter, Zhipu GLM, Moonshot, MiniMax, Kimi Coding, OpenAI-compatible relays and more) and shows today / this month / this session spend next to it; spend is accumulated in a local ledger (atomic writes, one book per API key, 1-24 month retention, JSON export), and a monthly calendar lets any day be corrected by hand - including days with no balance observation - with an optional note. Usage and rates are computed locally from what the provider reported; balance is read straight from the provider API with your own key, and nothing is sent to a third party. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Overview
Shows what each completed turn cost in CNY on its own row under the turn, with a click-to-open breakdown naming the tokens per category, the unit rate, the matched price rule and the billing instant; per-model rates are edited on a settings page inside DSH — four token categories plus weekly recurring peak/valley rules with arbitrary multipliers and absolute time-window promo prices that override them. It also reads the balance or remaining quota of 14 providers (DeepSeek, OpenRouter, Zhipu GLM, Moonshot, MiniMax, Kimi Coding, OpenAI-compatible relays and more) and shows today / this month / this session spend next to it; spend is accumulated in a local ledger (atomic writes, one book per API key, 1-24 month retention, JSON export), and a monthly calendar lets any day be corrected by hand - including days with no balance observation - with an optional note. Usage and rates are computed locally from what the provider reported; balance is read straight from the provider API with your own key, and nothing is sent to a third party. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Installation
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.
Installation notes
- May run terminal commands