<!-- Markdown version of https://quotopsy.com/guide/claude-code-usage-limit -->

# Why Claude Code hits its usage limit

Updated 20 November 2026

Most of what Claude Code spends is not your prompts. It is the context sent again with every request: tool definitions, earlier tool output, history. A few habits decide how large that gets, and your own logs show which ones matter for you.

## 1. Cache rebuilds after a pause

Claude Code reuses the start of each request from a prompt cache, which is far cheaper than reading it fresh. The cache expires once its lifetime passes without a request: five minutes or an hour, depending on your setup. Come back from a meeting to a long session and the whole context is read in full again, at a higher price than a cache hit. A long session with many pauses can spend more on rebuilds than on the work itself.

**What helps:** start a fresh session after a long break instead of reviving a huge one, or run `/compact` before you step away so there is less to rebuild.

## 2. MCP servers you never call

Every connected MCP server adds its instructions and tool names to every request, whether or not you use it in that session. Full tool definitions load only once Claude uses a tool, unless tool search is turned off, but server instructions alone can be long.

**What helps:** turn off the servers a project does not need with `/mcp`.

## 3. Large tool output that stays in context

A long test log, a full file listing or a big API response stays in the conversation and is sent again with every following request until the session is compacted.

**What helps:** ask for filtered output (the failing test, not the whole run), and cap how much shell and MCP output enters the context in your settings.

## 4. Reading files you did not need

Lockfiles, build output and vendored code are large and rarely useful. Once read, they ride along like any other tool result.

**What helps:** deny reads of those paths in your project settings, and point Claude at the files that matter in `CLAUDE.md`.

## 5. Very long sessions

History grows with every turn, so the hundredth request in a session costs much more than the first. Thinking and output are rarely the largest part.

**What helps:** one task per session, and a fresh start when you change topic.

## How do I check which ones apply to me?

Claude Code already keeps session logs on your machine. Quotopsy reads them and estimates what each part of the context cost, then ranks what to fix. It is free, open source, and makes no network calls once installed.

    npx quotopsy

After you change something, compare the week before with the week after, giving the day you made the change:

    npx quotopsy --compare=YYYY-MM-DD

Every figure is an estimate, weighted by published API prices. How your plan's weekly limit weighs usage is not published, so read the shares rather than the totals.

## Is there a ready-made setup?

The [lean setup kit](https://quotopsy.com/#buy) (\$19, one time) packages the fixes above: settings that cap tool output and skip build files, a status line that counts down to your cache expiring, a short `CLAUDE.md` template and a one-page habits checklist. Everything in it is also described on this page, if you would rather set it up yourself.

## Which tool should you use to check?

Start with Claude Code's built-in command, then pick by the question you have: [Quotopsy vs /usage](https://quotopsy.com/compare/claude-code-usage-command) · [Quotopsy vs ccusage](https://quotopsy.com/compare/ccusage) · [Quotopsy vs CodeBurn](https://quotopsy.com/compare/codeburn). All guides are in the [guides hub](https://quotopsy.com/guide/).

Quotopsy is an independent project, not made or endorsed by Anthropic.
