AI Agent Hub
Back to plugins
🤖

dsh-daily-ledger

Model Inference Updated 2026.08.17

Run the following command in DeepSeek Harness:

dsh plugin install jijiz1/dsh-daily-ledger

Paste the following prompt into your AI chat to install this plugin:

Install this plugin in DeepSeek Harness by running dsh plugin install jijiz1/dsh-daily-ledger; the source is hosted at https://github.com/jijiz1/dsh-daily-ledger.

About this plugin

If you call models in DSH every day but cannot tell how many tokens you have burned or how much you have spent this month, dsh-daily-ledger is built for exactly that. It runs entirely locally with no network calls and no data upload; once enabled it automatically listens to DSH usage events, recording every call token breakdown (uncached input, cache read, cache write, output, reasoning) along with a price snapshot taken at the time of the call.

Core features revolve around three things: a daily check-in with an optional note up to 500 characters where same-day repeats only update the note; cost and token statistics for any 1-to-366-day window split by provider and model; and a draggable, collapsible web widget in the bottom-right corner with three tabs for today overview, multi-day trends, and background customization, supporting CNY/USD switching. Reasoning tokens are counted inside output without double-charging, and models without a rate show as unpriced rather than being silently treated as zero.

It is well suited for individual developers who work with DeepSeek Harness daily and want a local ledger to glance at token consumption and spending trends at any time. All data stays in browser local storage and the DSH_HOME directory, so privacy is a non-issue; the pricing table can be extended to other providers and models, and new calls pick up new rate snapshots after a restart.

Use Cases

  • Review monthly token consumption and cost split by provider and model
  • Log a daily check-in with an optional note up to 500 characters
  • Glance at today usage and streak days via the floating web widget

Best For

  • Individual developers calling DeepSeek models on a daily basis
  • Users who want local token cost tracking without uploading data
  • Model users who want to check usage trends anytime in DSH Web