Bible Network Crypto DeFi Onchain RWA AI Agent Stablecoin Chain SAFU CryptoTax DeFAI AGI Claude Me Claude Skill Claude Design Claude Cowork
Independent Media
Not affiliated with any project
Exploring the Frontier of AI Intelligence
claude-me.com
LATEST
Why Your Claude Code Bill Keeps Growing: 3 Habits That Cut Token Cost in Half for the Same Task  ·  Claude Can Now Send Gmail and Manage Google Drive Directly: A 4-Step Setup Guide  ·  Tired of Writing Weekly Reports? Let Claude and Make.com Write Them for You  ·  Claude Now Watermarks Generated Text: What the Mark Can Prove, and What It Can't  ·  System Prompt or Project Instructions: Where the Two Layers Get Confused  ·  Why Models Answer Confidently When They're Wrong: Hallucination Isn't 'Not Knowing,' It's a Side Effect of the Mechanism Itself
practice

Why Your Claude Code Bill Keeps Growing: 3 Habits That Cut Token Cost in Half for the Same Task

30-Second Version · For the impatient
Saving tokens was never about asking fewer questions — it's about not dragging old, no-longer-needed data along every round.

Full Explanation +
01 · Why did this happen?

Besides these three habits, are there other cost-saving points worth noting from the official post?

Yes — the official post also covers managing command output. If a command prints a moderate amount of output that happens to fall just under the threshold where the system fully retains it, that entire output stays in the conversation and gets resent repeatedly; output exceeding a certain threshold, on the other hand, gets automatically written to a file by the system, with only a brief preview kept in the conversation, so it doesn't add ongoing burden. This means moderate-length, line-by-line command output (like a list of tests that ran) is actually an easily overlooked cost source. The post also covers the Subagent mechanism, which can offload noise that doesn't need to stay in the main conversation into a separate context that gets discarded once done — well-suited to work that "produces a lot of output you don't need to keep."

This article only picked the three habits with the most direct impact on everyday use. If your work often involves heavy command output or frequent miscellaneous tasks, these two extended topics are worth looking into further.

02 · What is the mechanism?

If I'm not sure whether my usage habits are hitting these cost pitfalls, is there a way to check first?

You can run the /context command in a clean, fresh conversation to see exactly what content is currently loaded into this session — confirming whether it's carrying unused files, leftover content from a previous task, or tools that are attached but not being used. This check helps you confirm your starting state is clean before diving into actual work, rather than unknowingly starting a new task while dragging along a pile of noise.

If you find unneeded tools or services persistently occupying context space, you can also temporarily disable them through the corresponding management command, and re-enable them only when genuinely needed, avoiding sending these unused settings along for nothing every single round.

03 · How does it affect me?

Could these cost considerations make people overly cautious about fully using Claude Code's capabilities?

That concern is understandable, but the point of these habits isn't "use less" — it's "use precisely." Naming files with @, keeping settings stable, and clearing the conversation between tasks don't sacrifice the scope of work Claude Code can accomplish; if anything, cutting down unnecessary exploration can make each round more directly focused on the actual problem, potentially improving processing efficiency too, not just saving money.

The mindset genuinely worth avoiding is swinging the other way and becoming overly conservative out of cost anxiety — like hesitating to let Claude read a file it genuinely needs, or forcing yourself to carry noise in the main conversation that should've been offloaded to a Subagent. The point of these habits is directing resources where they matter, not reducing the complexity or depth of your task — those are two different levels of concern.

04 · What should I do?

Do these habits need to be manually watched every time, or is there a way to turn them into an automated, fixed workflow?

Several parts can be written directly into CLAUDE.md, becoming fixed rules that don't need to be reconsidered each time — like writing the few commands you run daily into it along with their quiet flags, or writing a fixed note on "what to preserve when compacting this project" so it doesn't need to be decided on the fly each time. This kind of setup falls into the "do it once, every subsequent session benefits" category — spending a bit of time organizing it upfront saves the cost of repeatedly judging manually later.

As for actions directly tied to the current task, like clearing the conversation or naming files with @, these are harder to fully automate since the context differs each time — you still need a few seconds before starting to judge "how should this task begin." But once it becomes a habit, that judgment quickly turns into an intuitive reaction that doesn't require deliberate thought.

Full Content +

In an official post published August 14, 2026, Anthropic used a small example to highlight something most people don't realize: for the exact same task of fixing a broken test, one session sent only 5 requests and wrapped up, while another session, because it first searched broadly across the entire codebase before reaching the same file, ended up sending 18 requests. Same task, different usage pattern, and the bill can differ by more than three times. This article doesn't repeat every technical detail from the official post — it picks out the three habits with the biggest impact on everyday use and the easiest to change right away.

Saving Tokens Isn't About Using Less — It's About Not Dragging Junk Along Every Round

Start with one core idea: the way token billing works, anything already sent into a conversation — files you've read, command output you've run — gets resent again in every subsequent round until the session ends. This means the longer a session drags on, the more the cost of repeatedly carrying everything that came before starts to dwarf the cost of what's actually new in any single round. Saving money was never about "asking fewer questions" — it's about making sure what gets sent each round is genuinely relevant to what you're doing now, rather than dragging along old data you don't need anymore.

Habit One: Point Directly at a File With @ Instead of Letting Claude Guess

The official post has a simple comparison: just saying "the test is failing" means Claude has to search first, then open several files to figure out which test broke — burning several rounds just to locate the problem. Naming the file directly, "fix utils.test.ts," skips most of that exploration. And using @ to directly tag a file, "fix @utils.test.ts," attaches the file straight into your message — even the read action itself gets skipped. The difference comes down to whether you're willing to point Claude at the location, or leave it to search from zero.

Habit Two: Don't Switch Models or Settings Mid-Conversation — It Breaks the Cache

Prompt caching is the mechanism that matters most for controlling cost — as long as the start of this request exactly matches content the server just processed, the repeated portion can be reused at a much cheaper rate instead of being processed all over again. But this mechanism requires the start of the request to match character-for-character; any change forces everything after it to be recalculated from scratch — including switching models mid-conversation, adjusting thinking effort, or turning on fast mode. If a session has just started, or a conversation was just cleared, switching settings at that point costs very little; but switching partway through a long conversation noticeably amplifies the cost. The practical approach is deciding on your model and settings before starting work, rather than adjusting as you go.

Habit Three: Clear the Conversation When a Task Is Done — Don't Cram Several Tasks Into One Session

The official post's measured data is concrete: for the same three tasks, clearing the conversation after finishing each one before starting the next, compared to cramming all three into the same session, resulted in the latter sending 1.9 times the Token volume of the former. The reason ties back to the mechanism covered earlier — the longer a session runs, the more old content each round has to carry along again. A simple operating principle: clear the conversation when starting a new task; when partway through the same task and you want to keep context but trim it down, use the summarization feature to condense it rather than keeping the entire thing around.

What This Means for Your Money

If you're using Claude Code on usage-based billing, these three habits don't change whether you can complete a task — they change how much it costs to complete the same task. Naming files with @ saves the request count that would've gone into exploration; keeping settings stable preserves the price discount from caching; clearing the conversation between tasks avoids old content getting needlessly resent over and over. None of these adjustments require extra learning — they're purely a change in usage habit, but they let the same subscription allowance or API usage actually get more work done.

Diagram
三個立刻能改的省 Token 習慣三欄分別呈現用 @ 指名檔案、避免打掉 prompt cache、任務之間清空對話這三個習慣的具體效果Three Cost-Saving Habits1. Use @ for files"tests failing" = 6 rounds"fix utils.test.ts" = 1 round"fix @utils.test.ts" = 0 rounds2. Don't break cacheCached reads: 0.1x priceModel/effort switch mid-chat= full reprocessing cost3. Clear between tasks3 tasks, one session:1.9x more tokens thanclearing between eachClaude Me · claude-me.com
Feel free to share. Please credit the source.
Ask a Question
Please enter at least 10 characters
Related Articles
Using Cursor and Claude Code Together: When to Switch, and When You Don't Need To
practice · Aug 13
Combining Scheduled Tasks With Claude Code: A Simple Workflow That Saves You From Repeating the Same Actions Daily
practice · Aug 03
Cutting API Costs With Prompt Caching: An Overlooked Setting That Actually Saves Money
practice · Jul 25
What Actually Fits in a Context Window: Translating the Abstract Token Count Into Content You Can Picture
fundamentals · Aug 13
Related News
More Related Topics