Stiles Dichter
Free guide

Where my 2.2 billion tokens went, and what I changed

Free.

I used 2.2 billion tokens in one week. When I had Claude read its own logs, 94% of it was Claude re-reading old conversations. Only 0.3% was actual code and answers. Here's how to check yours, and the three things I changed.

What you need

  • Claude Code or Cowork. The audit has to read the usage logs on your computer, so a regular chat won't work.
  • Steps 2 and 3 are Claude Code settings.
Step 1

Run the audit

Paste this in, and swap [X] for the number on your usage page:

Prompt
Claude says I used [X] tokens this week. That seems way too high. Read my usage logs, show me where the tokens actually went, and help me fix it.

Unlock this prompt free.

Free. One email unlocks every guide. Unsubscribe anytime.

Step 2

Cap how big a chat gets

Open ~/.claude/settings.json and add this:

settings.json
{
  "env": {
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "400000"
  }
}

Unlock this file free.

Free. One email unlocks every guide. Unsubscribe anytime.

Once a chat hits about 400K tokens, Claude summarizes it instead of re-sending the whole thing every turn. If the file already has settings in it, add the line inside the existing "env" block instead of pasting a second one. Any number from 100000 to 1000000 works.

Step 3

Make it ask before launching a bunch of agents

Add this to ~/.claude/CLAUDE.md (your global instructions):

CLAUDE.md
Before using the Workflow tool or launching more than 3 subagents, stop and ask me first. State roughly how many agents it will launch and why a single-agent pass is not enough. For reviews and security sweeps, default to a single-agent pass.

Unlock this file free.

Free. One email unlocks every guide. Unsubscribe anytime.

For me, one "do a full security sweep" prompt launched 321 agents and used 471M tokens.

Step 4

Start fresh chats

When a feature is done, or the next day, start a new chat. Every message in an old chat re-sends everything before it.

Related: Test every new AI model on your own workRelated: Stop switching models mid-chat

Stuck?

DM me on Instagram (StilesAI). It's free, I got you.

Get the prompts free

Every prompt on this site, free.

Join my newsletter and every prompt unlocks right away, on every guide.

Free. One email unlocks every guide. Unsubscribe anytime.