Quotabar

Quotabar / Guides

Claude Code usage limits explained: the 5-hour window and the weekly cap

On Pro and Max plans, Claude Code shares the 5-hour session limit and the weekly limit with claude.ai. What each one means and how to keep an eye on both.

If you use Claude Code on a Pro or Max subscription, two limits decide when you have to stop: a rolling session limit and a weekly limit. Hitting either one in the middle of a refactor is the usual way people find out they exist.

The 5-hour limit

Your session limit counts usage in a window that starts with your first message and resets five hours later. Heavy agent runs, long files in context and bigger models use it faster.

The weekly limit

On top of that there is a weekly cap, and some plans also have a separate weekly cap for a specific model. The weekly limit resets at a fixed time, which Claude shows in its usage panel.

Watching both without leaving the editor

Habits that stretch a window

Start a fresh session for unrelated tasks, keep only the files you need in context, and save long refactors for right after a reset.

Questions

Does using claude.ai count against Claude Code?

Yes on subscription plans: the session and weekly limits are shared across claude.ai, Claude Code and the IDE extensions.

Where does Quotabar get the exact numbers?

Press Connect to Claude Code once. Quotabar becomes Claude Code's status line, and Claude Code passes your 5-hour and weekly percentages to it after every reply.

More guides