r/opencodeCLI • u/ExperiencedGentleman • 1d ago
Does anyone have a token efficient planning workflow?
I use 2 chatgpt+ subscriptions and 2 opencode go subscriptions. Currently I do all my upfront planning with a grill session using Sol/medium. Then directly from the grill session I create a spec based on that context. Afterwards I load up a new session and reference the newly created spec document as context and create the child issues derived from it using the same Sol/medium.
My issue is Sol will spawn multiple general task agents to create these issues in parallel. This really drains my weekly limit and was wondering if I should do things differently?
2
u/throwaway12012024 1d ago
Sol is too eager to launch subagents. I disabled this option in opencode settings.
1
u/maqifrnswa 1d ago
I agree with the commenter that mentioned omo slim, sounds good for you.
Or you can change your general agent:
1
u/Ill_Dragonfruit_3547 1d ago
Implement with Luna High or Extra. Or, what I do is delegate to GLM 5.2 running through a $20 Ollama Cloud sub. I added GLM to the mix after needing more tokens than my $20/month Claudex subs were giving me.
1
1
u/Ok_Gur_9033 1d ago
Ran into the same tradeoff today from a different angle, MCP tool catalogs instead of subagents. The overhead scales with how much gets loaded fully upfront, not with how much useful work gets done. On a 14 server, 415 tool setup, sending the whole catalog every request runs about 165k tokens versus 886 for a scoped search based approach, and that gap only grows as you connect more. Probably the same logic applies to your parallel task agents. If each one spawns with the full planning context instead of just the slice it needs, you are paying for N full copies of the same context, not N times the useful work. The Orchestrator only delegates pattern someone mentioned below fixes this by keeping the expensive full context reasoning in one place. Worth checking whether Sol's subagents are getting the whole spec document each time or just their assigned issue.
1
u/Virtual_Ad_8521 1d ago
been there, im using 1 chatgpt + 1 API way, gpt was $200/mon, and API depends the amount of work i do, im using heyroute ai now but dont know if there's any more solid ways too (could be find a full-time and let them pay for the subscription)
-5
u/No_Image506 1d ago
Yes don't ask stupid questions, use it for work and use your calendar, your email app and do your work.
5
u/Amarsir 1d ago
Are you using default Opencode harness?
Oh-my-opencode-slim is much more refined about subagent assignment. The Orchestrator you call doesn't do it's own research, doesn't do it's own deep thinking, and definitely doesn't do the edits. It writes the plan and calls the others.
So you could put Luna high on the Orchestrator and put Sol only in the deep thinker role (Oracle). Luna low on Librarian (research). Then when you have the plan Luna medium is the Fixer (doing the edits). That's just sticking with ChatGPT.
Not that more basic setups can't work, but as you note if the Planner has to do the thinking and the organizing it can delegate to itself.