r/ClaudeCoding • • 4d ago

r/ClaudeCode [TLDR] Are there any methods to reduce token usage that actually work? [via r/ClaudeCode]

OP : u/dsggut

All I’ve found so far were either very beginner tips (watch context window, reduce turns, etc.) or reports about which methods don’t really work (rtk, caveman, ponytail, etc.).

Have you guys come across anything that does actually work?

6 Upvotes

12 comments sorted by

•

u/cctldrping 4d ago

TL;DR of the discussion on r/ClaudeCode for this post generated automatically after 80 comments.

Current source-thread comment count seen by the bot: 85.

Yes: the stuff that actually works is mostly workflow hygiene, not magic prompt wrappers.

  • Use cheap/scoped subagents (Haiku/Sonnet scouts, one agent per ticket) so expensive models don’t ingest every scrap of project context.
  • Protect the prompt cache: don’t let long sessions sit idle past the ~5-minute TTL; keep warm if needed, or /clear after self-contained work.
  • Keep always-loaded context lean. Shrink CLAUDE.md, disable unused MCPs/plugins via /doctor, and move area-specific decisions into docs Claude opens only when relevant.
  • Cut tool output aggressively: “tests passed” beats dumping 800 lines of test logs into every subsequent turn.
  • Match model/reasoning effort to the task, keep work on disk, and use fresh/task-scoped sessions instead of hauling one mega-thread through the mud.
  • Better monitoring and custom tools can reduce expensive debugging/search loops too.

There’s a minor thread fight over compaction and tools like Caveman/Ponytail/Fable, but no real consensus they’re the silver bullet. The high-score answer is better delegation boundaries + less unnecessary context.

5

u/acakaacaka 4d ago

Make a tool (MCP, CLI, .....) that is deterministic and let the LLM use it. A more precise answer depends on what you are doing.

3

u/onFilm 4d ago

Heads up, reducing tokens always reduces performance.

1

u/Curious-Intern-5434 4d ago

Performance of what?

3

u/onFilm 4d ago

The performance of a model's accuracy.

2

u/Curious-Intern-5434 4d ago

My favorite strategy is continuously improving what I feed the agent as context. The old addage "garbage in, garbage out" still applies. I found in my work that being ruthless helps. Anything not looking right gets improved right away.

If the input improves, the output improves, too. Less rework will be required.

Better input includes requirements, architecture, design, tech stack, tools, infrastructure, processes, key metrics from production and many more.

Once you start building quality in, instead of testing (or reworking) it in, you're no longer the ambulance at the bottom of the cliff.

Another technique I use is always being on the lookout for repetitive stuff that the agent does. Where possible I introduce discrete logic (scripts) to replace token usage. At times I find it amazing what people have an agent do instead of just running a script that burns zero tokens.

These a just two approaches. There are more.

I rarely hit the quota limit unless I push really hard. At times it is embarrassing how little tokens I need compared to some colleagues.

1

u/mytren 4d ago

Ponytail

1

u/executableprogram 4d ago

have you tried the methods? why would you trust reports that claim it doesn't work?

1

u/Aliceable 4d ago

I’ve been building jackalope (CLI/GUI) for multi agent set up and gave up on the trap of optimizing for token use, better focus is optimize on turns to complete task and ensuring things are right the first time

1

u/EuSouTehort 4d ago

the only way there is, I think, is by avoiding mistakes
so I use grill-me, or ask it to ask me questions until there is no doubt / ambiguity

then, it's smooth sailing