Skip to content

Token usage

Mod by nakamotosai

Adds a panel that totals coding agent token use, cost and cache hit rate over a chosen date range.

Screenshot of Token usage

What it does

A panel in a docked column or a 560×460 overlay. It shows total tokens, input, output, cache read, requests and cost, plus the cache hit rate, the heaviest models and the projects they ran in. Range chips switch between Today, 7 days, 30 days and All.

It reads the omp session logs under ~/.omp/agent/sessions and indexes them in the background in small batches. The footer shows indexing progress. Needs omp sessions on disk; nothing else is required.

A panel that adds up what your coding agents have spent. It reads the omp session store — every .jsonl under ~/.omp/agent/sessions — and shows the range you pick (Today / 7 days / 30 days / All): total tokens, input, output, cache read, requests and cost, the cache hit rate, the heaviest models and the projects they ran in. It indexes in the background in small bites, so the panel stays responsive while it walks a store of gigabytes, and it says what it is doing in one footer line. It is built…

From the author's RECIPE.md

Good for

Where it appears

Needs

omp sessions in ~/.omp/agent/sessions

More from nakamotosai/herdr-agent-panels

3 other entries in the same repository.

Conversation log

by nakamotosai

Adds a panel that records what each agent terminal shows into append-only log files on disk.

Agent status & alerts21 mo ago

Panel buttons

by nakamotosai

Adds Usage, Log and Cron toggle buttons that show or collapse a docked panel column.

Spaces, tabs & sidebar21 mo ago

Task scheduler

by nakamotosai

Runs recurring agent tasks in new tabs on a timer while the Herdr window is open.

Sessions & history21 mo ago

Similar mods

Same job, overlapping tags and integrations.

All of Usage, quotas & costs

Agent Usage

by stefanoginella

Shows Claude Code and Codex weekly limits in the sidebar and a dialog with usage by project and model.

Usage, quotas & costsKeyboard shortcuts137today

Insights

by GaganSD

Shows token usage across coding agents in a dashboard tab opened from a toolbar button.

Usage, quotas & costs104today

Claude status

by ozcberkay

Shows Claude subscription limits and the Claude Code session's model, context, cost and cache in two panels.

Usage, quotas & costs426 days ago

Herdr Magpie Route

by SteinX

Shows a sidebar with Magpie routing paths, model cache hit rates, usage costs and provider quotas.

Usage, quotas & costs110 days ago

CodexBar

by geekz-reno

Shows AI provider quotas, rate windows, credits and local spend in a right-side panel with account switching.

Usage, quotas & costsKeyboard shortcuts119 days ago

Pond Usage

by SimonBystromTableCheck

Shows pinned Claude accounts' token budgets, session and weekly limits in cards at the bottom of the sidebar.

Usage, quotas & costs02 days ago

Agent quota

by ivanvykopal

Shows each agent's model and context use under its row, with subscription limits in a pinned footer.

Usage, quotas & costs04 days ago

Agent usage

by ahmtcn34

Shows per-agent token use, cost and rate-limit bars in a sidebar card list for several coding agents.

Usage, quotas & costs05 days ago