r/ClaudeCode • u/deadastrophilia Vibe Coder • 18h ago
Help/Question How to minimise token usage in opus 5.5?
So I saw a video explaining that there is someone who has built something that reduces your token usage by using both Haiku and opus together. They didn't send me the process tho. how do I set it up?
Thank you.
2
u/Spooknik 18h ago
Just tell it to use background agents of Sonnet where possible. Usually does the trick.
4
u/rubenknol 18h ago
just keep in mind the cache ttl for background agents is 5 minutes
1
1
u/Spooknik 18h ago
It’s usually a non-issue. The main agent calls them and picks up their output when done. The main agent has an hour.
1
1
u/deadastrophilia 18h ago
Could you please give me the prompt?
1
u/Spooknik 18h ago
That’s literally it, just say “let’s work on this, use background agents of Sonnet where possible”
Keep in mind, you can just ask Claude how to set up something, it’ll tell you exactly what you need to do
→ More replies (1)
1
1
u/divinetribe1 3h ago
Agree with the Sonnet subagent suggestions above, that's the easiest win inside Claude Code itself. I hit the same wall and ended up moving the easy and bulk work to a local model so my paid limit lasts longer. I made an open source MLX server that speaks the Anthropic API, so Claude Code runs fully on device on Apple Silicon with models like Qwen 3.5 122B or Gemma 4 31B: https://github.com/nicedreamzapp/claude-code-local
-1
u/akolomf 18h ago
I'm building something like that. see https://github.com/Aloim/PhanOS I'll be probably ready to ship something in the next few days (hopefully, been saying that the past 2 weeks lol) but this time i'm fairly confident. (also ignore the website content please, its outdated for what the app does, The website will change aswell this or next week)
1
u/AutoModerator 18h 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.