Every Claude Code turn re-sends the whole session: instructions, every file it read, every command output. Late in a session the same question costs many times more than it did at the start. Shorter sessions, quieter tool output, the right model and compressed context are what make a plan last.
What counts against your limit
Claude plans meter tokens over a rolling five-hour window and a weekly cap. In an agent session nearly all of those tokens are input the model has already seen.
- cache read67.7%
- cache write18.9%
- output13.2%
- fresh input0.2%
Why it grows so fast
Context only grows until auto-compact fires. Every file read, failing test and broad grep rides along on every later turn.
- default
- with condense
Five ways to make it last
- 1One session per task
/clearwhen you switch. Keep decisions in CLAUDE.md, not chat history. - 2Quiet tool output
Failing tests only,
taillong logs, scope searches. - 3Right model
Plan with Opus, implement with Sonnet via
/model. - 4Trim overhead
Disable unused MCP servers. Check
/contextbefore you start. - 5Compress what is re-sent
condense shrinks old tool output and file contents before each request: up to 3× more from the same plan.
Hit the limit mid-task?
Ask for a short handoff note (done, broken, next step), commit or stash, and start a fresh session from the note when the window resets.
Frequently asked questions
Why did I hit my Claude Code limit after only a few messages?
Usage is counted in tokens, not messages. One message in a long session can carry hundreds of thousands of tokens of history, file contents and tool output.
Does a long Claude Code session use more of my limit than starting fresh?
Yes. Each turn re-sends everything still in context. Cached tokens are cheaper but still count, and the cache expires after a few idle minutes.
Does Opus use more of my Claude plan than Sonnet?
Yes. Use Opus for planning and hard debugging, and Sonnet for routine edits, tests and refactors.
How do I check how much Claude Code usage I have left?
Run /status inside Claude Code. Through condense, dense usage shows session and weekly usage next to what the same work would have cost uncompressed.
Will upgrading from Pro to Max fix it?
It raises the ceiling, but the habits that empty Pro empty Max too. Cut waste first, then upgrade if you still hit the limit on normal work.