You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subagents broken due to "OpenCode's free tier can only be used from within OpenCode" #50516
Title. Because they get this error every time they try to use a subagent, it makes the subagent feature useless entirely. This is extra unfortunate because you guys gave Mimi 2.6 flash free only a 200K context window, so when it has to do all of what it would have otherwise delegated to subagents, compactions begin stacking up pretty quickly. And for you guys, I'm sure that also means it breaks the cache a lot more than it needs to.
Plugins
None
OpenCode version
2.0.12
Steps to reproduce
Include in your agents.md or similar document info about subagents (I started from what was said in the meta.md prompt and it seemed to work well) if the system prompt doesn't include it already. That is true for models that get the default.md prompt, like Mimo 2.6 flash, which is why I mention it here.
Give the agent a task niche enough to where it wants to search through stuff using subagents (in the example above, I told it to make a file manager in gpui) or just explicitly tell it to try and spawn a subagent.
When it tries, the subagent will immediately fail due to this error...
Activity
github-actions commentedon Sep 22, 2026
This issue might be a duplicate of existing issues. Please check:
exploreagent) denied with "free tier can only be used from within OpenCode" while running inside the CLI — same root symptomSshmoob commentedon Sep 22, 2026
Seems to be a dupe of #49723 specifically