dsh-cost-tracker
Run the following command in DeepSeek Harness:
dsh plugin install Visol-456/dsh-cost-tracker
Paste the following prompt into your AI chat to install this plugin:
To install the dsh-cost-tracker plugin in DeepSeek Harness, run dsh plugin install Visol-456/dsh-cost-tracker, the source code is located at https://github.com/Visol-456/dsh-cost-tracker。
About this plugin
With the recent adjustments to DeepSeek's pricing strategy, including the introduction of peak-hour rates, managing costs has become more complex. Standard tools often rely on rough estimates rather than actual financial data. This plugin addresses that gap by precisely tracking every model invocation and converting token usage—including cache hits and misses—into real RMB costs, allowing you to cross-reference data with the official platform dashboard effortlessly.
At its core, it offers a comprehensive cost monitoring solution. The plugin not only displays real-time costs per call but also aggregates data into session-level summaries and a global statistics page. The global view features a dual Y-axis trend chart to visualize cost, token volume, and cache hit rates over time, complete with model and source filtering. Data is persisted locally, and the plugin ensures strict accuracy through built-in price table validation.
Whether you are a developer seeking fine-grained budget control or an enterprise looking to analyze cost distribution during peak hours, this tool is designed for you. It complements routing plugins like dsh-llm-fallbacks by focusing strictly on "how much was spent," providing the transparency needed for effective LLM cost management.
Use Cases
- Monitor LLM call costs
- Analyze spending during peak hours
- Verify official usage data
Best For
- Developers needing budget control
- Enterprise users of DeepSeek API
- DevOps engineers managing compute resources
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.