← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

TokenLedger

Zero-configuration token accounting and relay-site usage attribution for DeepSeek Harness.

UI & ProductivityDeveloper Tools
203GitHub Stars18ForksUpdated2026-09-15

Install

$ dsh plugin --profile web add "github:zh667/TokenLedger"

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
TokenLedger is a DeepSeek Harness plugin bundle that provides comprehensive token accounting and cost tracking. It automatically attributes token usage to relay site origins and project directories without requiring extra credentials or setup. The package integrates with the DSH Web UI and Blue dashboards, offering balance queries, subscription tracking, and CLI diagnostics.

Key Capabilities

  • Automatic relay-site attribution grouped by provider baseURL origins
  • Session and directory-level token accounting by working directory
  • Real-time balance and subscription quota queries across multiple upstream providers
  • Usage breakdown by model, site, time window, and cache hit ratios
  • Zero-config auto-discovery of existing host providers and loopback-only API endpoints
  • Integrated CLI commands and Web/Blue dashboard views

Useful For

  • Tracking API token consumption across different AI model providers and relay sites
  • Monitoring project-specific LLM costs in multi-directory workspaces
  • Auditing quota and balance status for subscription or balance-based model endpoints

Who It Fits

  • DeepSeek Harness users managing multiple API keys and relay services
  • Developers looking for project-based token billing and consumption breakdowns
  • Teams auditing LLM quota usage across diverse upstream providers

Documented Limitations

  • Custom endpoint declarations must share the origin of an already-configured provider and only support loopback GET requests
  • OpenRouter balance checking requires a Management Key rather than standard inference keys
  • Requires Node.js >= 22 and DeepSeek Harness >= 0.1.0-rc.6

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, 2 development, 2 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
zh667/TokenLedger
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin Bundle
Source checked
438d308 · 2026-09-27

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
203GitHub stars
Forks
18
Open issues
5
Last commit
2026-09-15
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