← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-usage-billing

Tracks token usage and calculates billing costs across DeepSeek Harness sessions with peak/off-peak pricing models, UI dashboards, and budget alerts.

Terminal & TUIDeveloper Tools
9GitHub Stars2ForksUpdated2026-09-29

Install

$ dsh plugin --profile web add dsh-usage-billing

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-usage-billing is a dual-sided plugin for DeepSeek Harness that automatically monitors model calls via `llm/stream`, performs historical session backfills, and computes costs based on official tiered peak/off-peak pricing and holiday schedules. It integrates interactive UI components including sidebar cards, a detailed session meter, a comprehensive settings dashboard, budget notifications, official balance fetching, and a dynamic LLM tool.

Key Capabilities

  • Automatic token usage and cost tracking by listening to llm/stream events
  • Historical session log backfilling on initial launch to reconstruct past usage and titles
  • Tiered peak and off-peak pricing support including 2026 Chinese holiday calendar exceptions
  • Budget progress indicators with orange/red warnings and desktop toast alerts
  • Interactive UI dialogs with currency switching (CNY/USD), usage heatmaps, and session breakdown tables
  • DeepSeek API official account balance fetching and runway estimation based on 7-day averages
  • Data export to CSV (daily or by session) and JSON formats
  • Dynamic `usage_billing` tool allowing the LLM to inspect recent and accumulated usage metrics

Useful For

  • Monitoring real-time API spending and token consumption across active DeepSeek Harness sessions
  • Managing daily or monthly DeepSeek API budgets with threshold alert notifications
  • Exporting structured usage datasets (CSV/JSON) for reconciliation and auditing
  • Querying token expenses directly within model chat sessions using tool calls

Who It Fits

  • DeepSeek Harness developers and power users seeking visibility into API token expenditures
  • Teams and individual creators budgeting and auditing model inference costs

Documented Limitations

  • Requires single-instance operation to prevent concurrent writes and race conditions on the local `.dsh-usage-billing.json` file
  • Requires an application restart and browser refresh after initial installation for client UI modules to mount
  • Local link development requires setting up a junction to the host `@deepseek-ai/dsh-tools` peer dependency

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 0 development, 1 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
940842546/dsh-usage-billing
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
d16e244 · 2026-10-01

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
9GitHub stars
Forks
2
Open issues
2
Last commit
2026-09-29
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app