Black Friday: 30% off Pro for life · until Tue 1 DecBlack Friday 30% off Pro · until 1 Dec
For creatorsMake videos about AI coding? Earn 50% for life.Earn 50% for life.Become a Morphy creatorJoin →
morphy

Claude Code usage limits: how to stop hitting them (2026)

How Claude Code's 5-hour and weekly limits work on Pro, Max and Ultra, what to do when you hit one, and 12 ways to make your plan last longer.

You're in the middle of something and Claude Code stops: You've hit your 5-hour limit · resets 3:45pm (before 2.1.312: You've hit your session limit). This guide explains how the limits work, what to do when you hit one, and the habits that make a plan last longer. It's all from Anthropic's own documentation, checked on November 26, 2026.

(I build Morphy, which runs Claude Code next to other AIs. It gets one short section near the end; everything else applies whichever app you use.)

How do Claude Code's usage limits work?

  • Two limits on Pro and Max: a 5-hour session limit and a weekly limit. Both count at the same time, so one heavy burst, like a big fan-out of subagents, can use up the week before the session window resets.
  • Shared with Claude chat. Everything you do on claude.ai counts against the same limits as Claude Code.
  • Sometimes a model limit on top: Claude Code can report an Opus limit or a Sonnet limit, which applies only to that model family. Anthropic's plan pages list just the weekly limit for all models, plus Fable's.
  • Fable has a cap of its own: on Max and Ultra it can use up to half your weekly limit; on Pro it's paid with usage credits. See Claude Fable 5.2.
  • Max ($100 a month) gives five times Pro's allowance, every 5 hours and every week.
  • Ultra ($200 a month, called Max 20x until the end of October 2026) gives ten times Pro's weekly allowance and has no 5-hour limit once Anthropic has verified your account; the weekly limit stays. More in Claude Max vs Ultra.
  • API credits: Max and Ultra come with monthly API credits, but those can't be used in Claude Code or the Claude apps, only on the API.
  • Team and Enterprise give each person a seat allowance on the same 5-hour and weekly windows, shared with Claude chat and Cowork; a premium Team seat has five times a standard one.
  • The free plan doesn't include Claude Code at all.

When you run out, Claude Code tells you which limit it was:

MessageWhat it meansWhat helps
You've hit your 5-hour limit · resets 3:45pm (before 2.1.312: session limit)The 5-hour allowance is used up, for every modelWait, usage credits, or another AI
You've hit your weekly limit · resets Mon 12:00amThe week's allowance is used up, for every modelThe same; switching models won't help
You've hit your Opus limit (or Sonnet limit)Only that model family is used upSwitch to another family with /model
You've hit your Fable limitFable's share of the week (half, on Max and Ultra) is used upSwitch models with /model, or continue on usage credits
You've used 85% of your 5-hour limit (before 2.1.312: session limit)A warning before the limitFinish the step you're on, plan the next

If the 5-hour limit hits mid-step, Claude Code may keep working briefly and show Usage limit reached · wrapping up. That allowance is small, counts toward your weekly limit, works once a week on Pro, and at each 5-hour limit on Max, on Ultra before your account is verified and on Team premium seats. It needs Claude Code 2.1.277 or later, and is still rolling out.

Not every stop is your limit. API Error: Repeated 529 Overloaded errors means Anthropic's servers are at capacity for everyone, and it doesn't count against your plan: here's what to do about a 529. Before 2.1.332, a red limit message could also be wrong: a reply that started with "You've used" or "You've hit your" could show as a limit error, and Remote Control, VS Code and other apps could still report a limit after it had reset. If /usage shows room left, update Claude Code.

How do you see how much you have left?

  • /usage shows your limits and when they reset. On a plan, it also shows which skills, subagents, plugins and MCP servers used the most, and flags habits that cost you, like a long context or cache misses. Press d or w for the last day or week.
  • The status line can show your remaining allowance all the time (its rate_limits fields).
  • The Claude desktop app has a usage ring in the row under the prompt box, and the VS Code extension an Account & usage dialog.

What can you do when you hit the limit?

  1. Let it carry on by itself. Since version 2.1.234, Claude Code waits in the open session and continues the task on its own after the reset; it's on by default when you're signed in with a Claude plan. In the desktop app, tick Auto-continue when limits reset on the session-limit card.
  2. Switch models, if it was the Opus or Sonnet limit. The next message re-reads the whole conversation without the cache, so it costs a little more.
  3. Turn on usage credits. /usage-credits opens Settings → Usage on claude.ai, where you can keep working past the limit at standard API prices, with a monthly cap you set. Credits bought on or after December 7, 2026 generally expire after 12 months; older ones don't. Note that while you're on usage credits, Claude keeps your conversation in its cache for five minutes instead of an hour, so pauses cost more.
  4. Upgrade: Max gives five times Pro's allowance; Ultra gives ten times Pro's weekly allowance with no 5-hour limit. See which one to pick.
  5. Hand the task to another AI. If you also have ChatGPT, Codex reads the same AGENTS.md and runs on a separate plan with its own limits. See Codex vs Claude Code, and how to switch from Claude Code to Codex with your setup and recent chats.

12 ways to make your plan last longer

In a long session, much of the usage is Claude re-reading the conversation: every request sends it again, and every tool call adds to it. So the biggest savings come from keeping the context small.

  1. Clear between tasks. /clear starts fresh and costs nothing. Use /rename first if you want to come back to the old session with /resume.
  2. Use Sonnet for most work. It handles most coding well and uses less than Opus; keep Opus for hard design decisions. Switch with /model, and remember that subagents that inherit your model switch with it.
  3. Lower the effort for simple jobs. The 5.5 models always think, but /effort sets how much.
  4. Mind the cache. On a plan, Claude keeps your conversation cached for an hour. After a longer break, your next message re-reads all of it at the full rate, so a long break is a good moment for /clear.
  5. Compact on purpose. /compact reads the whole conversation to summarize it, so it's a big request itself. Tell it what matters (/compact Focus on the failing tests), or /clear when you don't need the history. More in what compacting does.
  6. Keep CLAUDE.md short. It's loaded into every session. Move instructions for specific jobs, like releases or migrations, into skills, which load only when needed.
  7. Trim your MCP servers. /context shows what's filling the context, and /mcp turns off servers you're not using. Command-line tools like gh cost less context than an MCP server that does the same.
  8. Send noisy work to subagents. Test runs and long logs stay in the subagent's context, and only a summary comes back. Subagents still use your plan, though, so give them a smaller model.
  9. Keep agent teams small, and ultracode for big jobs. Teammates in plan mode use about seven times as much as a normal session, because each one is a separate Claude with its own context (subagents or a team?). Ultracode runs a whole workflow of agents for every task, so turn it off (/effort ultracode off) for routine work.
  10. Plan before big changes. Plan mode (Shift+Tab) agrees on an approach before any code is written. Press Esc as soon as it heads the wrong way, and /rewind to go back.
  11. Be specific. "Add input validation to the login function in auth.ts" reads a few files. "Improve this codebase" reads everything.
  12. Watch what runs in the background. A scheduled task or loop sends your whole conversation each time it fires, even when you're not there. A hook can trim noisy output, like keeping only the failures from a test run, before Claude reads it.

What about running several agents at once?

Every session and subagent draws from the same plan, so five agents at once use it about five times as fast (here's how to run several). Two things help: give each agent a small, separate task with its own clear context, and put some of them on a different plan or a free model, so one limit doesn't stop everything.

In Morphy

Morphy runs Claude Code with your own sign-in, next to Codex, Copilot, Gemini, Grok and others. Settings → Account → Usage shows how much of your Claude, Codex, Grok and Antigravity plans you've used, and when each resets. When a chat hits its limit, it offers Send when it resets (on Pro) and Continue with Codex, or any other AI you've connected: a new chat beside it, in the same folder, that carries the conversation on. Small jobs can run on OpenCode's or OpenRouter's free models, or Ollama on your own computer. See Connect your AI.

Questions

When does the limit reset? The message tells you ("resets 3:45pm"), and /usage shows both your session and weekly reset times.

Does using Claude chat count against Claude Code? Yes. On Pro, Max and Ultra, both draw from the same limits.

Does a second Claude account have its own limits? Yes, each account has its own. Here's how to use Claude Code with more than one account, and what Anthropic's terms say about it.

Can I use Max's API credits in Claude Code? No. They're for building on the Claude API, not for Claude Code or the Claude apps.

Does switching to Sonnet help? Only for an Opus or Fable limit. The 5-hour and weekly limits cover every model.

Is it cheaper to use an API key? It depends on how much you use. Usage credits and API keys are both billed at standard API prices, while a plan costs the same every month. If you hit your limits often, compare a month of API spend with Max; for occasional use, paying per use can be cheaper.

References