Description
Periodically opencode cli process hits 99-100% cpu utilization. Resulting in fans kicking in. Also, results in the cli not able to take any keyboard inputs. Essentially dead. Uncertain what exactly it is being done with this.
Started using opencode since 1.3.3. - this wasn't an issue
first noted in 1.15.x version have
also issue in 1.16.x
Only fix is it close terminal or kill opencode process
Plugins
No response
OpenCode version
1.15.11
Steps to reproduce
- use opencode
- leave or use
- randomly results in 99-100% cpu utilization
not able to reproduce since not sure what triggers it.
notice that the longer the open session (which is essentially always until this spike occurs)
Updated Summary: (edited 2026-06-25 2:58PM)
-
1.15.11
-
cpu spikes to over 98% randomly, even when not using opencode just idle in the background
-
keystrokes are nonresponse in cli
-
5 minutes tested with no self resolution
-
randomly, can't switch from build to plan or vice versa
-
1.17.11
-
runs at 100-300% CPU utilization for very minor requests vs 1.15.11 that uses 50-65% CPU utilization
-
results aren't that much better than 1.15.13
Screenshot and/or share link
No response
Operating System
No response
Terminal
macOS terminal
Description
Periodically opencode cli process hits 99-100% cpu utilization. Resulting in fans kicking in. Also, results in the cli not able to take any keyboard inputs. Essentially dead. Uncertain what exactly it is being done with this.
Started using opencode since 1.3.3. - this wasn't an issue
first noted in 1.15.x version have
also issue in 1.16.x
Only fix is it close terminal or kill opencode process
Plugins
No response
OpenCode version
1.15.11
Steps to reproduce
not able to reproduce since not sure what triggers it.
notice that the longer the open session (which is essentially always until this spike occurs)
Updated Summary: (edited 2026-06-25 2:58PM)
1.15.11
cpu spikes to over 98% randomly, even when not using opencode just idle in the background
keystrokes are nonresponse in cli
randomly, can't switch from build to plan or vice versa
1.17.11
runs at 100-300% CPU utilization for very minor requests vs 1.15.11 that uses 50-65% CPU utilization
results aren't that much better than 1.15.13
Screenshot and/or share link
No response
Operating System
No response
Terminal
macOS terminal