On a Claude subscription, Claude Code draws from a rolling 5-hour window and a weekly window. Running into either one mid-task is frustrating, especially when you had no idea you were close.
Here are the ways to keep an eye on it, from the built-in command to an always-visible meter.
Option 1: /usage in Claude Code
Run /usage at the Claude Code prompt. According to Anthropic's cost docs:
- Pro, Max and Ultra subscribers see plan usage bars, activity stats and a usage breakdown.
- On a paid plan, the breakdown attributes recent usage to skills, subagents, plugins and MCP servers, and suggests changes.
- The Session block shows the current session's tokens and an estimated cost, mainly useful for API users.
/usage is accurate and free. You only see it when you remember to run it.
Option 2: a custom status line
Claude Code's status line runs a script you configure and passes it session data as JSON. For Pro, Max and Ultra subscribers that data includes rate_limits.five_hour.used_percentage and rate_limits.seven_day.used_percentage, plus when each window resets. Anthropic notes these fields appear only after the first API response in a session.
A small jq script can print those percentages at the bottom of every session. It's always visible, but only inside that terminal.
Option 3: ccusage
ccusage is a free command-line tool (npx ccusage@latest) that reads local logs and prints daily, weekly, monthly and per-session reports, including Claude's 5-hour blocks. It's good for looking back at your history. It has no graphical interface. See ccusage alternative for how it compares.
Option 4: a usage meter in the notch
Void Island shows your Claude limits next to the pixel cat in the notch, so you can glance at them without opening a terminal.
What it shows
- Your 5-hour, weekly and spend limit percentages.
- Cost and context for each session.
- An alert once when any window reaches 90%.
- A daily history of cost and time, kept for 35 days on your Mac.
Where the numbers come from
- Claude Code's status line. When you connect Claude Code, Void Island installs its own status line command. If you already have one, it asks first, keeps your command running and showing as before, and restores it when you disconnect.
- Anthropic's usage endpoint. With Use Claude Code sign-in for usage on (the default), Void Island uses the Claude Code sign-in already on your Mac to ask Anthropic for your limits: every 5 minutes, and at most once a minute while you have the details open. These are the same numbers as Claude's usage page. Turn it off and only the status line feeds the numbers, which update only while you use Claude Code in a terminal.
Set it up
- Connect Claude Code in Settings → AI assistants → Connection.
- Under Settings → AI assistants → Sessions, turn on Show usage limits.
- Choose When usage meters show: Always, or Click the cat to keep them hidden until you click.
See Usage for details.
Limits
- Usage display covers Claude and Codex only.
- The meter shows your limits; it doesn't change them or predict when you'll hit them.
- The status line's limit fields only exist for subscribers. On an API key, you'll see cost and context, not plan percentages.
- If the sign-in token has expired, Void Island may run the
claudecommand once to refresh it.
Common questions
Does Void Island send my Claude sign-in anywhere?
It uses the sign-in only to call Anthropic's own usage endpoint (api.anthropic.com). Nothing goes anywhere else. You can turn this off with Use Claude Code sign-in for usage. See Privacy.
Where does the per-session cost come from?
From Claude Code's status line, which Claude Code computes locally from token counts. Anthropic describes it as an estimate, not a bill.
Does usage show in free mode?
Yes. After the trial, free mode still shows usage for your current session.
Do I need to keep a terminal open for the numbers to update?
Not with Use Claude Code sign-in for usage on: Void Island asks Anthropic every 5 minutes. With it off, the numbers update only while you use Claude Code in a terminal.