Black FridayBoth my products for $199, normally $298. Ends Dec 1 at midnight CT.Both for $199 · ends Dec 1Get the bundle

11 Claude Code Usage Tips to Save Tokens (2026)

· Updated November 24, 2026 · Claude Code

Claude Code usage tips are the difference between hitting your session limit by noon and getting a full day of productive work done.

Why Token Management Matters in Claude Code

Most people think Claude Code counts messages. It actually counts tokens.

Every time you send a message, Claude rereads the entire conversation from the beginning. Message one might cost 500 tokens, while message 30 costs 15,000 because it's reprocessing everything before it.

One developer tracked a 100-plus message chat and found that 98.5% of all tokens were spent rereading old history. Only 1.5% went toward the actual output.

That means your cost isn't adding up linearly. It's compounding.

On top of your own messages, Claude reloads your CLAUDE.md, MCP tool names and instructions, system prompts, skills, and files on every single turn. This invisible overhead drips into your context constantly.

Bloated context doesn't just cost more. It produces worse output thanks to a phenomenon called "lost in the middle," where models pay the most attention to the beginning and end of a session while ignoring what's in between.

If you're new to Claude Code, understanding this token math early will save you serious frustration.

11 Claude Code Usage Tips That Actually Save Tokens

These come from my own experience, community threads, and hours of testing. They run from simple habits to advanced strategies, ending with the new experimental Code Mode.

1. Start Fresh Conversations Between Unrelated Tasks

This is the single biggest thing you can do. Use /clear between unrelated tasks.

Don't carry context about topic A into a conversation about topic B. Every message in a long chat costs far more than the same message in a fresh chat.

At roughly 500 tokens per exchange, 5 messages costs about 7,500 cumulative tokens. By message 30, you're at 232,000.

That 30th message alone costs 30 times as much as the first one. Fresh chats reset this compounding entirely.

2. Batch Your Prompts Into a Single Message

Three separate messages reload your context three times, where one combined message reloads it once. Instead of sending "Summarize this article," then "Now list the main points," then "Suggest a headline," combine them all into one prompt.

You save tokens twice: fewer context reloads, and you stay further from your session limit. The answers often turn out better too because Claude sees the full picture from the start.

3. Be Surgical With File References

Don't say "here's my whole repo, go find the bug." Say "check the verifyUser function inside auth.js."

Use @filename to point at specific files instead of letting Claude explore freely.

If the bug is in one function, paste just that function. Claude needs precision, but so does your input.

Every unnecessary file you feed it is tokens burned for nothing.

4. Disconnect Unused MCP Servers

Connected MCP servers used to load every tool definition into your context on every message, and one server alone could add 18,000 tokens. Claude Code now defers those definitions by default with a feature called tool search.

Only tool names and server instructions load when a session starts, and a full definition loads when Claude actually needs that tool.

That makes an idle server much cheaper, but not free. The names and instructions still load every session, and tool search switches off in some setups, such as when ANTHROPIC_BASE_URL points to a third-party proxy.

There, every definition loads up front again.

Claude Code usage tips MCP protocol documentation explaining how MCP servers connect to AI
The Model Context Protocol documentation explains how MCP servers connect external tools to AI models.

 

Run /mcp at the start of each session and disconnect the ones you don't need. Most weeks I keep only two or three connected, and I covered which servers earn their place in a marketing setup in a separate post.

Better yet, if a CLI exists for the same tool (like Google Workspace CLI instead of the Google Calendar MCP), use that instead. CLIs are faster and cheaper.

5. Use Plan Mode Before Jumping Into Real Tasks

Plan mode lets Claude map out its approach and ask clarifying questions before writing any code. This prevents one of the most expensive kinds of token waste: Claude going down the wrong path, writing hundreds of lines, and then scrapping everything.

Add something like this to your CLAUDE.md: "Do not make any changes until you have 95% confidence in what you need to build. Ask me follow-up questions until you reach that confidence level."

6. Keep Your CLAUDE.md Lean

Claude auto-reads your CLAUDE.md at the start of every single chat as system context. If your file is 1,000 lines, every message you send triggers a full reload of all 1,000 lines, even if you just say "hi."

Keep it under 200 lines. Include your tech stack, coding conventions, build commands, and the most important rules.

Treat it like an index that routes to where more data lives, not an encyclopedia. Point to skills and reference docs by file path so Claude grabs them only when needed.

If you are still deciding which ones to add, start with a curated set of skills worth installing.

7. Compact at 60% Capacity, Not at the Limit

Auto-compact waits until the window is nearly full, about 967,000 tokens (roughly 97%) on a model with a 1 million token window. By that point, your context is already degraded and output quality has dropped.

Run /context to check your capacity percentage, and at about 60%, run /compact with specific instructions on what to preserve.

You can also move the trigger point with /autocompact 600k, which is about 60% of a 1 million token window. Claude Code saves it for your current model, but an automatic compact can't follow your preserve instructions, so a manual /compact still gives you more control.

Claude Code usage tips CLI reference showing slash commands like clear compact and context
The Claude Code CLI reference lists all available slash commands including /clear, /compact, and /context.

 

In my testing, quality drops further after three to four compacts in a row. At that point, get a session summary, run /clear, paste the summary into a new chat, and keep going.

The full list of available commands is in the Claude Code CLI reference.

8. Long Breaks Cost You (Prompt Cache Timeout)

Claude Code uses prompt caching to avoid reprocessing unchanged context. That cache expires.

On a Claude subscription, within your plan's included usage, the main conversation gets a one-hour cache. On an API key or a cloud provider it is five minutes by default, and on a subscription it drops to five minutes once you go past your plan limit and start drawing on usage credits.

Step away for longer than your cache lasts and your next message reprocesses the whole conversation without the cache discount, which burns noticeably more of your usage. This is why some people feel their usage randomly spikes after coming back from lunch.

Claude Code now softens this on the one-hour cache. It can compact an idle session past about 200,000 tokens shortly before the cache expires, so you come back to a summary instead of a full re-read.

If you're stepping away for a while, do a /compact or /clear before you leave, so that first message back is not re-reading a giant context.

9. Pick the Right Model for the Task

Model choice is a daily decision with a big effect on your usage. Opus 5.5 is now the Claude Code default on every paid plan, at $4 per million input tokens and $20 per million output, and it is what I run for most of my own work.

Sonnet 5.5 costs half as much per token and handles most coding and bulk work well. Haiku 5.5, released October 7, costs a twentieth of Sonnet 5.5 per token on prompts up to 100,000 tokens and is built for simple tasks like formatting, classification, and sub-agent work.

In recent Claude Code versions, the haiku alias points to it on Anthropic's own API. Fable 5.2 sits above Opus at twice the price, and Anthropic points it at demanding reasoning and long-horizon agent work, so most marketers can skip it.

The second lever is effort. You can't turn thinking off on Opus 5.5 or Sonnet 5.5, so /effort is the control.

Drop it to low for mechanical work and save the higher levels for the hard problems.

Claude Code usage tips model comparison showing Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 with per-token prices
Anthropic's models overview lines up Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 with their per-token prices.

 

You can also bring in external tools like Codex for code reviews. Let Sonnet and Haiku handle the volume work, like batch jobs and sub-agents, and keep Opus for the tasks where judgment matters.

If you're running agent teams, delegate research and one-off tasks to Haiku sub-agents whenever possible. Check the Claude pricing page to compare costs across tiers.

10. Stop Scheduling Around Peak Hours

This tip used to tell you to push heavy work into the evening. That advice is now dead, and it is worth knowing why.

Anthropic briefly drained your 5-hour session window faster during weekday peak hours. On May 6, 2026 it removed the peak hours limit reduction on Claude Code for Pro and Max accounts, and doubled the five-hour rate limits for Pro, Max, Team, and seat-based Enterprise plans at the same time.

So on Pro and Max there is no longer a clock to work around. Run the big refactor at 9 AM if that is when you are sharp.

The rest of this list is what actually moves your usage now, and it matters more than the hour on your calendar.

11. Try Code Mode for Big Multi-File Jobs

Code Mode is a new experimental setting that changes how Claude Code uses its tools. Normally Claude reads one file, looks at the result, and then decides on the next step.

Every one of those results lands in your context and sits there until a compact clears it. That is the waste Code Mode goes after.

With Code Mode on, Claude writes a short JavaScript program that makes the tool calls for it. One program can run several commands at once, feed one result into the next step, and hand back only the part Claude needs to read.

You don't need to write or read the code. You prompt like normal, and Ctrl+O shows you the scripts if you want to check its work.

Claude Code usage tips Code Mode documentation page explaining how Claude writes JavaScript to run tool calls
Anthropic's Code Mode documentation flags the feature as experimental and off by default.

 

The Code Mode docs point it at three kinds of jobs: a change that repeats across many files, a search whose results need filtering before Claude reads them, and several separate commands that can run at the same time. For a marketer, think updating a price on every page of your site or checking every link in your blog folder.

The idea comes from Anthropic's own research on code execution, where one agent job dropped from 150,000 tokens to 2,000. That test ran an agent against MCP tools outside Claude Code, so don't expect a 98% cut on everyday work.

To try it on a Mac or Linux, update the native install of Claude Code to v2.1.323 or later and start a session with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude. It needs a Claude subscription or Console account and only runs in an interactive terminal session, not the VS Code panel, the Desktop app, or cloud sessions.

It also turns off Claude in Chrome and computer use while it's on. Anthropic says it may change or be removed in any release, so test it on one bulk job before you make it your default.

What the Claude Code Leak Revealed (and What Shipped)

Anthropic's source code leak earlier this year (512,000 lines of code across nearly 2,000 files) revealed several features that were unreleased at the time. Here is where they stand now.

Kairos showed up in the leak as an always-on background mode with an "auto-dream" feature, modeled on how humans consolidate memories during sleep. As described, it would review your chat history while you were away, summarize what happened, and store compressed context in memory files.

Anthropic has not documented it as a Claude Code feature.

Ultra Plan sent complex planning to a cloud session that you reviewed in your browser. It did ship, as /ultraplan in April 2026, and Anthropic has since removed it.

The Claude Code docs now point you to plan mode instead, which is tip 5 above.

Mythos was the leak's model tier above Opus, and it has since shipped. The newest version, Claude Mythos 5.2, lists at $8 per million input tokens and $40 per million output, twice what Opus 5.5 costs.

Access is limited to vetted security teams and life sciences researchers, who apply through Anthropic's verification programs.

So Kairos never shipped, Ultra Plan shipped and was pulled, and Mythos is live but limited to approved teams. The 11 tips above are what actually move your usage.

Where to Start With These Claude Code Usage Tips

Start with fresh chats and batched prompts. Both habits cost nothing to adopt, and they cut the most waste on day one.

Then layer in the rest: a lean CLAUDE.md, earlier compacts, the right model for each job, and Code Mode once you have a bulk job to test it on. A cleaner context also gets you better output, so the savings show up in the work as well as on the usage meter.

Claude Code Usage Tips FAQs

How many tokens does Claude Code use per session?

It depends on conversation length, MCP servers, and loaded files. A fresh session with no chats already uses tens of thousands of tokens from system prompts, tools, and configuration files, and /context shows you the breakdown. A 30-message conversation can easily hit 232,000 cumulative tokens due to compounding context reloads.

Does plan mode actually save tokens in Claude Code?

Yes. Plan mode prevents Claude from writing code down the wrong path, one of the most expensive sources of wasted tokens. By clarifying the approach upfront, you avoid costly redo cycles where Claude generates hundreds of lines that get scrapped entirely.

What is the prompt cache timeout in Claude Code?

It depends on how you pay. On a Claude subscription, within your plan's included usage, the main conversation gets a one-hour cache. On an API key or a cloud provider it is five minutes by default, and a subscription drops to five minutes once you draw on usage credits. Step away longer than that and your next message reprocesses the whole conversation without the cache discount, so run /compact or /clear before long breaks.

Does Code Mode save tokens in Claude Code?

It can, on the right jobs. Code Mode has Claude write one script that makes many tool calls and returns only the results it needs, so less raw output piles up in your context. Anthropic points it at repeated edits across many files, searches that need filtering, and commands that can run in parallel. It is still experimental, so test it on one bulk job first.

Should I use Opus or Sonnet in Claude Code?

Opus 5.5 is the Claude Code default on every paid plan, at $4 per million input tokens and $20 per million output. Sonnet 5.5 is half that price and handles most coding and bulk work well, so switch to it when a task is high-volume rather than hard. For formatting and sub-agent work, Haiku 5.5 costs a fortieth of Opus 5.5 per token on prompts up to 100,000 tokens.

60+ Claude Code skills that run my business. One purchase, lifetime updates.One purchase, lifetime updates.

Get instant access

Free AI Marketing Guide

Get the free AI Marketing Guide

The systems I use to run my agency solo. No coding needed to start:

Join 10,000+ subscribers getting my weekly AI marketing newsletter. Unsubscribe anytime. Privacy policy.