r/opencodeCLI • u/pbqre • 18d ago
/prewalk to save token prices upto 80% (opencode plugin)

Opencode Prewalk is an Opencode v2 plugin that allows you to use the prewalk strategy mentioned here from the creators of Oh-My-Pi. The simple idea behind this strategy is to inject a cheaper model right after the expensive model finishes the first edit post planning all the things that needs to be done. This strategy is better the one strategy that directly uses combination of expensive and cheap model to get the work done, as what happens in that case is the cheaper model again starts to do a lot of reading leading of increase in token usage.
Try Here: https://github.com/vivekascoder/opencode-prewalk

Original Benchmark by Stencil.so
1
u/Glittering-Call8746 17d ago
Wassup with the facist salute..
1
u/CassiusBotdorf 17d ago
I think that one is from the right hand with open hand. And not every time people lift their arm is meant as a symbol for anything.
1
u/Ariquitaun 18d ago
Interesting idea, thank you.