Free, with the source on GitHub

Don't hit your limit mid-task.

Fuel Gauge watches your Claude Code, Codex, Grok Bot, and Cursor limits and tells you, at your pace, whether each one lasts until it resets. If one won't, you see when it runs out before you start.

brew install --cask coreyhaines31/tap/fuelgauge

macOS 14 Sonoma or later · Apple silicon and Intel · No account

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.
FUELUpdated 9:41 AM
E¼½¾F050100%LIMIT
Most urgent · 5-hourCodex
Running shortCodex runs out today at 3:40p

1 more running short. Claude Code and Grok Bot make it to reset.

Claude Code
5-hour38%Makes it to reset, about 70% by then · resets 1p
Weekly41%Makes it to reset · resets Thu 9a
Today · This Mac1.2M tokens$18.40Estimated API cost · USD
Details ›Check resets in Claude Usage ↗
Codex
5-hour · Runs out around 3:40p, 1h 20m early82%

82% used · resets 5p (in 3h 7m)

Using 6% an hour. You can use up to 4% an hour and still make it.

Between 2:50p and 4:30p at your recent pace.

100%NowOut ~3:40pReset 5p
Weekly71%Makes it to reset, just · resets Mon 9a
Today · This Mac640K tokens$9.10Estimated API cost · USD
↺ 2 resets availableRefreshNext expires Nov 22, 9:00a · Checked 9:40a · Redeem in Codex /usage
Details ›
Grok Bot
Weekly69%Makes it to reset · resets Sat 12a
View usageForecast detailsCheck for Updates…
Settings… ⌘,Quit Fuel Gauge ⌘Q

Tuesday, 2:14 PM

Forty files into a refactor. Then: limit reached.

Claude Code is halfway through moving your tests to Vitest. Then the replies stop. You've hit your 5-hour limit, and it resets at 5:00. The branch doesn't build, half the files are on the new runner, and you've got nearly three hours to wait.

You checked your usage that morning. It said 55%, and 55% sounded fine. What it didn't say was that at the pace you were going, 55% at 11 a.m. meant out by 2.

“Can I start this now?”

Before the big job, you want to know if the window will last, not how full it is.

“Should I switch to Codex?”

If one tool is running short and the other isn't, the next task should go to the one that makes it.

“Will the weekly limit last until Thursday?”

The weekly limit is the one that ends a week early, and you only find out when it does.

55% used. Is that a problem?

It depends on how fast you're going and how long until the reset. Fuel Gauge does that math for every limit and gives you the answer in plain words: “Makes it to reset” or “Runs out around 11:50a.”

A meter that drains as you work

The menu bar meter's needle shows the fuel left in whichever limit is closest to running out. It turns orange when one won't make it to the reset, and red when one is out.

A card per tool

Claude Code's 5-hour and weekly limits together, then Codex, Grok Bot, and Cursor. The most urgent sits on top with a chart; the rest fold to one line until they need you.

Your hourly budget

“Using 28% an hour. You can use up to 15% an hour and still make it.” Now you know whether to slow down, and by how much.

Set up in a minute.

Codex and Grok Bot work as soon as the app is open. Claude Code takes one click.

1

Install it

Download the app and drag it to Applications, or run brew install --cask coreyhaines31/tap/fuelgauge. A 4.6 MB download.

2

Turn on Claude Code

Click Turn On in the panel, or run fuelgauge install-statusline. Claude Code only shares its limits with a status line, so Fuel Gauge becomes one.

3

Keep working

Readings arrive as you go. A 5-hour limit gets a forecast after about 10 minutes, a weekly one after about 3 hours. Codex's last 8 days are read on first launch, so its weekly forecast starts right away.

Claude Code, Codex, and Grok Bot limits, read from your Mac.

Fuel Gauge doesn't guess your plan or turn tokens into a quota. It reads the percentages your tools already report, then watches how fast they climb. Cursor is there too, off until you turn it on.

ToolLimits it forecastsWhere the numbers come fromSetup
Claude Code5-hour and weekly on Pro and Max; weekly only on verified Ultra, which has no 5-hour limitThe usage Claude Code hands its status line after each replyTurn on the status line once
CodexThe windows your plan reports: 5-hour and weekly, or weekly only on plans without a 5-hour limitCodex's session logs in ~/.codex/sessionsNone
Grok BotWeeklyThe usage Grok Bot saves on your Mac while it's openNone
CursorWeekly or monthly, depending on your Cursor plancursor.com, every 10 minutes, using the Cursor app's own sign-inOff by default. Turn it on in Settings › Tools

Claude on the web and in the desktop app share your account's limits, so that usage shows up at your next Claude Code reply. Claude Code only reports limits on Pro, Max, and Ultra. What each plan allows: Claude usage limits, Claude Pro, Claude Max, Codex, Grok, Cursor.

The forecast, right under your prompt.

Turn on the status line and Claude Code shows the forecast after every reply. Orange means a limit is on pace to run out early, so you see it before you send the next big ask.

  • Turn it on from the app, or with one command.
  • Keeps your existing status line and adds a line under it.
  • Backs up settings.json first. fuelgauge uninstall-statusline takes it out again.
fuelgauge install-statusline

What each line on a card means.

Each limit gets its own row on a tool's card: the verdict first, then the pace and reset math underneath.

When it saysIt means
Makes it to reset, about 70% by thenAt your recent pace, you'll still have fuel when the window resets.
Runs out around 3:40p, 1h 20m earlyAt your recent pace, you'll hit the limit before it resets.
Between 2:50p and 4:30p at your recent paceA range from measuring your recent pace over shorter and longer stretches, not one fake-precise minute.
Using 6% an hourYour pace over the recent stretch: the last hour for a 5-hour window, the last day for a weekly one.
You can use up to 4% an hour and still make itThe fastest pace that still lasts until the reset. Slow to this and you're fine.
Based on your usual hours and recent activityA learned weekly pattern is being used, including the nights and weekends it has seen.
If you keep this session's paceA separate what-if for the current burst, kept apart from the main forecast.
Out until 5:00pThe limit is used up until the time shown.
Learning your paceNot enough readings yet to forecast honestly.
Waiting for a reliable readingReports are too old or contradict one another. Use the tool once to refresh them.

How the forecast works.

Read, measure, project. It runs every time a new reading arrives, entirely on your Mac.

1

It reads what's already there

A reading every time Claude Code replies, through its status line. Codex's session logs and Grok Bot's local usage cache fill in the rest.

2

It measures your pace

How much usage climbed over the recent stretch: the last hour for 5-hour limits, the last day for weekly ones.

3

It projects to the reset

If that pace holds, do you hit 100% first? You get a verdict and a range, not a fake-precise minute.

It waits for enough readings before it forecasts: 10 minutes for a 5-hour limit, 3 hours for a weekly one. Until then it says “Learning your pace.” It's an estimate from your recent pace, not a promise.

It learns your week.

Weekly and monthly limits depend on when you work, not just how fast. After two weeks of readings, Fuel Gauge learns your usual hours, separately for weekdays and weekends. A forecast made on Friday night doesn't assume you'll code all weekend at Friday's pace.

The last three days nudge that pattern up or down, by up to 2×. A busy session counts for a few hours, then fades. Until there's enough history, it uses your recent pace. Hours it hasn't seen aren't assumed to be quiet; it falls back to your recent pace instead.

Forecast details shows exactly what it learned: weekday and weekend bars by hour, the readings behind each one, and how this week compares with usual.

Forecast detailsClaude Code · Weekly
Current forecastMakes it to reset, about 82% by then

Based on your usual hours and recent activity

Your usual hoursBoth rows use the same scale
WeekdaysWeekends??12a6a12p6p

Weekdays, 11a–12p · 1.3 percentage points/hour

9 observed hours across 9 dates. Older readings receive less weight.

Recent workload1.4× usual

Forecast adjustment: 1.4×, easing back toward your usual pattern.

Shown with sample data

It checks its own forecasts.

Every hour, while the app is open, Fuel Gauge freezes its forecast for each limit: where you'll be in 1, 6, and 24 hours. When the real reading arrives, it scores the guess. You don't have to take the forecast on faith.

  • Predicted vs. actual plots saved predictions as diamonds and real readings as circles, with the gap between them. Pick 1, 6, or 24 hours ahead, over the last 7 or 30 days.
  • It shows the average error in percentage points for its own forecast and for the plain recent-pace method, on the same outcomes. A score appears once there are 20 comparisons across three days.
  • A missed reading stays a gap. It's never counted as zero usage.
  • fuelgauge backtest --days 7 replays your saved history to compare the two methods. Local and read-only.
Predicted vs. actualCodex · Weekly
1h6h ahead24h7 days30 days
100%MonWedFriSun
Forecast 12 of 14Sun 8:00a
Saved prediction76%Issued Sun 2:00a · Your usual hours
Actual reading69%Read at Sun 8:04a
Measured forecast errorLast 30 days
Fuel Gauge3.1 pts6 hours ahead · 58 comparisons
Recent pace4.6 ptsSame outcomes · lower is better

Shown with sample data

Plan the next session before you start it.

About to kick off something big? Open Forecast details and choose 30 minutes, 1 hour, 2 hours, or 4 hours more at this session's pace. You see every limit for that tool at once, and which one runs out first.

It needs a real session to measure: fresh readings over at least 10 minutes. Each projection stops at that limit's reset, and it never assumes you'll redeem a saved reset. It's a what-if, so your normal forecast and alerts don't change.

Next sessionAll tracked Claude Code limits
30m1h2h4h
Continue working for 2h5-hour limit runs out first, around 1:05p.
5-hour55% now

Pace: 32.1 points/hour. Runs out around 1:05p (in 1h 24m).

Weekly41% now

Pace: 3.4 points/hour. About 52% left at 3:41p.

Assumes this session's pace continues. Projections stop at quota resets; saved resets are not assumed to be redeemed. Shown with sample data.

Token usage, cache hits, and API cost, from your own logs.

Choose View usage in the panel for what Claude Code and Codex used on this Mac: today, the last 7 days, or the last 30. Each tool card shows today's tokens and estimated cost too, even when there's no forecast yet.

  • Tokens split into uncached input, output, cache reads, and cache writes, with your cache hit rate.
  • Breakdowns by tool, model, project folder, and session, so you can see where the tokens go. Hover a project for its full path.
  • Cost in US dollars at standard API rates, checked October 30, 2026. It's what those tokens would cost on the API, not your subscription bill.
  • Read from your own logs in ~/.claude/projects and ~/.codex. Prompt and response text is never saved.
UsageThis Mac · Claude Code & Codex
Today7 days30 daysTokensCost
TueWedThuFriSatSunMon
BreakdownBy tool
Claude Code40.8M$58.20Cache hit rate 94%
Codex12.0M$14.70Cache hit rate 88%
Token breakdown7 days
Cache reads47.9MUncached input2.6MCache writes1.4MOutput0.9M

Est. API cost · Rates checked October 30, 2026 · Shown with sample data

A meter, an alert, and a few settings.

The meter is the whole story at a glance: needle for fuel left, orange for running short, red for out. Next to it, show nothing, the percent used, or the time until you run out. Hover it for the most urgent limit's verdict.

You get one alert per window, and only when two fresh readings agree you'll run out at least 30 minutes early. Alerts at 80% and 95% used are on by default; 50% is there if you want it. macOS asks once, at the first alert, whether Fuel Gauge may send notifications.

Makes itWed 9:41 AM38%
Running shortWed 11:02 AM48m
OutWed 11:52 AMout
Claude Code's 5-hour limit runs out around 11:50a

That's 1h 30m before it resets at 1:20p.

now

Shown with sample data

Settings tabWhat's in it
GeneralLaunch at login (on by default, so readings keep coming after a restart), what shows next to the meter, the fuelgauge command, a copyable prompt for AI agents, and automatic update checks.
ToolsWhich of Claude Code, Codex, Grok Bot, and Cursor to track, with where each one's numbers come from. The Claude Code status line turns on and off here.
AlertsThe early run-out alert, plus alerts at 50%, 80%, and 95% used. 80% and 95% start on.
ResetsCodex reset tracking, Claude’s Fable allowance, and manual counts of saved Claude Fable and weekly resets.

Know when you have a reset to spare.

When a limit runs out, a saved reset can get you going again. Fuel Gauge shows what you have, and never spends one for you.

Codex

The number of resets you can redeem and when the next one expires, checked every five minutes through your installed, signed-in Codex CLI. Redeem in Codex's /usage menu, then hit Refresh. On by default; turn it off in Settings › Resets.

Claude

Claude's status line doesn't include this, so save the count by hand, with an optional expiry. The card labels it as manual and shows when you recorded it.

Forecasts stay honest

A forecast never assumes you'll redeem a reset. If you're running short with two resets in hand, it still says you're running short.

Let your agent check first.

fuelgauge status exits with code 2 when a limit is forecast to run out before it resets. So an agent can check before a big job, and ask you before it burns through what's left.

  • fuelgauge status for the verdict on every limit
  • fuelgauge status --json for the details
  • fuelgauge history for the readings behind it

Add this to your CLAUDE.md or AGENTS.md

Then every agent session checks before the expensive stuff.

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.

The whole command line

Homebrew puts fuelgauge on your PATH. Installed from the DMG? Use Settings › General › Install…

fuelgauge statusEvery limit in plain words. Exits 2 if one will run out before it resets, or already has.
fuelgauge status --jsonThe same, for scripts and agents, with a verdict per limit.
fuelgauge history --days 2The readings behind the forecasts.
fuelgauge backtest --days 7Compares forecasts with what happened. Local and read-only.
fuelgauge install-statuslineMakes Fuel Gauge Claude Code's status line, keeping yours above it.
fuelgauge uninstall-statuslinePuts your old status line back.

Claude Desktop extension

Ask Claude if you'll make it.

Add Fuel Gauge to Claude Desktop and ask in plain words: how much Claude Code do I have left, will I hit my limit today, when does Codex reset. Claude reads the same forecast you see in the menu bar.

It adds two read-only tools: limits_status for each limit's percent, reset time, and verdict, and limits_history for the readings behind it, up to 30 days back. Answers stay compact, so asking Claude about your limits barely dents them. Nothing about your accounts leaves your Mac.

Install Fuel Gauge first. Then double-click fuelgauge.mcpb, or drag it onto Claude Desktop, and choose Install.

Who it's for.

If your work stops when a coding plan runs dry, it's for you. It fits these three best.

On Claude Pro, racing the 5-hour window

The status line tells you after each reply whether this window will last. When it won't, you can wrap up, switch to a smaller model, or pause on your own terms before the limit cuts you off.

On Max, running agents for hours

The weekly limit is the one that bites. A forecast that knows your week, and one early alert, give you days of notice instead of minutes.

Using more than one coding agent

Both in one panel. When one is running short, hand the next job to the one that makes it to reset.

The other ways to check your Claude usage, honestly compared.

You can see your usage without any app, and there are good free trackers. Here's how they differ, checked against each one's own docs and GitHub page on November 16, 2026. Deeper comparisons: CodexBar, ccusage, ccstatusline, Claude-Code-Usage-Monitor.

Fuel GaugeBuilt-in viewsCodexBarClaudeBarccstatusline
Where it livesMenu bar, Claude Code status line, TerminalClaude Code's /usage, Codex's /status, and each provider's web pageMenu bar, plus a CLIMenu barClaude Code status line
CoversClaude Code, Codex, Grok Bot, Cursor (opt-in)One tool each114 providers20+ providers, including Claude, Codex, and CursorClaude Code
Percent used and reset timeYesYesYesYesYes
Says if you'll make it to resetYesNoYes, “runs out in” and a burn-downYesYes, forecast and limit-timer widgets
Learns your weekday and weekend hoursYesNoNot documentedNot documentedNot documented
Scores its own forecastsYes, predicted vs. actualNoNot documentedNot documentedNot documented
For agentsExit code 2, JSON, Claude Desktop extensionNoCLINot documentedNot documented
How it gets your numbersLocal files and Claude Code's status line; Codex CLI for reset counts; cursor.com only if you turn Cursor onYour accountOAuth, API keys, local files, opt-in browser cookiesVaries by providerClaude Code's status line input
Price and licenseFree, FSL-1.1-MITIncludedFree, MITFree, Apache-2.0Free, MIT

Where the built-ins win

They're official and already installed. Claude Code's /usage also breaks down what's using your plan, like skills, subagents, and MCP servers, with suggestions. The usage page on claude.ai covers every device.

Where the menu bar trackers win

Breadth. If you use Gemini, Copilot, Z.ai, or a dozen other services, they cover them in one menu, and both already forecast when you'll run out. CodexBar also has a big community and a Linux CLI.

Where ccstatusline wins

If all you want is a status line, it's a deep one: forecast and limit-timer widgets alongside dozens of others, right where you type.

Also worth knowing: Claude Usage Tracker and Usage4Claude show Claude and Codex percentages and reset times in the menu bar, with pace markers, using a pasted session key or a sign-in. ccusage reports tokens and cost across about 20 agent CLIs. Fuel Gauge's case is narrower: the verdict first, a forecast that knows your week and checks itself, an exit code your agents can use, and no browser cookies or pasted session keys.

Your usage stays on your Mac.

Exactly what it reads, what it saves, and the few times it goes online.

Local files only

Claude Code's status line input and logs, Codex's logs in ~/.codex, and Grok Bot's usage cache. No browser cookies, no keychain, and it never asks you to sign in. The few things that go online are listed under Zero telemetry.

No Full Disk Access

It doesn't need it. Everything it reads sits in your home folder. The only permission it asks for is notifications, at the first alert.

Zero telemetry

No analytics, nothing about your usage sent anywhere. It goes online for update checks, Codex reset counts through your Codex CLI and Claude’s Fable allowance through Claude Code (on by default, off in Settings › Resets), and Cursor if you turn it on.

One alert, early

Once per window, when the forecast says you'll run out at least 30 minutes early. Alerts at 80% and 95% used are on by default, 50% is there if you want it, and any of them can be turned off.

Track what you use

Pick which tools it watches in Settings › Tools.

Free

No trial, no subscription. Source on GitHub, signed and notarized by Apple.

What it saves, all in ~/Library/Application Support/Fuel Gauge: limit readings (tool, limit, percent, reset time), a usage cache of timestamps, model names, token counts, session IDs, and project paths, and its saved predictions. Each is kept for about two months, and none of it includes prompt or response text. Uninstalling with brew uninstall --cask --zap fuelgauge removes it all.

Free, with the source on GitHub.

No account, no trial, no subscription, no ads. Use it at home or at work.

$0

Nothing to sign up for, nothing to cancel.

Source available

Every line is on GitHub under FSL-1.1-MIT. Read it, build it, change it. Each version becomes MIT two years after release.

4.6 MB

The whole download. Native Swift, one app for Apple silicon and Intel.

Notarized

Signed with Developer ID and checked by Apple, every release.

Updates

Sparkle checks for new versions, or turn that off in Settings. With Homebrew, brew upgrade works too.

0

Analytics, trackers, or accounts in the app.

What's new.

  • 1.11 · Nov 16, 2026A new look: the fuel-meter menu bar glyph, a new icon, and a redesigned panel.
  • 1.10 · Nov 8, 2026Plan your next session: 30 minutes to 4 hours more at your current pace, across every limit.
  • 1.9 · Nov 8, 2026Predicted vs. actual: see how each saved forecast turned out.

Every release, with notes

System requirements.

  • macOS 14 Sonoma or later
  • Apple silicon or Intel
  • 4.6 MB download
  • For Claude limits: Claude Code on a Pro, Max, or Ultra plan
  • For the others: Codex, Grok Bot, or Cursor on this Mac
  • For the Claude Desktop extension: Claude Desktop

Questions

Is it accurate?

It's an estimate from your recent pace, not a promise. Speed up or slow down and the forecast moves with you. That's why it shows a range, like “Between 11:31a and 12:14p at your recent pace,” instead of one exact minute, and why it waits for enough readings before it forecasts at all: 10 minutes for a 5-hour limit, 3 hours for a weekly one.

Does it work with Claude Pro, Max, and Ultra?

Yes. It uses the limits Claude Code reports for your plan: 5-hour and weekly on Pro and Max, and just the weekly one on verified Ultra accounts, which have no 5-hour limit. The status line is where those readings come from, so turn it on.

Which tools does it track?

Claude Code's 5-hour and weekly limits, Codex's limits (5-hour and weekly, or weekly only on plans without a 5-hour limit), Grok Bot's weekly limit, and, if you turn it on, Cursor's usage, which is weekly on Cursor's current plans and monthly on legacy plans. Choose which ones to watch in Settings › Tools.

How is it different from Claude Code's /usage?

/usage tells you where you are: how much of each limit you've used and when it resets, plus what's using it. Fuel Gauge tells you where you'll be at the reset, at your pace, without you asking. It also covers Codex and Grok Bot, and puts the answer in your menu bar and under your prompt.

Does it send my data anywhere?

No. Your usage stays on your Mac. No browser cookies, no Full Disk Access, no keychain, no sign-in, and zero telemetry. It goes online only to check for updates, to count Codex resets through your installed Codex CLI and read Claude’s Fable allowance through Claude Code (turn those off in Settings › Resets), and for Cursor if you turn Cursor on.

How is it different from CodexBar?

CodexBar covers far more providers, over 100, and also shows when you'll run out. Fuel Gauge covers four tools and leads with the verdict: will you make it to reset. It learns your weekly pattern, scores its own forecasts, adds a Claude Code status line and an exit code agents can check, and never reads browser cookies. The full comparison.

Will it break my existing status line?

No. If you already have one, it keeps showing, with the forecast on a line under it. Your settings.json is backed up first, and fuelgauge uninstall-statusline puts everything back.

Will it slow down my Mac or drain the battery?

It checks once a minute. After the first import of your usage history, it reads only new log records and keeps a local cache. The status line runs once after each Claude Code reply: it saves one reading and prints one line.

How do I remove it?

Run fuelgauge uninstall-statusline first, so your Claude Code status line goes back to how it was. Then run brew uninstall --cask --zap fuelgauge, which also removes its saved readings. If you installed from the DMG, drag Fuel Gauge from Applications to the Trash, and trash ~/Library/Application Support/Fuel Gauge.

How do updates work?

The app checks for new versions with Sparkle and installs them when you say so. Turn automatic checks off in Settings › General. If you installed with Homebrew, brew upgrade --cask fuelgauge works too.

Is it really free?

Yes, at home or at work. No account, no trial, no subscription. The source is on GitHub under the FSL-1.1-MIT license.

Which Macs does it run on?

Any Mac with macOS 14 Sonoma or later, Apple Silicon or Intel.

Make it to reset.

Know before the big task whether your limits will last. Free, with no account and no subscription.

brew install --cask coreyhaines31/tap/fuelgauge

macOS 14 Sonoma or later · Apple silicon and Intel · Or ask your coding agent

Corey Haines
Why it exists

I run Claude Code and Codex all day, and I kept hitting a limit in the middle of a task with no warning. The usage pages showed me a percentage, but not the thing I actually wanted to know: will I make it to the reset? So I built the app I wanted. It watches my pace and tells me, before I start something big, whether I'll make it or when I'll run out. And it's free.

Corey Haines, maker of Fuel Gauge and more free Mac apps