/usage in Claude Code to see your plan usage and what is using it. Long sessions, big context, subagents and MCP servers use the limit fastest; /clear, a lighter model and specific prompts save the most.
When you sign in to Claude Code with your claude.ai subscription, all activity in Claude Code, the claude.ai chat, Claude Desktop and the IDE extensions (VS Code, JetBrains) counts against one shared set of limits:
| Plan | Limits that apply to Claude Code |
|---|---|
| Pro | 5-hour session limit + weekly limit |
| Max | 5× Pro, every 5 hours and every week; plus a separate weekly limit for the largest model |
| Ultra | 10× Pro every week; verified accounts have no 5-hour limit; separate weekly limit for the largest model |
So a morning of heavy coding can leave little for chatting in the afternoon – and the other way round. For a full comparison of the plans see Claude Pro vs Max vs Ultra.
Careful with API keys: if the ANTHROPIC_API_KEY environment variable is set, Claude Code uses that key instead of your subscription – and you pay API prices for every request.
/usage – shows your plan usage bars and a breakdown of what is using them: skills, subagents, plugins and individual MCP servers, with recommendations such as trimming a large CLAUDE.md. Press d / w to switch between the last 24 hours and 7 days./usage breakdown only uses the local session history of the machine you're on./context – shows what is currently taking up space in the context window.CLAUDE.md and many MCP servers – loaded into context with every session./clear between unrelated tasks. Stale context is resent with every message. Use /rename first if you want to /resume the session later./compact for long tasks you want to continue – it summarises the conversation (it is itself a large request, so don't run it every few minutes)./model, and lower /effort for simple work.CLAUDE.md short (move specialised instructions into skills) and disable MCP servers you don't use with /mcp.More causes and fixes – also for the claude.ai chat – are in Why do I hit the Claude usage limit so fast?
/usage-credits), you can keep working and pay for the extra usage, up to a monthly cap you set.
Usage Meter for Claude is a free browser extension that keeps your Claude usage on the toolbar icon – including usage from Claude Code. The popup shows your session and weekly limits with reset times and a forecast of when you'll run out at your current pace, and you get a notification before you hit the limit. Ideal for deciding whether to start that refactoring now or after the reset.
Works with Claude Pro, Max and Team. Nothing is sent to the developer – your data stays in your browser.
No. With a Pro, Max or Ultra subscription, Claude Code shares the same 5-hour session and weekly limits as claude.ai and Claude Desktop.
Run /usage. It shows your plan usage and what is using it. For usage across all your devices, check Settings → Usage on claude.ai.
Every request carries the whole conversation plus tool results, and subagents, MCP servers and long sessions add more. Clearing context between tasks and using lighter models helps the most.
Not for the session or weekly limit, which apply across all models. It only helps if you hit a model-specific weekly limit.
Yes, if usage credits are turned on for your paid plan – you pay for the extra usage up to a monthly cap you set. Otherwise you wait for the reset.
Sources: Claude Code docs – Manage costs effectively; Claude Help Center – Use Claude Code with your Pro, Max or Ultra plan, How do usage and length limits work?.