ccusage alternative

ccusage counts your tokens. Fuel Gauge says if you'll make it to reset.

ccusage is a great command-line report of what your coding agents spent. Fuel Gauge answers a different question: at your pace, will your plan's limit last until it resets?

The short version

Use ccusage to see token use and estimated dollar cost by day, month, session, or 5-hour block, across 18 coding agents. Use Fuel Gauge to see, without running anything, whether your Claude Code, Codex, Grok Bot, or Cursor limit will last until it resets, with an alert when it won't. They answer different questions, so they work well together.

What ccusage does well

ccusage reads the usage data coding agents leave on your machine and turns it into reports: daily, weekly, monthly, and session, with tokens and an estimated cost in dollars, plus a blocks report for Claude Code's 5-hour windows. It covers 18 tools, including Claude Code, Codex, Gemini CLI, and GitHub Copilot CLI, and runs with npx ccusage@latest. It's free, MIT licensed, and has about 19,000 stars on GitHub.

Where Fuel Gauge is different

It measures the limit, not the tokens. On a Claude plan, what cuts you off is the percent of your session or weekly limit, and Anthropic doesn't publish how many tokens that is. Fuel Gauge reads those percentages straight from Claude Code after every reply.

It forecasts. Each limit gets a verdict: "Makes it to reset" or "Runs out around 3:40p, 1h 20m early", with the most you can use per hour and still make it.

It's always on. A menu bar app with a glyph that turns orange, one alert per window, and a line under your Claude Code prompt. Nothing to run.

Fuel Gauge vs ccusage

Fuel Gaugeccusage
PriceFreeFree
LicenseFSL-1.1-MIT, source on GitHubMIT
What it measuresPercent of your plan's limits, plus tokens and estimated API cost for Claude Code and CodexTokens and estimated cost in dollars
Forecast to resetYes, with a range—
Where it runsMac menu bar, Claude Code status line, CLICommand line
ToolsClaude Code, Codex, Grok Bot, Cursor (opt-in)18, including Claude Code, Codex, Gemini CLI
AlertsOnce per window, plus 50/80/95%—
PlatformsmacOS 14+Anywhere Node, Bun, or Nix runs

“—” means we couldn't confirm it from ccusage's own materials as of October 2026.

What ccusage does better

Breadth and reports. Fuel Gauge shows 30 days of tokens and estimated API cost for Claude Code and Codex, but if you want monthly reports, 5-hour block reports, or usage across many more agents, ccusage is the tool.

What Fuel Gauge does better

The next few hours. It tells you whether your current limit will last, while you work, without opening a terminal.

Trying it takes a minute

  1. Install Fuel Gauge. brew install --cask coreyhaines31/tap/fuelgauge, or download the app from GitHub and drag it to Applications.
  2. Turn on the status line. From the app, or with fuelgauge install-statusline. It keeps your existing status line and backs up settings.json.
  3. Keep working. A 5-hour limit gets a forecast after about 10 minutes of readings, a weekly one after 3 hours. Until then it says “Learning your pace.”
  4. Keep ccusage for reports. The two don't conflict.

Questions

Is ccusage free?

Yes. ccusage is free and MIT licensed. Fuel Gauge is free too, with the source on GitHub under the FSL-1.1-MIT license.

Does Fuel Gauge show dollar costs like ccusage?

Yes, for Claude Code and Codex on this Mac. View usage shows tokens and estimated API cost for today, 7 days, or 30 days, by tool, model, project, and session. It's what those tokens would cost at API rates, not your subscription bill. ccusage covers more agents and has more report types. Fuel Gauge's forecasts still work in percent of your plan's limit, which is what decides whether you get cut off on Pro or Max.

Can I use ccusage and Fuel Gauge together?

Yes. ccusage is a command you run for reports; Fuel Gauge runs in the menu bar. Neither changes the other.

Know if you'll make it.

Free. No account, no subscription.

brew install --cask coreyhaines31/tap/fuelgauge

Or ask your coding agent:

Install Fuel Gauge on my Mac: run `brew install --cask coreyhaines31/tap/fuelgauge`, open Fuel Gauge, then run `fuelgauge install-statusline` and `fuelgauge status`. Then ask me whether future agent sessions should check Fuel Gauge before long tasks. Only if I say yes, append this to your own global instructions file (~/.claude/CLAUDE.md for Claude Code, ~/.codex/AGENTS.md for Codex), unless it's already there, and tell me which file you changed: Before starting a long or expensive task, run `fuelgauge status`. If it exits with code 2, a Claude Code, Codex, or Grok Bot limit is forecast to run out before it resets: tell me which one and when, and ask before starting, or switch to a cheaper model. `fuelgauge status --json` has the details.

macOS 14 Sonoma or later · Apple Silicon and Intel