← Back to context

Comment by petra

5 days ago

Maybe, for some projects, instead of generating code with it, it would be useful to generate a plan and the loop(tests/formal verification),because those take much less tokens than a full project, and than use the loop using the older models ?

Yes, I've been using Opus to write a plan and fanout sonnet subagents to implement it. Cheaper and faster

Has anyone experimented with Batch Processing? According to https://claude.com/pricing#api using Batch processing cuts the price 50%. So I wonder if any of the harnesses like OpenCode/Pi or similar could be made to use that for planning or similar.

  • Batch can take up to 24 hours (and often does) and may never complete if it gets cancelled so it’d be hard to build a user workflow around unless you kick off planning on Friday and come back Monday

Yeah, I tried using it before the 'safety' blocks got too much for me. Its pretty good as an 'orchestrator' calling subagents and being the PR reviewer/tast tracker. Seems really not that much better for coding though, yeah it is a bit better, but not worth it.

But when it did work it was making steady progress on a vague git issue backlog and actually following instructions to carefully break into atomic sub issues and carefully assign.

Isn't that the kind thing its best at as well? Art least comparatively with other models. The more agentic stuff. Planning, tool orchestration, etc.

Did that today on a 2 repo affecting project of the kind where I already set the right design for one major use case and I needed Claude to create a superset of that use case that was not substantially different: after plan I had about 10% of 5h context left for fable 5 and this was the only thing I worked on. Hard to generalize this of course.

But wouldn't that still result in higher token usage to scan the code base and figure out the changes and generate the plan? In my experience sometimes Opus launchs a Haiku sub-agent to explore the code base, but it's not gaurenteed.

I think that's the idea, I saw some outrage on reddit about Fable using Opus to do code writing, another comment said exactly my reaction, why do you want to pay double for tool calling when Opus is just fine for the task?

Yes, I do this all the time in Cline. It supports automatic model change when switching from Plan mode to Act (implementation) mode. Opus for planning and Sonnet for implementation. It works great.