How do I check my Claude Code usage and limits?
Last updated
Short answer: Type /usage at the Claude Code prompt. On a Pro, Max or Ultra plan, it shows bars for your plan limits plus a breakdown of what used them, and if you pay through the API, it shows the session's tokens and an estimated dollar cost. On claude.ai, Settings > Usage shows the same limits along with when your five-hour session and weekly limit reset. For a number that stays on screen, you can set up a custom status line to show your 5-hour and 7-day percentages.
Start with /usage
Run /usage and you'll see plan usage bars, activity stats and a usage breakdown if you're on a subscription. The Session block at the top is meant for API users. Anthropic's docs say its dollar figure isn't relevant for billing on Pro, Max or Ultra, because that usage is included in the plan. On the API, the figure is an estimate that Claude Code works out on your machine from token counts at list price, so your billing page, not this screen, is the authoritative number. Running /clear starts a new session and resets those session totals to $0.
What the breakdown tells you
The breakdown is the useful part when you keep hitting limits. It splits your recent usage between skills, subagents, plugins and individual MCP servers, then lists suggested changes for anything behind 10% or more of it, such as trimming an oversized CLAUDE.md or lowering the effort level. Press d or w to switch between the last 24 hours and the last 7 days. These numbers come from session history on the machine you're using, so they leave out claude.ai and your other computers. On version 2.1.305 or later, pressing f lets Claude Code apply the recommendations it can.
Check reset times on claude.ai
Open Settings > Usage on claude.ai to see your current session with the time left on it, and your next weekly reset. The five-hour window starts with your first message, while the weekly reset happens at a fixed time Anthropic assigns to your account. Claude chat, Claude Code and Claude Desktop all draw from the same limit, which explains why a long chat can leave less room for coding. Verified Ultra accounts don't have a five-hour limit.
Keep it on screen with the status line
If you'd rather not keep typing /usage, a custom status line can read the same limits. Claude Code passes it rate_limits.five_hour.used_percentage and rate_limits.seven_day.used_percentage, plus a resets_at time for each window. Those fields appear only for Pro, Max and Ultra subscribers (or behind a Claude apps gateway that sets a spend limit), and only after the first response in a session, so your script should handle them being missing. The docs suggest a jq expression with // empty for exactly that.
When /usage says it's rate limited
A message like "rate limited until 3:14am" in /usage is about fetching your usage numbers, not about your work. Claude Code shows the last bars it loaded on that machine within the past hour, marked as last-known usage, and pressing r retries. If you hit an actual limit instead, the message names a session limit or a weekly limit and tells you when it resets. Switching models won't get around those two, since they cover every model.
Sources
- Claude Code docs: manage costs (/usage for subscribers and API users, plan usage breakdown, d/w toggle, f to fix, rate-limited usage endpoint, limit messages), checked 2026-11-24
- Claude Code docs: status line (rate_limits.five_hour and seven_day used_percentage and resets_at; Pro, Max and Ultra only, after the first response), checked 2026-11-24
- Claude Help Center: how usage and length limits work (Settings > Usage, five-hour and weekly resets, shared across claude.ai, Claude Code and Desktop), checked 2026-11-24
Free PDF: the AI Coding Cost Cheat Sheet. Enter your email to download it, plus one email a week when picks or prices move.
FAQ
Why does /usage show a dollar cost on my Max plan?
That's the Session block, which Anthropic says is meant for API users. On Pro, Max and Ultra, your usage is included in the plan, so the figure doesn't affect your bill.
Does /usage include my claude.ai chats?
The plan bars cover your whole account, because the limit is shared across claude.ai, Claude Code and Claude Desktop. The breakdown below them only counts Claude Code sessions on the machine you're using.
How do I see when my Claude Code limit resets?
Settings > Usage on claude.ai shows the time left in your current session and your next weekly reset. If you hit a limit, Claude Code's message also tells you when it resets.
Can I keep working after hitting the limit?
If you turn on usage credits, yes. Run /usage-credits, which opens Settings > Usage on claude.ai for Pro, Max and Ultra subscribers, and while credits are on, /usage shows this month's spend. Otherwise you wait for the reset.
Do affiliate links affect this answer?
No. There is no affiliate link on this page, and affiliate status never affects our picks.
Next steps
- Claude Code pricing full plan breakdown
- Claude Code weekly limit what the limit is and when it resets
- Claude Code subagent usage why background agents drain limits
- Claude Code: API or subscription? which way of paying fits you
- Claude Pro vs Max when the bigger plan pays off
- Can you use Vercel's free Hobby plan for a commercial app?
- Is Railway free?
- Does n8n have a free plan?
- X Super vs Claude Max for coding: should you switch from Claude Code?
- Codex Plus, Claude Pro, Cursor Premium or Google AI Pro: which AI coding subscription is the best value?
- Is Claude Code free?
- What is the Claude Code weekly limit?
- Claude Code: API pricing or a subscription?
- Claude Pro vs Max vs Ultra: which plan for Claude Code?
- Does ChatGPT Pro include API credits? Can you use them in Codex?
- What is the cheapest AI coding subscription?
- How do GitHub Copilot AI credits work, and how much is a credit in dollars?
- Is T3 Code free? What does it actually cost?
- Is Cursor free?
- What are Cursor Live Apps and which plans get them?
- What is Cursor Voice Chat and how is it different from dictation?
- What is Antigravity Voice mode and how is it different from voice dictation?
- Is GitHub Copilot free?
- Is Codex free?
- Is Gemini CLI free?
- Is OpenCode free?
- Will ChatGPT and Codex share usage limits?
- What does OpenAI's Pierre acquisition mean for Codex?
- Meta acquired Conductor — what happens to cloud, local, and what should users do?
- Cursor Voice Chat vs Antigravity Voice mode: which should you use?
- What happens to Claude Code Opus 4.8 fast mode on November 30, 2026?
- Do Claude Code background subagents use less of your usage limit now?
- Are Claude Code plugins and skills safe to install?
- What is OpenRouter Auto Code, and what does it cost?
- Is Qoder free, and what free offers does it have right now?
- What is the Qoder Developer Pass, and who can get a free month of Qoder Ultra?
- Claude Code vs Codex computer use: which one can control your desktop, and on which plan?
- How do you use Claude Fable 5.2 in Claude Code, what does it cost, and which plans include it?
- Are there Black Friday 2026 deals on AI coding tools like Cursor, Claude Code, GitHub Copilot and Antigravity?
- Is SWE-2.1 free in Devin, and what does it cost after the free period?
- Can you use Inkling 2 Mini as a free local model in Claude Code or OpenCode?
- What is Claude Ship, and can you use it on a Claude Pro or Max plan?
- How do you use GLM-5.4 in Claude Code, and what does the GLM Coding Plan cost?
- Is Base44 free?
- How do Lovable credits work?
- Do Bolt tokens roll over?
- How much does ChatGPT Sites hosting cost, and when does free hosting end?
- What is Pydantic Pax, and what does it cost if I sign in with ChatGPT or Copilot?
- AI Coding Cost Cheat Sheet (free PDF) what $0, $20 and $100+ a month gets you
- Affiliate disclosure
Spotted an error? Send a correction.
Free: the AI Coding Cost Cheat Sheet (PDF)
What $0, about $20 and $100+ a month gets you across 22 AI coding tools, with prices copied from vendor pages when we wrote it; plans change often, so check each vendor's page before you buy. Enter your email to download it now. You'll also get our free weekly email: what shipped and which picks or prices moved, about a 2-minute read. Unsubscribe anytime.