Know what your AI agents cost.
Measure Command Code, Claude Code, Codex, OpenCode and Cursor in one place. See what drives known spend, what is still unmeasured, and which numbers are provider-reported versus rate estimates.
npx tokenflexing@latest scan
- No account required
- Private by default
- We never read your prompts
One total is not an answer.
TokenFlexing separates measured spend from blind spots so you know where to investigate first—and when a dollar figure is only an estimate.
See exactly how every source is measured →- Biggest driver
- Rank known spend by source
- Act here first
- Cost provenance
- Provider-reported or rate estimate
- Trust the scope
- Coverage gaps
- Detected activity is never called $0
- See what is missing
- Command Code
- Claude Code
- Codex CLI
- OpenCode
- Cursor
Receipts. Not vibes.
- Week
- $8.6K
- Tokens
- 10.7B
- Models
- 24
- Week
- $4.4K
- Tokens
- 8B
- Models
- 30
- Week
- $4.1K
- Tokens
- 9B
- Models
- 10
Public profiles show aggregate snapshots sent with tokenflexing sync. Keep your dashboard private unless sharing your totals is useful to you.
Start private. Sync only when you choose.
Works on Mac, Linux and Windows. The first scan needs no account, changes no editor config, and uploads nothing — just runnpx in any terminal.
0 · Make sure Node.js is installed
Detected · your OSEvery tokenflexing command runs through npx, which ships with Node.js. Open a terminal and run this once to check what you have:
I don't have Node yet — show me how to install it⌃
Install Node.js
$# See https://nodejs.org/en/download for your platformDownload Node.js → nodejs.org/en/download- 01Scan privately
Reads usage counters already stored by your local AI tools. Prompt and completion text is ignored.
zsh — ~/code$npx tokenflexing@latest scan✓ Measured local AI tools→ No account · no upload · no config changes - 02Understand
See today, 7-day and 30-day usage by source and model before deciding what to connect.
zsh — ~/code$npx tokenflexing@latest stats✓ Source and model breakdown ready→ Known spend stays separate from coverage gaps - 03Connect optionally
Pair a private dashboard for cross-device history. Daemon, MCP, and public sharing remain separate opt-ins.
zsh — ~/code$npx tokenflexing@latest connect✓ Paired and synced aggregate usage→ Automation and editor changes are opt-in
We only read the session files your AI tools already save on your computer. We never see what you typed or what the AI replied — only how many tokens it used.
All setup paths · alias · hooks →Start with your own numbers.
Run a private local scan now. Create an account only when cross-device sync or an optional public profile is useful to you.
npx tokenflexing@latest scan