BlogGuide8 min read

Track your Claude Code and Codex usage at a glance, right in the notch

You're deep in a task, Claude Code is halfway through a change across ten files, and then it stops: you've hit your limit. The numbers were there all along, you just had no reason to go and look. AI Usage in NotchDude puts them where you already look a hundred times a day, the top of your screen, so you can plan around your limits instead of running into them.

In short: NotchDude's AI Usage shows how much of your Claude Code and Codex 5-hour and weekly limits you've used, when each resets, and your token totals, in the MacBook notch. While an agent works, the closed notch shows its icon and a ring that fills as the limit is spent. It reads local logs only; your prompts and code never leave your Mac.

Why checking usage is easy to forget

Claude and ChatGPT plans meter coding agents in two rolling windows: a 5-hour window and a weekly one. You can check them, with /usage in Claude Code or /status in Codex, but only from inside the session you're busy in, and only when you think to. Nobody stops mid-flow to type a command just in case.

So the limit becomes a surprise. And a surprise at 4 p.m. on a Thursday, with the weekly window nearly gone, can cost you the rest of the week. The fix isn't more discipline. It's having the number somewhere you'd see it anyway.

Three ways to glance at your usage

(Disclosure: I make NotchDude, and built AI Usage because I kept hitting the limit myself.) It gives you three levels of detail, depending on how much you want to know:

1. Without opening anything: the closed notch

While Claude Code or Codex is working, the closed notch shows the agent's icon, gently pulsing, and a ring of the limit it's spending. You see it fill as you work, without hovering, clicking, or switching windows. (When music or the focus timer is showing there, they take that spot.)

The closed MacBook notch with the Claude Code icon on the left and a ring at 42% of the 5-hour limit on the right
Claude Code at work, 42% into its 5-hour limit.

2. A hover away: every limit and reset

Hover the notch and open AI Usage. Each tool gets a card with:

The NotchDude AI Usage widget with equal-width Claude Code and Codex cards, 5-hour and weekly limit bars, reset times, token totals, and an active Claude Code session
Claude Code and Codex limits with reset times, token totals, and a live Claude Code session.

3. On Home, next to everything else

Add AI Usage to Home and your limits sit beside your calendar, music, and focus timer, so a quick look at the notch covers your whole day.

What the colours tell you

ColourLimit usedWhat to do
The tool's own colourUnder 70%Carry on.
Orange70% to 89%Check the reset time. Finish what you're doing; hold the big refactor.
Red90% and upWrap up, or switch to lighter work until it resets.

The percentage alone doesn't tell the whole story. 80% used with 20 minutes until the reset is fine; 80% with four hours to go means it's time to slow down. That's why every limit shows its reset time right beside it.

Example: red at 95%

Claude Code · 5-hour · 95% · resets in 1 h 40 m

The ring on the closed notch is red and almost full. At the pace you've been working, the last 5% lasts a few minutes, not an hour and forty.

Here's what to do the moment you see it:

  1. Let the current step finish, then don't start a new multi-file task. Long contexts and many tool calls spend the last few percent fastest.
  2. Check the weekly bar too. If it's also high, a reset in 1 h 40 m only gives you a fresh 5-hour window, not a fresh week.
  3. Switch tools or tasks. If Codex has room, hand it the routine work. Or use the time to review the agent's changes, write tests, or plan the next step yourself.
  4. Pick up after the reset. The countdown tells you exactly when; start the big task then, with a full window.

The point of seeing red at 95% is choosing what happens next, rather than having the limit, or a bill, choose for you.

Don't let the limit turn into a bill

Hitting a limit used to mean waiting. Now both Claude and ChatGPT can keep you going past your plan's limits on paid credits, billed at usage rates. That's handy when a deadline can't wait, but easy to run up without noticing if it's switched on and you're not watching. Check these settings once:

PlanWhereWhat to set
Claude Pro and Max (chat and Claude Code)Settings › Usage on claude.aiTurn usage credits (extra usage) off if you never want to pay past your plan. If you keep them on, set a monthly spending cap with Adjust limit, and turn off auto-reload so your card isn't charged when the balance runs low.
ChatGPT Plus and Pro (Codex)Codex Settings › UsageLeave Auto top-up off, or set a maximum monthly spend. With it on, a low credit balance is refilled from your default payment method automatically.

Then let the notch do the watching. Orange at 70% and red at 90% give you time to decide before your plan's limit is reached and credits start being used. NotchDude only shows your usage; it never buys credits or changes your plan, so these settings stay the real off switch. Settings change over time, so check Anthropic's and OpenAI's help pages for the current options, and look again after app updates.

Updated for 1.12.1 · 10 October 2026: AI Usage measures card content against the available space throughout resizing. Narrow cards stack token totals and show reset times on hover; stale-limit explanations are also available on hover. The footer stays below the cards.

Updated for 1.12.2 · 12 October 2026: Live Claude limits no longer bring up repeated Keychain prompts. macOS asks only when you click refresh in AI Usage, and the card asks for a refresh when Claude Code renews its sign-in.

Updated 26 October 2026: The 5-hour session refreshes on its own about once a minute, including while the notch is closed. Automatic checks use the sign-in Claude Code saves on this Mac, so they keep going after that sign-in is renewed. The Keychain prompt appears only when you click Last checked and that saved sign-in isn't available. To refresh, click the “Last checked” button at the top right of the notch. AI Usage covers Claude Code and Codex only; the Cursor and Antigravity cards are gone. Limits need Claude Code’s own sign-in: the Claude desktop app keeps its sign-in to itself, so if you only use Claude Code inside the Claude app, run claude in Terminal and sign in once. The card says so when no Claude Code sign-in is saved.

A day with AI Usage

None of these moments needed a command, a dashboard, or a browser tab. For more ways to stretch a window, see tips to make your limits last.

Who it's for

Set it up in two minutes

  1. Download NotchDude and open it. Every Pro feature, AI Usage included, is unlocked for your first 48 hours.
  2. Hover the notch and choose the AI Usage tab. If you don't see it, turn it on in Settings › Widgets.
  3. Live Claude numbers refresh on their own from the sign-in Claude Code saves on this Mac. If macOS asks to read the Keychain, choose Always Allow. Without a saved sign-in, you see the numbers Claude Code last saved.
  4. Drag cards into the order you like; hold one to remove it. The cards always share the row equally.

Numbers refresh about once a minute while Pro is on, including while the notch is closed, and you can click Last checked any time. There's no account, no API key to paste, and nothing to configure in Claude Code or Codex.

Private by design

Claude Code and Codex already keep logs on your Mac, in ~/.claude and ~/.codex. NotchDude reads them read-only and takes only token counts, model names, limit percentages, project folder names, timing, and tool names. Your prompts, conversations, and code are never read, and never leave your Mac. The full breakdown explains where each number comes from.

FAQ

How can I see my Claude Code usage without opening the terminal?

Install NotchDude and turn on AI Usage. Hover the notch to see your 5-hour and weekly limits and when they reset, and while Claude Code is working, the closed notch shows its icon and a ring of the limit it's using.

Does it track Codex usage too?

Yes. Codex writes its plan limits into its session logs on your Mac, and NotchDude reads them, so Codex gets the same 5-hour and weekly bars, reset times, and token totals as Claude Code.

What do the colours mean?

Each bar and ring is in the tool's own colour until you've used 70% of a limit, then turns orange, and red from 90%.

Why does my Claude limit look out of date?

Limits refresh about once a minute, including while the notch is closed. If the 5-hour session stays still, open Claude Code once so it can renew its sign-in, then click Last checked at the top right of AI Usage. Choose Always Allow if macOS asks to read the Keychain. Until a live check succeeds, NotchDude shows the numbers Claude Code last saved.

How do I stop Claude Code from charging extra usage?

In claude.ai, go to Settings › Usage. Turn off usage credits (extra usage) to stop at your plan's limit, or keep them on with a monthly spending cap and auto-reload turned off. Usage credits cover both Claude chat and Claude Code.

How do I turn off Codex auto top-up?

Open Codex Settings › Usage and turn off Auto top-up, or set a maximum monthly spend. With it on, your credit balance is refilled automatically from your default payment method when it drops below the minimum you chose.

Can NotchDude stop charges for me?

No. NotchDude only reads and shows your usage; it never buys credits or changes your plan. It warns you in orange at 70% and red at 90%, so you can stop before your plan's limit, and your Claude and Codex settings control whether credits are used.

Does NotchDude read my prompts or code?

No. It reads only token counts, model names, limit percentages, project folder names, timing, and tool names from ~/.claude and ~/.codex. Your prompts, conversations, and code are never read.

Is AI Usage free?

AI Usage is part of NotchDude Pro, a one-time purchase. Every Pro feature is unlocked for your first 48 hours, with no card or account.

Know your limits before they find you

Try AI Usage free for 48 hours. No card, no account, and your code stays on your Mac.

Or try Pro free for 48 hours, no card needed · macOS 14+ · Apple silicon