six6strings/dsh-thinking-token-stat
Reasoning-token totals and ratios in the composer dock, with per-turn breakdowns and an explicit reported-versus-estimated marker.
Puts a one-line readout in the status line under the message input — total thinking tokens, thinking share, and reasoning turns out of total turns — with a frosted-glass detail popover. That panel breaks the numbers into thinking output as a share of reasoning-capable turns and as a share of all billed tokens including input and cache, alongside total versus active-reasoning turn counts. A per-turn table adds the turn's thinking tokens, its total output, whether the count was reported or estimated, the exact provider and model attribution with retries and model switches tracked, the output share spent reasoning, quick filters by source, and a jump button that pages history to the message.
Install
dsh plugin add dsh-thinking-token-statThe dsh CLI line; the README's primary path is the plugin market in Desktop or the Web GUI, and a GitHub form is offered for the development branch. After installing, refresh the browser or desktop window (Ctrl+R) — the indicator appears once the model starts thinking.
Compatibility
The honest part is how it handles missing data: not every provider reports reasoning tokens, so counts are either provider-reported (shown exact, marked Reported) or estimated from reasoning text with multi-script character density (prefixed with a tilde and marked Estimated), and a provider that supplies neither is counted as non-thinking and collapsed by default in the turn list. The overview carries an explicit audit line saying what the figures cover, including empty turns and fork-excluded prefixes. State is kept as a session projection checkpoint of a few KB, and the browser half reads one projection value with no message parsing, no background requests and no localStorage caching.
Details
- Repo: six6strings/dsh-thinking-token-stat
- Category: Usage & Billing
- Stars: 1
- Version: 1.1.4 (npm)
Alternatives
kelearns/dsh-token-usage · Refone/dsh-billing-mini-tag · qingying012/dsh-token-watch