Cost Tracker: View DeepSeek Balance and Per-Message Costs in the DSH Interface

The Cost Tracker DSH plugin for dexwebcode displays your real DeepSeek API balance in the web chat header and estimates the current session's total cost and per-turn cost for each assistant reply based on official peak/off-peak unit prices. The balance is synced every 60 seconds via the host from api.deepseek.com/user/balance; costs are calculated from tokens split by deriveTurnTokenUsage. Ideal for cost control in long conversations; the session total only includes loaded turns. Install with `dsh plugin --profile web add` pointing to your local plugin directory. MIT 1.0.0.

Read More