Practical ways to cut your Claude Code bill, from Anthropic’s own documentation and months of daily use.

If you use Claude Code every day, sooner or later you notice that tokens run out faster than you expected. This is how to use fewer tokens with Claude Code and cut the bill without making the work worse.
It happens most when you work on a large codebase, keep one session open for hours, or keep iterating in the same conversation without ever tidying up. Price matters, and so does focus: unmanaged context makes Claude Code slower and less focused.
Some of the tips below come straight from Anthropic’s official cost documentation. Others come from months of daily use.
Anthropic explains that cost depends on the size of your codebase, the complexity of your requests, how many files Claude reads or edits, how long the conversation runs and how often it is compacted.
In practice, consumption climbs when you make requests that are too broad, let the chat grow enormous, reuse one context for unrelated tasks, or ask Claude to explore lots of files with no direction.
So the first step to consume fewer tokens with Claude Code is to stop treating it like a chat. Treat it as a workspace where context has a price.
The simplest tip is also the most ignored: measure your spending. In Anthropic’s current documentation, the /usage command shows your session, including the total cost. Older guides call it /cost, so if you see that name elsewhere, this is the same idea.
Anthropic notes that the totals reset when /clear starts a new session.
Seeing the number tells you whether the problem is a session that is too long, a task that is too open, or a context that has become bloated. Without it, you may blame the tool when the real cause is how you structure the work.
If I had to pick one feature to reduce Claude Code token usage, it would be this one.
Claude Code carries the whole conversation with it, so every new message gets heavier as the session grows. Anthropic says Claude Code compacts automatically when you approach the context limit. You can also run /compact yourself, with instructions such as “Focus on code samples and API usage”, to keep what matters.
The best time is after a milestone, after you finish a feature, after a long debugging session, or whenever the context starts to feel redundant.
Anthropic is direct about this: vague requests such as “improve this codebase” trigger broad scanning, while specific ones let Claude work with minimal file reads.
Instead of “Check the project and tell me what’s wrong”, try “Check the authentication module, especially the refresh token flow, and tell me if error handling has problems.”
The tighter the task, the less Claude has to explore. That exploration is where a huge number of tokens quietly disappear.
Asking for too much at once makes the context balloon and multiplies the iterations, and every iteration costs tokens.
Splitting the job into stages gives you more control and usually wastes less: analyse the problem, identify the relevant files, propose the change, apply it, run the tests.
It looks like more steps, yet it is often one of the most effective ways to lower the total.
Many people move from a bug to a new feature, then a refactor, then a test, all in one conversation. Anthropic recommends using /clear to start fresh when you switch to unrelated work, because stale context wastes tokens on every message that follows.
Starting clean helps cost and it helps quality too, since Claude is no longer wading through irrelevant history.
This one is powerful and rarely used. You can add instructions to your CLAUDE.md file about what to keep when the conversation is summarised, for example test output and code changes.
If you work on similar projects, this makes each summary more useful and less generic.
Here we move from official advice to my own practice. Anthropic’s documentation says Sonnet handles most coding tasks well and costs less than Opus, and suggests reserving Opus for complex architectural decisions or multi-step reasoning.
I follow the same logic. For simple edits, local fixes and follow-ups on a change you have already decided, the heaviest model is rarely needed. For architecture, hard debugging or an unfamiliar codebase, a stronger one earns its cost.
The simpler the task, the less sense it makes to pay for it as if it were complex.
One more practical trick: when you do not need a long explanation, say so. Ask Claude to answer briefly, to show only the changes, or to list only the files involved and why.
It looks small, but on long sessions it adds up.
Measure first with /usage, so you know where tokens go.
Keep context lean with /compact, /clear, specific requests and smaller tasks.
Match the model to the task and ask for short answers when you can.
Yes, if you use it seriously. Anthropic’s documentation says the average cost is around $13 per developer per active day, and that costs stay below $30 per active day for 90% of users. It also gives $150-250 per developer per month as a typical figure for teams, with wide variation.
If you use it now and then, it may not matter. If you use it regularly, saving tokens in Claude Code becomes part of your workflow.
Do you use Claude Code for marketing? I use it every day to write and publish content and to prepare campaign material.
If you would rather have someone run your Facebook and Instagram ads for you, see my Facebook ads service. One example of the results: the cost per lead for an energy company went from about £9 to about £2 (case study).
Learning to consume fewer tokens with Claude Code does not mean obsessing over cost. It means using context better.
Check usage, compact regularly, clear between tasks, write precise requests, split big jobs and pick the right model. The aim is to avoid waste, because a cleaner, more focused context usually costs less and also produces better work.

Compact the conversation regularly, split complex tasks, write specific requests and use /clear when you move to different work. Anthropic also suggests checking your usage with /usage.
It condenses the current conversation into a denser summary, so each new message carries less history. You can tell it what to keep, for example code samples or API details.
When you start a task that has nothing to do with the previous one. Anthropic advises clearing between unrelated tasks because stale context wastes tokens on every following message.
Use the /usage command, which shows the session total, including cost. Older guides call this command /cost.
No. Anthropic says Sonnet handles most coding tasks well and costs less than Opus, so keep the heavier model for complex architecture or multi-step reasoning.
Yes. Add instructions to CLAUDE.md about what to preserve, such as test output and code changes, and use /compact with focus instructions.
Tell me about your business on WhatsApp. I reply personally, and we look at your numbers together.
Talk to me on WhatsApp →