DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-usage-ledger

DeepSeek Harness plugin for token usage accounting, dynamic pricing, budget enforcement, and a web dashboard.

UI & ProductivityDeveloper ToolsBrowser & Web
2GitHub Stars0ForksUpdated2026-08-31

Install

No clear install command was found in the current repository evidence.

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-ledger records assistant token usage and calculates costs by session, Beijing-time day, and lifetime. It supports dynamic vendor pricing, configurable price overrides, budget warnings or call blocking, a usage_report tool, and dashboard/API routes.

Key Capabilities

  • Aggregates input, output, cache-read, and cache-write token usage per session, day, and lifetime.
  • Persists accounting data to a ledger file.
  • Fetches and refreshes pricing data from official vendor sources, including DeepSeek peak/off-peak pricing.
  • Includes pricing coverage for DeepSeek, GLM, Kimi, Qwen, Doubao, MiniMax, and ERNIE.
  • Supports custom model price overrides using longest-prefix matching.
  • Evaluates daily, total, and per-session budgets with configurable warnings and optional llm/stream call blocking.
  • Provides a usage_report tool plus a /usage-ledger dashboard and JSON API.

Useful For

  • Monitor token consumption and CNY cost across DeepSeek Harness conversations.
  • Set per-session, daily, or lifetime spending limits for model usage.
  • Inspect usage and budget state through a web dashboard or the usage_report tool.
  • Apply custom pricing to self-hosted or otherwise custom model IDs.

Who It Fits

  • DeepSeek Harness users who need token-cost visibility.
  • Teams or individuals operating multiple supported Chinese model providers.
  • Users who want budget-based controls for model calls.

Documented Limitations

  • Pricing is derived from fetched official pages and built-in catalog data; availability and parsing depend on those external sources.
  • If a pricing fetch fails, the plugin retains the last successfully fetched prices.
  • Budget amounts and pricing are documented in CNY per million tokens.
  • The web dashboard is registered through dsh-host-webserver.

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, 20 development, 9 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
beijingwahw/dsh-usage-ledger
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
9c26362 · 2026-09-13

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
2GitHub stars
Forks
0
Open issues
0
Last commit
2026-08-31
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