You only need the frontier model for one single edit
TLDR Dev
A benchmarking study finds that using an expensive frontier model to create a plan before handing off to a cheaper model for execution costs more than using the frontier model alone, because the expensive operation is reading context rather than editing code. The hybrid approach with Claude Opus and Gemini Flash costs $3.18 per task versus $2.78 for Opus alone, while achieving the same 84.6% pass rate on SWE-Bench Pro. The more effective approach, called /prewalk, has the frontier model start the task and swap to the cheap model after the first edit and a todo list are generated, reducing costs to $1.46 (47% cheaper than Opus solo) while maintaining 92% of performance.
Why it matters
Using a frontier model for planning and then switching to a cheaper model for execution often results in higher costs and more redundancy due to expensive context capture. Implementing a strategy where the frontier model explores and captures its understanding in a todo list before switching can improve efficiency and reduce costs.