AI Agent Hub
Back to plugins
🧩

dsh-cost

admin-security Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install dongsheng123132/dsh-cost

Paste the following prompt into your AI chat to install this plugin:

To install the dsh-cost plugin in DeepSeek Harness, run the command: dsh plugin install dongsheng123132/dsh-cost, with the full source code at https://github.com/dongsheng123132/dsh-cost.

About this plugin

dsh-cost is a plugin designed for DeepSeek Harness to address the issue of missing evidence in token cost tracking. In AI applications, cost calculations based on incomplete data can lead to misleading totals, skewing budget decisions. dsh-cost solves this by analyzing persistent session logs, ensuring every cost is derived from actual assistant message usage records, thus eliminating any guesswork or fabrication.

The plugin's core capability lies in its evidence-first cost calculation approach. It automatically attributes usage records to specific request, header, provider, and model routes, then applies a user-defined price book for accurate computation. It offers two practical tools: dsh_cost_report for detailed cost reports and evidence completeness analysis, and dsh_cost_check for explicit budget check decisions. Users maintain full control over pricing, with no built-in vendor prices, ensuring flexibility and accuracy.

dsh-cost is ideal for administrators, development teams, and any user concerned with token expenditures in DeepSeek Harness. Whether you need to monitor daily costs, set budget thresholds, or ensure billing transparency, this plugin provides reliable support. It is particularly suited for cost-sensitive scenarios where precise management is critical, and avoiding misjudgments due to incomplete data is essential.

Use Cases

  • Monitor real-time token expenditure in AI sessions
  • Set and enforce budget threshold controls
  • Generate transparent and verifiable cost reports

Best For

  • Administrators and operations teams for DeepSeek Harness
  • AI development teams focused on cost efficiency
  • Finance leads requiring precise billing management