CLAUDE.md and token cost: what it is and what it costs you
CLAUDE.md is the one file Claude Code reads on every single session. That makes it the most re-read text in your repo, and one piece of a much bigger picture.
CLAUDE.md is a project instruction file that Claude Code loads into context at the start of every session, so it is re-sent on every step. It is a real but modest part of your usage. The bigger drains are usually long sessions, background agents and noisy tool output, which QuotaPlug handles automatically.
Why CLAUDE.md matters to cost
CLAUDE.md is loaded into context at the start of each session. Context is re-sent on every step. So a CLAUDE.md is never a one-time cost: over a long session it is re-read at the cache rate on every single request, in every project, in every conversation you start. A small file is a rounding error. A very large one adds a fixed tax to everything you do.
Anthropic's own /usage recommendations show this pattern: a row naming a specific CLAUDE.md that adds tokens to every request is what a bloated file looks like. Size also affects behavior. Anthropic's memory docs note that longer files consume more context and reduce adherence.
What CLAUDE.md is for
It is where you tell Claude facts it should hold in every session: how to build and test your project, how the code is laid out, conventions Claude cannot infer. Run /init to generate a starting file from your codebase. If one exists, /init suggests improvements instead of overwriting.
Claude Code also supports other places for instructions, each with its own loading behavior. Anthropic documents them in its memory docs.
The bigger picture
It is tempting to treat CLAUDE.md as the lever on token usage, because it is the one thing you fully control and can read in a minute. In practice it is a fixed overhead, and fixed overhead is usually not where a plan goes. The drains that decide whether a week survives are the ones that grow while you are not looking.
- Long sessions. A conversation that keeps growing is re-read on every step, so what it carries matters more than any single file in it.
- Background agents. They run their own requests, outside your main conversation.
- Noisy output. A single log can be re-read for the rest of a session.
In the founder's heaviest November 2026 week, 62% of the spend was re-reading oversized conversations, and on his Max plan 81% of one week went to subagents. A tidy instruction file does not touch either of those.
What QuotaPlug does and does not do
QuotaPlug does not rewrite your CLAUDE.md, and you do not need to change it to use QuotaPlug. It works on the other side: the usage that builds up around your instructions while you work. A lean file is no help if it sits under a conversation that has grown out of control, and a long file is a modest cost next to waste you never see.
Whatever you keep in CLAUDE.md is your call. Treat the file like code: review it when something goes wrong, delete lines that no longer earn their place, and keep it correct. Beyond that, the bigger gains are elsewhere.
Why QuotaPlug handles the rest
Instruction files grow one line at a time. Every bug becomes a rule, every rule becomes a paragraph, and months later nobody dares to cut it. Meanwhile the waste outside the file keeps growing too.
QuotaPlug is a usage optimizer for Claude Code that makes a Claude Pro, Max or Ultra plan last 2 to 4 times longer. Same model, same effort level, same quality, and no changes to how you prompt. It installs in one command and runs locally.
See where your own tokens went:
npx quotaplug auditLocal, no account needed. Pricing.
Frequently asked questions
Does CLAUDE.md cost tokens on every message?
What is CLAUDE.md for?
/init to generate a starting file.