r/opencode • u/wwdennis5 • 15h ago
Don't use plan mode unless you actually interact with it
TLDR: Using plan mode degrades task solve rate and costs more (+38%) with no human input on DS4.1.
It is often documented that plan mode should be used before executing tasks, but if we are lazy and don't interact with it what happens? Should autonomous workflows be using plan mode?
Maybe not....
I have tested the idea that getting your agent to plan out its task without any additional input degrades performance and costs more. 30 tasks were taken from Terminal Bench 2.1 and, with three repeats, solve rate is worse and costs were higher.
Two planning modes were tested:
- Plan Continue: Plan mode -> Build mode in the same session
- Plan Transfer: Plan mode -> New build session receives the plan
Model: Deepseek v4.1 Flash, Harness: Opencode v2.3
Results Table:
| Metric | No Plan (Control) | Plan Continue | Plan Transfer |
|---|---|---|---|
| Pass rate | 87.8% (79/90) | 86.7% (78/90) | 81.1% (73/90) |
| Model requests | 12.5 (14.6) | 13.0 (15.3) | 16.5 (19.9) |
| Total input tokens | 142k (276k) | 179k (313k) | 165k (300k) |
| ↳ Cached input tokens | 131k (254k) | 161k (290k) | 140k (272k) |
| ↳ Uncached input tokens | 14.7k (21.6k) | 16.4k (23.2k) | 19.6k (27.7k) |
| Output tokens | 5.3k (9.8k) | 8.3k (12.0k) | 9.3k (14.4k) |
| Agent wall time (min) | 1.70 (2.34) | 1.67 (2.13) | 2.28 (3.17) |
| Estimated cost ($/trial) | 0.0065 (0.0099) | 0.0079 (0.0116) | 0.0090 (0.0136) |
Values reported as median (mean), except pass rate, which is percentage (passed/total).
Results Chart:

Trajectory Examples:
The x-axis shows the number of requests/turns. Both plan modes share the same start and the transfer mode moves into a new session, hence the drop. Continue mode stays in the same session.



Discussion:
- How could I test the human input here?
- Having to re-gather context in the new session is why I think the runs are longer in the transfer case. What else could it be?
2
u/HorrificFlorist 7h ago
so maybe review the plan agent and see if there is stuff in there you can remove?
this is one of the common reasons why people get OpencodeGo then use pi agent instead.
1
u/Ok_Werewolf_1936 10h ago
I was very scare of build mod that it will break something. Then I said fuk it, my project is on git so I Went full build and it seems more efficient.
1
u/Javierkaiser 10h ago
Well, that's interesting, thanks. I was using Plan -> continue. Old habit when I used Pro to plan and Flash to implement.
1
u/tripleshielded 12h ago
plan mode is so 2025