Back to Marketplace
OperationsPlugin

TokenLedger

zh667/TokenLedger

TokenLedger is a tool for DeepSeek Harness. Relay-site attributed token usage for DeepSeek Harness — zero config, no credentials

zh667/TokenLedger Screenshot preview
Stars
159
Forks
12
Issues
2
Update
40 days

REVIEW SCORECARD

Review Scorecard

8.0/10Average
License compliance9.0
Engineering quality7.5
Content completeness7.0
Repository scale7.0
Maintenance activity8.0

✓ No risk detected · Automated scan results are for reference only, not an official endorsement

AI DEEP REVIEW

Worth AI Review

8.4/10Recommended

Well-documented, actively maintained DSH plugin that adds zero-config relay-attributed token accounting with strong read

Code quality8

README documents a shared host-owned aggregation layer, CLI/panel parity, reindex and diagnostics commands, and explicit edge-case handling (short SHA resolution, Sub2API response shapes), though no test suite or CI is visible.

Security8

README states endpoints accept only loopback GET with peer-socket checks, never read prompts/tool args/response bodies, and declared endpoints are constrained to configured provider origins with single-slash paths, GET-only, no cross-origin redirects, and keys sourced solely from the provider's apiKeyEnv.

Utility9

Solves a real pain point by attributing token usage to the actual relay origin via baseURL normalization, plus balance, subscription quota, cost estimation, and CSV/JSON export across ten provider types.

Maintenance8

Last updated 2026-08-24, not archived, 159 stars, and README references a recent DSH >= 0.1.0-rc.6 requirement with documented upgrade/remove flows.

Documentation9

README covers install, version pinning caveats, full command list, provider support table with upstream endpoints, settings.yaml schema, and declared-endpoint field paths in both Chinese and English.

Generated by AI after reading the project README — a decision aid, not an endorsement. Neutral scores are given when information is limited.

PROJECT READMEREADMEExpandCollapse

Loading GitHub README...

INSTALL REFERENCE

Install reference

Structure check pending
dsh plugin --profile web add "github:zh667/TokenLedger"

This command was extracted from an explicit README install reference and is display-only; the DSH host will not execute it automatically.

PROJECT TOPICS

Project topics

VALIDATION LADDER

Validation progress

Structure check pending
01Store discoveryPassed
02ClassificationPassed
03Structure checkPending
04Sandbox validationPending

FAQ

Frequently Asked Questions

What is TokenLedger used for?

Relay-site attributed token usage for DeepSeek Harness — zero config, no credentials

How popular is TokenLedger?

TokenLedger has 159 stars and 12 forks on GitHub, last updated 2026-08-24.

What license does TokenLedger use?

TokenLedger is distributed under the MIT license.

Is TokenLedger compatible with DeepSeek Harness?

TokenLedger is listed in the DSH Universe directory as a tool for DeepSeek Harness. This plugin is listed in the DSH Universe directory and covered by its validation pipeline.

CLASSIFICATION EVIDENCE

Classification evidence

Project typePlugin
Feature categoryOperations
Rule confidenceHigh

The system checks GitHub Topics against the site taxonomy and keyword rules. Current matches:billing、token-usage。