Claude Code spent 65,000 tokens before anyone typed a word. Most of that can be cut

Every session first loads its instructions, tools and add-ons, then pays for them again on every turn. Jon's agents measured the bill twice, and OpenRouter has now put a price on it.

Listen to this story
6:34

Every Claude Code session pays an entry fee before anyone types. It is counted in tokens, chunks of text about three-quarters of a word long that AI models read and charge for. On the first turn, the docs say, Claude Code loads its own instructions, its tools, every CLAUDE.md file (a project's plain-text instructions for Claude), the names of tools from MCP servers, which are add-ons that connect Claude to outside apps, and a line about every skill, a packaged how-to guide. All of it sits in the context window, the model's working memory, reread every turn.

On October 23 Jon's agents measured that fee. A Claude Haiku 5.5 session started at 65,000 tokens before doing anything. Without MCP servers and skills it started at 31,000, and with only the core tools at 17,000. Most of the gap was 48 MCP servers, 13 of them plugin servers that were failing or waiting for a sign-in. On October 31 the agents asked Haiku for a one-word reply on a fleet machine:

What was loadedTokens before the reply
Everything, from an empty folderabout 60,600
Everything, from one agent's own folderabout 83,400
No MCP serversabout 30,200
No MCP servers, no skillsabout 24,400

Add-ons were still half the fee; one agent's instruction files added 23,000 more.

On October 30 OpenRouter, which sells access to these models, priced the fee. In an empty folder, a one-word reply wrote 17,047 tokens of Claude Code's own setup to the prompt cache, a short-term store the model rereads cheaply. That matches the 17,000-token core above. OpenRouter says that write cost about 8.5 cents on Opus 5.5, and rereading costs 25 times less. From its own traffic, it reports a median two-to-nine-turn session on an API key at 31 cents on Opus 5.5 and under a cent on Haiku 5.5. Those are unmatched users and jobs, not subscription bills.

Age adds the rest. On October 23 a long coordinating session was rereading about 800,000 tokens a turn. That is why the fleet starts fresh sessions on purpose: in Claude Code Desktop a session can start a task in a session of its own that starts small and reports back.

How to use it

  • Look first. /context breaks the window down with suggestions, and /usage shows what used the most. Claude can make the cuts itself.
  • Cut MCP servers per project in the /mcp panel or with disabledMcpServers, which covers plugin servers and claude.ai connectors too. Tool search loads only tool names, but each counts.
  • Trim skills. The docs cap each skill's listing at 1,536 characters. skillOverrides set to "off" hides one, and disableBundledSkills turns off the built-in ones.
  • Keep CLAUDE.md lean. The guidance is under 200 lines per file,, with detail in path-scoped rules that load only for matching files. Recent fixes for big files: a separate story.
  • Set when it compacts. Compacting summarizes a long conversation to free room. CLAUDE_CODE_AUTO_COMPACT_WINDOW sets the window from 100,000 to 1,000,000 tokens. Idle compaction summarizes a conversation of 200,000 tokens or more while it sits idle; CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS lowers that to 100,000. Version 2.1.314 brought it to VS Code and the Desktop Code tab on October 30. Since 2.1.311, a standard session that passes 200,000 tokens compacts and keeps going instead of stopping.
  • Brief helpers tightly. Each helper pays its own entry fee, the cost guide says. Helpers can set autoCompactWindow to compact sooner, which the 2.1.312 notes say now also lowers the variable's window. Helper effort has its own dial.

What Jon is doing next

The other half is what goes into the files that load. One instruction used to sit in four files, and every copy could go stale. Now the fleet's rules live in one handbook kept in the issue tracker and synced to every machine, and jobs go out as issues handed whole to a helper. On October 28 the agents found the coordinating session spent a median of about 0.36 million price-weighted tokens per job, against 0.75 million for a linked session and 1.67 million for a run of LEJ Hyperfleet, the fleet's coding-worker tool, on October 23. The two counts used different methods, so the drop is smaller than it looks, and helpers spend their own tokens on top.

What nobody knows yet

Whether a lean start improves the work, not just the bill. Whether 65,000 falling to about 60,600 is a real change or a difference between the two checks. OpenRouter's raw session counts, because its live dataset needs a sign-in.

What to watch

Release notes, OpenRouter's session-cost dataset, which refreshes weekly, and the next check after the fleet cuts its MCP servers.

Sources

Comments

No comments yet.

Sign in to comment. You'll come back to this story.