Claude Code usage

Tokenmaxxing

A local CLI, built on ccusage, that syncs your token usage with everyone else.

Install

Install
npm install -g @851-labs/tokenmaxxing@latest

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/851-labs/tokenmaxxing.git

From 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,…
Read the full README on GitHub

Details

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

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.