Zero Labs
Industry News / AI

How to Reduce Claude Tokens (and Actually Get More Out of Claude Code)

Source · Towards AI By Shivachandra

From the publisher’s feed, collected in the ZeroLabs newsroom.

What happened when I hit my 5-hour limit, ran /usage out of curiosity, and started digging into how to cut my Claude token usage downSo this happened while I was just using Claude Code like normal. Fixing some bugs, refactoring a service layer that had gotten messy, asking it to write a few tests. Regular day. Then mid-session I hit the wall, 5 hour limit, done, wait it out.I’d hit that limit before and just shrugged it off. But this time I got curious and typed /usage.Not ready for what I saw.A full breakdown just sitting there: input tokens, output tokens, cache reads, cache writes, an estimated dollar cost for the session. I just stared at it for a bit. Then went and checked another session. Then another. And that’s when I started actually looking into how to reduce Claude tokens instead of just eating the limit every 5 hours.Now it’s a full habit. I check /usage after basically every session because the numbers genuinely never add up the way you'd think they should, and I've picked up a bunch of stuff that actually moves the needle on token usage.Here’s what I’ve learned so far, if you’re using Claude Code, paying for Claude Pro or Max, or just trying to cut down your Claude token usage in general.First, understand why your tokens disappear so fastBefore you can reduce something, you need to know what’s actually eating it. Claude Code gives you a usage indicator that climbs up to 100%. Easy to assume that’s just a token counter, burn through X, hit 100%, you’re done. But it’s more complicated than that. Anthropic’s own docs say usage depends on a bunch of stuff: how long the conversation is, files attached, which model you picked, active features, even the reasoning effort level. And Pro runs on two separate limits, a rolling 5-hour session limit and a weekly one, and they don’t reset the same way either.So already: 100% ≠ a fixed number of tokens. How you use it changes how fast it burns.I only really got this after comparing my own sessions side by side.Three sessions, all 100%, completely different token costsHere’s the part that actually got me. Three separate sessions, all reported as 100% of my session limit, but the estimated cost behind each one was nowhere close to the same.Session 1, Sonnet, light edits~130 input tokens, 780 output tokens7.1M cache reads, 212.1K cache writesCost: $2.52Session 2, Opus, medium use~168 input tokens, 295 output tokens7.6M cache reads, 285.1K cache writesCost: $3.73Session 3, Sonnet, heavy agentic stuff~3.5K input tokens, 982.8K output tokens654M cache reads, 13.7M cache writesCost: $7.58Same subscription. Same 100%. Cost ranging from $2.52 to $7.58. That’s more than 3x difference for the exact same reported limit.That’s the moment it clicked that most of my token usage was going to stuff I could actually control.What’s quietly burning through your tokensA few things I didn’t appreciate until I saw the numbers, and these are the actual levers if you’re trying to reduce Claude token usage:1. Model choiceSonnet is basically the efficient default for regular coding work, Opus is meant for the harder stuff: big refactors, gnarly debugging, architecture decisions. Using a top-tier model to rename a variable is like calling in an architect to change a lightbulb. It’ll work. It just burns way more tokens than the task needed.Fix: default to Sonnet, only switch to Opus for genuinely hard problems.2. Context you’re dragging aroundYour prompt could be five words, “fix this bug,” but the model isn’t just looking at those five words. It’s dragging along the whole conversation history, project instructions, files it already read, old diffs, tool output. A tiny prompt can sit on top of a mountain of context.Fix: start fresh conversations more often instead of letting one thread run forever. Point Claude at specific files or line ranges instead of letting it read whole directories.3. Cache tokens piling upThat 654 million cache-read number in Session 3 doesn’t mean it generated 654 million tokens of new text. It means a massive pile of context was being reused over and over. Input plus output alone just doesn’t tell the real story of what actually happened in that session.Fix: the longer a session runs, the more that cached context stacks up. Closing out sessions and starting clean ones for unrelated tasks helps a lot.4. Letting Claude read more than it needsA lot of token waste comes from Claude reading entire files, or entire folders, when it only needed a specific function or section.Fix: be specific. “Look at the handleSubmit function in form.js" burns way fewer tokens than "look at the form file."5. Repeated back-and-forth on the same thingIf Claude gets something slightly wrong and you correct it five times in a row, each correction adds to the context pile for the rest of the session.Fix: if something’s clearly off, it’s often cheaper to start a new prompt with more detail than to keep patching the same thread.Wait, is Anthropic actually charging me per token then?No, and this part trips a lot of people up. Subscription billing and API and Console billing are two different systems. That dollar number you see in /usage is basically an estimate, roughly what that same work would've cost if you'd paid for it through the API. It's not some extra charge on top of your flat $20 (or $100/$200 if you're on Max).So the number isn’t a bill. It’s more like a lens, and once you understand it you can actually see where your token usage is going instead of just watching a percentage bar climb.The real goal isn’t “fewer tokens,” it’s fewer wasted tokensOnce I started tracking this stuff, a better question showed up:What’s the cheapest way to reliably get this task done?If Claude finishes a feature for $2, fine. If it finishes the same feature for $0.80 at the same quality, that’s better. But if some cheaper model does it for $0.20 and leaves you with three bugs to fix by hand, you didn’t actually save anything, you just moved the cost somewhere less obvious.So reducing tokens isn’t just about using less. It’s about not spending tokens on stuff that didn’t need them in the first place.A quick checklist for cutting down Claude token usageStart a new session for unrelated tasks instead of reusing one giant threadPoint Claude at specific files or functions instead of whole directoriesDefault to Sonnet, save Opus for genuinely hard reasoning tasksGive clear, detailed prompts up front instead of correcting repeatedlyCheck /usage regularly so you actually know what's driving your usage instead of guessingBreak big tasks into smaller, scoped requests instead of one massive open-ended askSo how much AI do you actually get for $20?Honestly, there’s no single answer, and that’s kind of the whole point. How much real work you get out of it depends on:model choice, context size, conversation length, tool usage, task difficulty, and how disciplined your workflow isPro is $20/month right now in the US, with a 5-hour session limit and a separate weekly one, both of which shift depending on how you use it. If you’re maxing out constantly, Anthropic’s Max tiers ($100 to $200/month) give you a lot more headroom, but before jumping up a tier, it’s worth trying to actually reduce how many tokens you’re burning on the $20 tier first.final thoughtNext time your usage bar hits 100%, don’t just glance at it and move on. Run /usage. Actually look at the breakdown. Ask which model did the work, how much context it was dragging around, and whether the task even needed that much horsepower in the first place.Because the real question was never “how much did I use.”It’s “what did I actually get done with it, and how much of that usage was actually necessary.”if you’ve also stared at a /usage breakdown confused, lmk what patterns you've noticed in your own sessions, or what's helped you cut down your token usage.How to Reduce Claude Tokens (and Actually Get More Out of Claude Code) was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.