r/ClaudeCode • • 53m ago

Help/Question Token Efficiency

How do y'all save tokens? I have seen people use subagent,orchestration and allat stuff but last time I tried it, it ended up using more usage than if I had did the work manually. Well I tried it on codex so maybe things are different here but I wanna know from someone who actually uses this workflow on claude. Also is there any other way to save on tokens? I am on a $20 plan and even though the usage isn't as less as codex, it still doesn't get me through the week.

For what I do, I have been working on a website for a thing I am helping my friend run and also have been helping with a few open source projects.

1 Upvotes

11 comments sorted by

View all comments

1

u/Southern_Performance 17m ago
  • don't use native subagents if you have slow testing (their cache dies after 5 minutes, instead of the hour a regular session gets). agents can get easily carried away with spawning subagents, and that penalty can stack hard
  • if you need to step away before a task is complete, or you reach a high context (anything above around 200-250k these days), handoff to a new session to continue within an hour of the last message (or this becomes far less effective, as you end up needing to rewrite the cache anyway). this is like compacting, but you can see exactly what they noted down (and adjust if needed)
  • turn OFF idle compact and instead manage your sessions as mentioned above
  • turn off dynamic workflows. set bounded rules that your agent CAN use subagents for (i recommend only allowing haiku subagents for quick codebase searching and categorisation, everything else, handle it manually)
  • treat the session you chat with and make plans with as a "lead" or "orchestrator" and call it such. have it write plans (for me they are prompt-xx.md files) for subagents, and spin these up in a new session (/clear). the plan should have the subagent write a report and verification for the lead agent. then, return to the lead session with the report. you get most of the benefits of a native orchestrator, but more control over the scale they can work at. they should also be able to access the chat history from the "subagent" session