Token Tally
Token usage, cost, and plan limits across 8 coding agents (Claude, Codex, Grok, Cursor, OpenCode, Antigravity, Pi, Muse) from local transcripts.
Token Tally tracks token usage, estimated API-equivalent cost, and plan limits across coding agents from a single Usage screen in Paseo. It reads local session transcripts on the daemon host so sessions run inside or outside Paseo are counted together.
Supported providers
- Local transcripts: Claude Code, Codex, Antigravity, OpenCode, Pi, Grok, and Muse.
- Account dashboard: Cursor (read from Cursor's dashboard API using your existing local Cursor login, because Cursor keeps no local token transcripts).
How it works
When you open Usage from the sidebar footer or the Command Center (Open usage), the plugin scans each provider's local session files incrementally using byte-offset and modification-time caching, stores parsed totals under $PASEO_HOME/plugin-data/token-tally, and aggregates them by time bucket, provider, model, and project.
Project attribution inspects each session's working directory and its Git remote configuration so multiple Git worktrees (and WSL /mnt/<drive> paths on Windows) roll up under one project. Token counts are priced against the public LiteLLM model pricing table, with support for per-model custom price overrides and model aliases that apply retroactively to historical usage.
The Usage screen has three views:
- Cost and Tokens: Headline totals, cache hit rate and estimated cache savings, multi-provider trend chart, cost/token split by type (input, cache read, cache write, output), provider/project/model filters, and paginated Breakdown tables (Model, Project, and Hour / Day). Clicking a model or project row opens a detail dialog with its own trend chart, type breakdown, and (for projects) per-model table.
- Limits: Displays plan quota windows reported by connected Paseo usage sources, and shows available reset credits for Claude and Codex with an explicit Redeem action when eligible.
Setup and requirements
- Paseo: Requires Paseo
>= 0.17.0with plugins enabled (Settings > Plugins). Works on desktop and web across Windows, macOS, and Linux. - No external CLI required: Transcript parsers run natively inside the Paseo daemon with no extra runtime packages to install.
- Settings:
- Model prices (accessible from the Usage screen): Set custom USD per-1M-token rates (input, output, cache read, cache write) or alias one model ID to another.
- Usage history (
Settings > Plugins > Token Tally > Usage history): Configure how many days of cached transcript parses to keep (default90days, or unlimited).
Data access, network requests, and limitations
- Local files read (read-only):
- Provider transcript and session folders under your home directory (
~/.claude,~/.claude.*,$CLAUDE_CONFIG_DIR,~/.codex,$CODEX_HOME,~/.pi/agent/sessions,$PI_CODING_AGENT_DIR,$PI_CODING_AGENT_SESSION_DIR,~/.grok/sessions,$GROK_HOME,~/.local/share/muse/sessions,~/.local/share/opencode,$XDG_DATA_HOME,~/.gemini/*/conversations,~/.config/antigravity, and T3 Code Antigravity profiles when present). - Workspace
.git/configand~/.ssh/config(only to normalize repository names for project grouping).
- Provider transcript and session folders under your home directory (
- Local files written:
- Incremental scan cache and cached LiteLLM pricing JSON under
$PASEO_HOME/plugin-data/token-tally(defaults to~/.paseo/plugin-data/token-tally). - Host-scoped Paseo plugin settings (
pricingandhistory).
- Incremental scan cache and cached LiteLLM pricing JSON under
- Network requests:
- Pricing table: Fetches
model_prices_and_context_window.jsonfromraw.githubusercontent.com/BerriAI/litellm(falling back to the GitHub Contents API) with no credentials or user data sent, and caches it locally. - Cursor usage (optional, only if Cursor is signed in locally): Reads Cursor's local access token from
state.vscdbor~/.config/cursor/auth.jsonand requests billed events only fromhttps://api2.cursor.sh/aiserver.v1.DashboardServicewith HTTP redirects disabled. - Claude reset credits (optional, only on the Limits tab when local
~/.claude/.credentials.jsonor~/.claude.<profile>/.credentials.jsonexists): Callshttps://api.anthropic.comto list available reset credits and redeems a credit only when you explicitly trigger it. macOS Keychain is not accessed. - Codex reset credits (optional, only on the Limits tab when the
codexCLI is installed): Runscodex app-serverover stdio to read and (when triggered) redeem Codex reset credits; the plugin does not read Codex tokens directly.
- Pricing table: Fetches
- No telemetry: Prompt text, tool outputs, and session contents are never uploaded to any third party.
- Limitations:
- Cost figures are API-equivalent estimates derived from logged token counts and pricing tables, not invoice totals from provider billing portals.
- Plan quota windows on the Limits tab depend on Paseo usage sources installed and configured on the host.
- Claude reset-credit lookup on macOS requires a
.credentials.jsonfile because the daemon does not read the macOS Keychain.



