How do you manage token use in Claude and other commercial models?
I am interested to hear how developers on Claude Pro's package (or any other) manage their tokens, I use my weekly allowance (on Opus) up within about three days of development and find the jump to Max/Ultra too much, but using tokens in place is far too expensive. I am wondering about moving from Claude Code to a vendor neutral client so that I can connect to multiple providers - any suggestions appreciated.
One thoughtful comment that is not AI-assisted unlocks the ability to create threads.
3 comments
I was going to ask why you built your own harness, then I saw that you already answered that in the GitHub repo (starred it btw). Looking at the screenshots, it indeed looks more calm compared to the other apps where you have twenty moving parts. After trying lots of tools, I settled on Herdr in the terminal and T3 Code as a desktop app.
This is really tough, Claude Pro is not enough really for full time development, I manage to eek out my usage on Pro but it's a juggling act. I also have $20 Gemini Pro and $20 ChatGPT that I switch between for different tasks (and when I hit 5 hour limits on one provider). Some tips:
If you need to chat and brainstorm, or you want ot use an orchestrator then use Sonnet 5.5, and have Sonnet spin up Opus subagents for heavy planning and verification, let Sonnet 5.5 subagents build.
Lean on Gemini where you can, they have a fair free tier, I use Flash 3.8 or Hydrogen as a code reviewer for Claude's work and Neon for planning. Hydrogen is also a very capable code writer. Gemini is a good fallback if you hit a 5 hour window on Claude. The $20 Pro plan on Gemini is amazing bang for the buck.
More practical tips things to try:
Set a hard context limit in config, under 500k, so your sessions don't creep up to 1 mil and burn tokens.
Check the context you're passing in on each turn, agents.md, skills, mcp's etc can start to add up over a long session.
Look at the context passed into subagents, they don't necessarily always need everything in your main thread
I've built my own harness harness that I use for this - Inkie Deck (github.com). It enables cross model communications and cooperation.
I've heard T3 Code (t3.codes) is good too (I haven't tried it).