Current model rates
GPT-6.1 Sol gets its own lower cache-read rate. GPT-6 Sol and Sonnet 5.5 retain their separate published cards.

RepoSpend tracks Codex, Claude Code, GitHub Copilot, and opt-in experimental Cursor usage by repo, session, model, and source surface. It reads files already on your disk. No login, no local usage telemetry, no prompt uploads.
Cost precision is strongest for Codex and Claude Code; GitHub Copilot support is initial, and Cursor import is experimental and opt-in.
npx repospendGPT-6.1 Sol pricing is here. See what changed →Node.js 20+ · Free and open source
One screen for every signal that matters: source filters, Start here actions, spend, top repos, cache reuse, command issue rate, and file edits. All grouped by Git root, all running on localhost.

Animated tour with fictional Middle-earth demo data. No private repository data is shown.
Request-level tiers and deduplication keep more estimates aligned with published rates. Your local pricing overrides remain yours as bundled rates are updated.
GPT-6.1 Sol gets its own lower cache-read rate. GPT-6 Sol and Sonnet 5.5 retain their separate published cards.
Mixed Standard and fast-mode sessions use published fast-mode cards where available, including cache TTL rates.
Custom pricing stays saved locally while new bundled model rates become available.
Defaults use Standard short-context rates, with explicit Claude fast-mode cards where published. Long-context requests and other processing modes can cost differently.
No vanity metrics. Just the things that tell you, repo by repo and session by session, where tokens and cost went.
Walks sessions to their Git root, so apps, packages, and scripts roll up into the project you recognize.
Codex, Claude Code, GitHub Copilot, and opt-in Cursor imports are separated by local source and app surface.
Compare models by token shape, API-equivalent cost, cache reuse, sessions, and repo concentration.
Separates blocking command failures from harmless shell exits, so high-token troubleshooting loops are easier to triage.
A confidence report explains token coverage, pricing coverage, repo verification, parser issues, and source warnings.
Dashboard-style filters now apply consistently to CLI summaries and JSON or CSV exports.
Click through the real product views. Expand a screenshot when you want to inspect the details without opening the app.
Source-linked guides to model prices, caching, and the local sessions behind your AI coding costs. You can also compare model prices in the browser calculator.
GPT-6.1 Sol input, cached input, cache-write, and output prices explained, with a worked estimate and local Codex usage tracking by repository.
Compare current Claude and GPT API prices, including cache reads and Haiku 5.5 prompt-length tiers, with context on coding-task cost.
No login, no API keys, no setup wizard. The hardest part is finding your terminal.
One command, and your dashboard opens at localhost:2005.
$ npx repospendScans supported Codex, Claude Code, GitHub Copilot, and enabled Cursor paths in read only mode.
local source files onlyFind the repo using the most tokens, then inspect sessions, command evidence, and data confidence.
localhost:2005RepoSpend binds to localhost. The app has no hosted usage analytics service and no account to create. It is Apache 2.0 and auditable.
This describes the local application. The public website uses PostHog for pageviews, safe public interaction events, and optional session replay on canonical production pages. Replay and interaction capture are disabled on the calculator; its inputs and results stay in browser memory and outside every PostHog channel. The banner and Privacy settings control PostHog only. Session recordings are retained for 30 days. The existing Cloudflare Web Analytics beacon remains active on production pages, including the calculator. Sentry remains limited to bounded diagnostics and is disabled there.
No account because there is nothing to store.
The dashboard does not report usage back.
Prompt and tool output stay local.
Source client files are read only.
RepoSpend was built first for Codex and now reads Claude Code and GitHub Copilot local data too. Cursor stays experimental and opt-in. RTK appears when local RTK data exists.
Tokens, models, sessions, repo grouping, command friction, file edits, and API-equivalent cost. Reads ~/.codex/state_5.sqlite and ~/.codex/sessions.
Sessions, projects, models, timestamps, and tokens when available. Unknown token and cost fields stay unknown instead of guessed.
Reads Copilot CLI OTEL exports, CLI session state, and VS Code Copilot Chat transcript/debug files. Costs stay unknown when local token splits are incomplete.
Best-effort local JSONL and SQLite/vscdb discovery. Tokens and cost remain unknown when Cursor does not persist exact usage locally.
Surfaces RTK token savings analytics only when local RTK data exists. Otherwise it stays out of the way.
Power users get terminal friendly commands and source filters. The full help is one --help away.
$repospendOpen the dashboard at localhost:2005
$repospend scanScan supported local Codex, Claude Code, GitHub Copilot, and enabled Cursor files again
$repospend doctorPrint local data confidence, pricing coverage, parser issues, and source warnings
$repospend by-repoAggregate tokens and cost by Git root
$repospend by-dayDaily timeline of token use and spend
$repospend by-hourHourly distribution for spotting unusual bursts
$repospend by-modelSplit usage across model names
$repospend by-appGroup by app or surface where detectable
$repospend export --format jsonDump the local usage data as JSON
$repospend export --format csvExport CSV for a spreadsheet
$repospend by-repo --source copilotFilter aggregates to one source
$repospend export --format csv --repo my-app --from 2026-05-01Apply dashboard-style filters to exports
$REPOSPEND_NO_OPEN=1 repospendPrint the URL without opening a browser
Trust the dashboard before you install it. These are the things people ask first.
No. RepoSpend binds to localhost and reads files already on your machine. There is no login, no telemetry, and no prompt upload path in the dashboard.
No. RepoSpend shows API-equivalent cost estimates from local token counts and pricing rules. It is useful for comparing repos and sessions, but it is not an invoice.
When local Claude Code transcripts expose the 5-minute vs 1-hour cache TTL split, RepoSpend prices each bucket at its own rate. Version 0.1.5 adds an explicit Sonnet 5.5 card at $2 input and $10 output per million tokens, and prices mixed Standard/fast turns using published model-specific rates. Unknown fast-mode rates keep the session’s cost unknown.
Yes. RepoSpend imports local Copilot CLI OTEL exports, Copilot CLI session state, and VS Code Copilot Chat transcript or debug files. Cost stays unknown when local data lacks full token splits.
No. Source client and RTK data are read only. RepoSpend settings, pricing overrides, and parse cache files live under ~/.repospend and can be reset from Settings.
Yes. Install once with npm install -g repospend, then run repospend. Node.js 20 or newer is required.
One command. No account, no upload, no surprise. The dashboard is already on your machine; RepoSpend just turns it into a map.
npx repospend