How to check your Claude usage limit and what is left

Checking what you have used is easy. Checking what you have left is a different question with a different answer, and most of the tools people reach for cannot answer it at all, because the number is not in the files they read.

By the Continuum team. We build a workbench that runs Claude Code, Codex, and their peers, so the model rates quoted here are the ones our own cost analytics ship with.

The short version

Inside Claude Code, run /usage: on a Pro, Max, Team, or Enterprise plan it draws progress bars for your 5-hour session window and your weekly limits. On claude.ai, go to Settings then Usage for the same bars. On an API key, read the anthropic-ratelimit-* headers from any response, remembering those are per-minute throughput limits rather than the subscription windows. Session-file tools such as ccusage show consumption only: remaining allowance is never written to disk.

What you need to know
  • Remaining allowance lives in server responses, never in a local file.
  • /usage is the answer in the CLI. /cost is now an alias for it.
  • On claude.ai the same bars are under Settings, then Usage.
  • Two windows: a rolling 5-hour session limit and weekly limits.
  • Weekly is split: Opus only, and all other models. Check both.

The fast answers

Where to look, by surface. Verified August 2026.

SurfaceHowShows
Claude Code/usageProgress bars for the 5-hour and weekly windows
claude.aiSettings, then UsageThe same bars, plus reset times
VS Code extensionThe Account and usage dialogThe same breakdown, Day and Week toggle
API keyanthropic-ratelimit-* response headersPer-minute throughput remaining and reset
Menu bar, phone, or watchA monitor that reads those headersLive and continuous, no command

Inside Claude Code

01

Run /usage

/usage

On a Pro, Max, Team, or Enterprise plan this renders plan usage bars for your 5-hour session window and your weekly limits, alongside activity stats. /cost is an alias for the same command as of August 2026, so there is no separate cost view to learn.

02

Press d or w to change the window

The breakdown underneath the bars covers either the last 24 hours or the last 7 days. It attributes recent usage to skills, subagents, plugins, and individual MCP servers as a percentage of the total, and flags any behaviour accounting for 10 percent or more, such as long context or cache misses.

03

Read the Session block for tokens, not for billing

Total cost:            $0.55
Total duration (API):  6m 20s
Total duration (wall): 6h 33m 10s
Usage by model:
   claude-sonnet-4-6:  1.2k input, 5.3k output, 940.0k cache read, 50.0k cache write ($0.55)

That dollar figure is computed locally from token counts at standard list rates. It ignores promotional pricing and contracted discounts, and on a subscription no money moved at all. It is a measure of intensity, not a bill.

The windows you are being measured against

How the subscription limits behave.

WindowResetsCheck whenWarning sign
5-hour sessionRolling, five hours after you start using itBefore starting anything longUnder 20 percent
Weekly, all other modelsA fixed time each week assigned to your accountMidweek, deliberatelyUnder 30 percent before Wednesday
Weekly, Opus onlySame fixed weekly timeWhenever you switch to OpusAny Opus-heavy day

The weekly cap is the one people are surprised by, because it is the only limit you can hit without any individual day looking unusual. Five ordinary days in a row will do it, and the first sign is being blocked on a Thursday for no visible reason.

Reading it from the API directly

If you have an API key, the headers are the source of truth and a single cheap request will show them.

A one-token request, purely to read the headers back.
curl -sS -D - -o /dev/null https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-haiku-4-5","max_tokens":1,
       "messages":[{"role":"user","content":"hi"}]}' \
  | grep -i -E 'ratelimit|retry-after'

The headers Anthropic returns.

HeaderMeaning
anthropic-ratelimit-requests-limit / -remainingRequests allowed and left in the current window
anthropic-ratelimit-input-tokens-remainingInput tokens left, rounded to the nearest thousand
anthropic-ratelimit-output-tokens-remainingOutput tokens left, rounded to the nearest thousand
anthropic-ratelimit-tokens-remainingThe most restrictive token limit currently in effect
anthropic-ratelimit-*-resetWhen that limit is fully replenished, in RFC 3339
retry-afterPresent on a 429. Seconds to wait; earlier retries fail

What to do at each level

  • Above 50 percent: nothing. Do the work.
  • 20 to 50 percent: do not start a long autonomous run you cannot finish.
  • Under 20 percent: switch to a cheaper model, finish the current task, commit.
  • Under 5 percent: commit now. Getting cut off mid-edit is the one genuinely costly outcome.
  • Weekly under 30 percent on a Tuesday: change something structural, not tactically.

The habit worth building is committing before a window closes rather than after. An agent interrupted mid-edit leaves a working tree you then have to reason about, and that is the real cost of a rate limit.

Not having to check

Every method above requires you to stop and ask, and the moment you most need the answer is the moment you are least likely to.

Questions people ask

Run /usage inside Claude Code for progress bars against your 5-hour and weekly limits. On claude.ai, open Settings then Usage for the same bars. On an API key, read the anthropic-ratelimit headers from any response.

It still works and is now an alias for /usage. The per-session token and dollar figures appear in the Session block at the top of the /usage screen, and they reset when /clear starts a new session.

No. It parses session files, which record what you consumed. Remaining allowance is only reported by the server, in rate-limit response headers and the usage endpoint the CLI queries.

Not as absolute token counts. How far an allowance goes depends on the model, the effort level, and how much context each turn carries, so a single number would be misleading. The progress bars are the published answer.

The plan usage bars come from the server, but the attribution breakdown beneath them is computed from local session history on that machine only. Work done on another laptop or in claude.ai is not included in the breakdown.

Not for the session or weekly windows, which are shared across models. It does help after the model-specific "You have hit your Opus limit" message, because the Opus weekly limit is separate.

No. They report per-minute throughput limits in requests, input tokens, and output tokens, replenished continuously. The 5-hour and weekly subscription windows are a different measurement and the two will not agree.

Not from Anthropic directly. A monitor that reads the rate-limit signal can warn at a threshold you set; Continuum does this in the menu bar and on your phone, with a burn rate so the warning is expressed as time remaining.

Sources

Every figure above was read from these pages on August 2026. Vendors reprice without notice; if you find a stale number, tell us.

  1. Claude Code: manage costs effectively
  2. Claude help: usage limit best practices
  3. Anthropic API rate limits and response headers
  4. Claude Code commands reference
Try it

The answer,
already on screen.

Live 5-hour and weekly gauges per account, in the menu bar and on your phone, showing time to limit rather than a raw percentage.

free app · your subscriptions · local-first