Claude Code usage
Tokenmaxxing
A local CLI, built on ccusage, that syncs your token usage with everyone else.
Install
npm install -g @851-labs/tokenmaxxing@latestFound in the project README. Check it for setup steps after installing.
git clone https://github.com/851-labs/tokenmaxxing.gitFrom the README
tokenmaxxing.sh
The best place to track token usage
A local CLI, built on ccusage, that syncs your token usage with everyone else.
Installation
bootstrap signs you in, syncs the usage already on your machine, optionally
installs automatic syncing, and opens your public profile.
How it works
tokenmaxxing uses ccusage to read local coding-agent
usage, turn it into daily token and API-equivalent spend totals, and sync those
aggregates to your public profile. The leaderboard lets you compare spend or
tokens over the last 7 days, 30 days, or all time.
Sync is idempotent and profiles aggregate across devices, so you can run
tokenmaxxing bootstrap on every machine and sync as often as you like.
Supported agents
- Claude Code
- OpenAI Codex
- OpenCode
- Gemini CLI
- GitHub Copilot CLI
- Hermes
- Pi
- Oh My Pi
- Grok Build CLI
- Antigravity
- ZCode
- Amp
- Qwen Code
- Kimi CLI
- Kilo Code
- Goose
- Droid
- Codebuff
- OpenClaw
Agents stored outside their default location are found through the same
environment variables ccusage reads (for example CODEX_HOME, GROK_HOME, or
AMP_DATA_DIR; see ccusage's
environment variables).
Oh My Pi is read with ccusage's Pi parser, pointed at OMP's own sessions:
~/.omp/agent/sessions and every named profile under ~/.omp/profiles/,
following PI_CONFIG_DIR and an existing $XDG_DATA_HOME/omp like OMP does.
Pi and Oh My Pi never count each other's sessions: OMP ignores PI_AGENT_DIR,
and Pi skips any PI_AGENT_DIR entry that points at OMP's sessions.
Usage
The background service supports macOS, Linux, and Windows. It uses the global
tokenmaxxing binary and keeps itself current through the package manager that
installed the CLI when that package manager can be detected.
Custom agent log roots (CLAUDE_CONFIG_DIR, CODEX_HOME,…Details
- Repository
- 851-labs/tokenmaxxing
- Website
- tokenmaxxing.sh
- Language
- TypeScript
- License
- MIT
- Last updated
- 28 October 2026
- Topics
- ai-codingccusageclaude-codeclicoding-agentsdeveloper-toolsgemini-clileaderboardllmopenai-codexopencodetoken-usage
FAQ
What is Tokenmaxxing?
A local CLI, built on ccusage, that syncs your token usage with everyone else. It is a usage for Claude Code, from 851-labs/tokenmaxxing on GitHub.
How do I install Tokenmaxxing?
Run npm install -g @851-labs/tokenmaxxing@latest, then follow the setup in the README.
Is Tokenmaxxing popular?
851-labs/tokenmaxxing has 85 GitHub stars and 23 forks. It was last updated on 28 October 2026.
More usage & cost trackers
Claude Account Switcher
94Symbioose/claude-account-switcher
Switch between multiple Claude Code and Codex CLI accounts from your Mac menu bar. View live usage and rate limits, auto-switch at limits, skip browser logins, and keep your flow.
Podium
87eengelking/podium
A live fleet console for Claude Code: every session, agent, plan, cost and context window in one browser tab.
Viwo
65OverseedAI/viwo
git worktree + containerization + agent harness
ClaudeCodeExtension
81dliedke/ClaudeCodeExtension
Visual Studio .NET extension that provides a better interface for Claude Code, Codex, Cursor Agent, Open Code, Devin, PI, Antigravity and Reasonix. Image/file paste, diff viewer, actions when AI ends work, usage tracking, session history and much more!
CodexBar Win
109babakarto/CodexBar-Win
Windows system tray app for Claude Code usage monitoring — session limits, weekly limits, reset times, API costs. Windows port of CodexBar.
Cchubber
95azkhh/cchubber
What you spent. Why you spent it. Is that normal. — Claude Code usage diagnosis
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.