Short answer: to check Claude Code usage, run /usage inside a session. On a subscription it shows bars for your session and weekly limits, when each resets, and what has been using them. The same limits are under Settings → Usage on claude.ai. To see them all the time, add them to your Claude Code status line.
| Where | How to open it | What you get |
|---|---|---|
| Claude Code CLI | Run /usage | Plan bars, reset times, usage breakdown |
| claude.ai or Claude Desktop | Settings → Usage | Current session, weekly limits, usage credits |
| Status line | Add the rate_limits fields | 5-hour and weekly percentages, always visible |
| VS Code extension | Run /usage | An Account & usage dialog with the same bars |
| Claude Code in Desktop | Click the usage ring | Your remaining allowance |
What does /usage show on a subscription?
/usage shows your plan usage bars, activity stats and a breakdown of what counts against your limits. You can run it while Claude is working, because it opens without interrupting the response.
The screen has a few parts, and they don't all measure the same thing:
- Plan usage bars are the numbers that matter. They show how much of each limit you've used and when it resets. Here's how each Claude Code limit reset works.
- The breakdown attributes recent usage to skills, subagents, plugins and individual MCP servers. Press
dorwto switch between the last 24 hours and the last 7 days. - Recommendations suggest changes, such as trimming a large
CLAUDE.md. On v2.1.305 or later, pressfto have Claude Code apply the ones it can. - The Session block shows tokens and an estimated dollar cost. It's meant for API users. On Pro, Max or Ultra, that cost figure has no effect on your bill.
- A usage-credits row appears while usage credits are on.
The breakdown is approximate and built from session history on that machine. It doesn't include claude.ai or your other devices, even though those count towards the same limits.
How do you check Claude usage on claude.ai?
Go to Settings → Usage. The Plan usage limits section shows two things:
- Current session: how much of your 5-hour limit you've used and the time remaining.
- Weekly limits: your progress and when the weekly limit resets, for all models and for Fable if your plan includes it.
Verified Ultra accounts won't see a 5-hour session limit, because they don't have one.
How do you show Claude Code usage in the status line?
Claude Code passes your limits to any status line script as rate_limits.five_hour and rate_limits.seven_day. Each has used_percentage and resets_at. This small script prints both percentages:
#!/bin/bash
input=$(cat)
five=$(echo "$input" | jq -r '.rate_limits.five_hour.used_percentage // empty')
week=$(echo "$input" | jq -r '.rate_limits.seven_day.used_percentage // empty')
[ -n "$five" ] && printf '5h %.0f%% ' "$five"
[ -n "$week" ] && printf '7d %.0f%%' "$week"
Save it, make it executable with chmod +x, and point Claude Code at it in ~/.claude/settings.json:
{
"statusLine": { "type": "command", "command": "~/.claude/statusline.sh" }
}
The fields appear only for Pro, Max and Ultra subscribers, and only after the first response in a session. A new session shows nothing until then, which is why the script handles missing values.
The status line only shows while you have that terminal open. If you'd rather see your limits anywhere, Leeway keeps your session and weekly usage, and when each resets, in your Mac's menu bar.
Why does /usage say it's rate limited?
A message such as rate limited until 3:14am means Claude Code can't fetch your plan numbers again until then. It doesn't mean your work is limited, and you can keep using Claude.
In that state, /usage shows the last bars it loaded on that machine in the past 60 minutes, with a Showing last-known usage note. Press r to retry.
Are you sure you're using your subscription?
Run /status to see the account and model you're on. If ANTHROPIC_API_KEY is set on your system, Claude Code uses that key instead of your plan, and you pay API rates. In that case /usage shows the session's cost and tokens, with no plan bars.
FAQ
What's the difference between /usage and /status?
/usage shows your limits and what's using them. /status shows your session's Claude Code version, account, model and MCP server details.
Does /cost still work?
Yes. /cost is an alias for /usage, so both open the same screen.
Does Claude Code warn me before I run out?
Yes. Before a limit runs out, it can show a message such as You've used 85% of your session limit · resets 3:45pm. Once you've reached a limit, see what to do when you hit your session limit.