DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-usage-billing

DeepSeek Harness plugin for tracking DeepSeek token usage and estimated billing across local sessions.

Terminal & TUIDeveloper Tools
10GitHub Stars1ForksUpdated2026-08-24

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 web-profile DeepSeek Harness plugin that records model-call usage, reconstructs historical session statistics, estimates costs using its documented Beijing-time pricing periods, and presents usage dashboards in the main UI and settings.

Key Capabilities

  • Listens to `llm/stream` and records input, output, cache-hit, and cache-miss tokens.
  • Backfills statistics by scanning local session logs on first startup.
  • Calculates estimated costs across pre-2026-08-17, post-change peak, and off-peak pricing periods.
  • Adds a main-interface summary panel, current-session usage line, and detailed settings-page analytics.
  • Provides heatmaps, model breakdowns, session rankings, recent calls, and reset/backfill controls.
  • Exposes a `usage_stats` dynamic tool for querying usage statistics.
  • Persists statistics in `.dsh-usage-stats.json` under the write-policy root directory.

Useful For

  • Monitor estimated DeepSeek spending across local Harness sessions.
  • Review token consumption and costs by session or model.
  • Inspect usage over daily, weekly, monthly, yearly, and cumulative periods.
  • Let a model answer questions such as current estimated spending through the `usage_stats` tool.

Who It Fits

  • DeepSeek Harness web-profile users
  • Users tracking local DeepSeek model token consumption
  • Developers and power users who need session-level cost visibility

Documented Limitations

  • Cost calculations use the plugin's documented pricing table and Beijing-time peak/off-peak rules.
  • Statistics are stored locally in `.dsh-usage-stats.json`.
  • Running two instances simultaneously can cause shared statistics-file writes to overwrite each other.
  • The README says a restart and page refresh may be required after first installation for the client panel to appear.

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
e2939bd · 2026-08-25

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
10GitHub stars
Forks
1
Open issues
2
Last commit
2026-08-24
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