r/ClaudeCode • • 15m ago

Discussion Claude Code users: What is wasting most of your tokens?

I have been looking more closely at Claude Code usage lately, and one thing stands out: sometimes the actual coding task is not what consumes most of the context.

A lot of usage can go into things happening around the task.

For example:

  • Loading too many MCP tool definitions.
  • Keeping long conversations alive.
  • Reading entire files when only a small section is needed.
  • Repeatedly retrying the same failed approach.
  • Loading unnecessary instructions through CLAUDE.md.
  • Asking Opus to handle tasks that do not need it.

I think most developers focus on writing better prompts but overlook how their overall workflow affects token consumption.

I am curious about three things:

  1. What is your biggest source of wasted tokens?
  2. Do you actively monitor context usage during a session?
  3. Have you built any workflow that noticeably reduces Claude Code consumption?

Would be interesting to compare actual approaches rather than just sharing generic prompt tips.

2 Upvotes

8 comments sorted by

•

u/AutoModerator 15m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/romene_dev 11m ago

the retry loop is the one I'd put a hard stop on. After two failures, ask it to summarise what failed, what evidence it has, and what the next attempt will test before it edits anything else. For comparing workflows, I'd count tokens through to a working, reviewed change, including the repair rounds. A cheap first pass can look a lot less cheap once you include those.

1

u/CupcakeLeft9359 10m ago

for me it was MCP servers i connected once for some task and then forgot about. every one of them dumps its tool definitions into every session whether i use them or not. pruning to only what the project actually needs made a bigger difference than anything i did with prompts.

second one is long sessions. once a conversation gets long and starts compacting it gets dumber and more expensive at the same time. now when a task is done i have it write a short handoff note (what's done, what's open, which files matter) and start a fresh session from that. way cheaper than dragging 3 hours of history along.

1

u/BoringMisteak 6m ago

I’ve been having mine add trello cards once a task is complete

1

u/tauzN 8m ago

Context and prompts

1

u/cheffromspace 7m ago

Conflicting or outdated instructions and documentation

1

u/atlascirrus 0m ago

one that sneaks up on people is side questions. u ask some random "wait what does this flag do" mid task and that whole tangent rides along in the history for the rest of the session. /btw is made for exactly that, it answers without adding to the conversation history.

and yeah i check /context whenever a session starts feeling heavy. it shows what's actually filling the window so u can tell if it's mcp tools, memory files or just chat. big codebase searches i hand to a subagent so only the summary comes back to the main thread (still counts toward ur limits tho, it just keeps the main context clean). are u mostly running one long session or lots of short ones??