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
Error from provider (Console): OpenCode's free tier can only be used from within OpenCode #49680
I am getting below Error while using code from the Open code GUI.
Error >> Error from provider (Console): OpenCode's free tier can only be used from within OpenCode
Kindly look into this issue and resolve it ASAP.
Reacted by danparisi, zjz1525, yp, shivansh.who, Erkan, Virak, Atikur Rahman Chitholian, firengate, Peyman Ahmadi and Dhruv Bhardwaj
Possibly related data point: I hit this same error on a custom subagent (not compaction/title, but a "Critic" subagent invoked mid-session by an orchestrator) and found a workaround.
Every call to this subagent failed with Error from provider (Console): OpenCode's free tier can only be used from within OpenCode, while normal build-agent requests in the same session worked fine, matching what's reported here for agent=compaction / agent=title.
Removing the permission block entirely fixed it:
mode: subagent
Same subagent, same prompt, same model, only the permission block removed. This suggests the Console provider's "within OpenCode" check may be keying off something in how permission-restricted/background-style agent calls are routed or tagged, since compaction and title generation are also non-interactive background calls. Might be worth checking if forcing permission: {} or similar on those internal agents works around it too, until this is fixed properly.
Experiencing this exact issue on v2.0.32 (Windows & Linux).
Environment:
OS: Windows 11 (MINGW64) and Linux
OpenCode Version: v2.0.32 (also downgraded to v1.18.28, issue persists)
Configuration: Clean opencode.jsonc (no custom agents, no restrictive permissions).
Steps to reproduce:
Launch OpenCode TUI.
Use built-in build agent.
Select DeepSeek V4.1 Flash Free.
Send a prompt.
Error: Error: OpenCode's free tier can only be used from within OpenCode.
What I've tried:
Re-authenticated via opencode auth login (OpenCode Zen).
Tested on both Windows and a separate Linux machine (same error).
Downgraded from v2 to v1.18.28 (same error).
Verified no permission blocks are restricting bash, glob, grep, or read.
This seems to confirm the server-side gatekeeper is misclassifying standard requests. Is there an ETA on a fix, or any specific configuration workaround for users with a clean setup?
Reacted by Virgile Lafontaine, Kimoloplr, Spike, LeLuCh B0й, wizziwig, firengate, Jason De Lara, bryndin, shivansh.who and Yijun
Experiencing this exact issue on v2.0.32 (Windows & Linux).
Environment:
OS: Windows 11 (MINGW64) and Linux
OpenCode Version: v2.0.32 (also downgraded to v1.18.28, issue persists)
Configuration: Clean opencode.jsonc (no custom agents, no restrictive permissions).
Steps to reproduce:
Launch OpenCode TUI.
Use built-in build agent.
Select DeepSeek V4.1 Flash Free.
Send a prompt.
Error: Error: OpenCode's free tier can only be used from within OpenCode.
What I've tried:
Re-authenticated via opencode auth login (OpenCode Zen).
Tested on both Windows and a separate Linux machine (same error).
Downgraded from v2 to v1.18.28 (same error).
Verified no permission blocks are restricting bash, glob, grep, or read.
This seems to confirm the server-side gatekeeper is misclassifying standard requests. Is there an ETA on a fix, or any specific configuration workaround for users with a clean setup?
Opencode would certainly ignore this bug considering they are having paid API response cutoffs and whatnot on claude and false charges made on my account too.
Opencode free tier bug persists on both CLI and GUI regardless of the latest version being utilised.
Activity
anomalic1 commentedon Sep 18, 2026
You cannot do anything about it, they broke it fully even on OpenCode terminal its not working, they are not taking this issue seriously
Happened to me even on MacOs
kmtech183 commentedon Sep 18, 2026
Is this issue still coming to you Or have you find any working solution ?
danparisi commentedon Sep 18, 2026
Same for me, in opencode web
sekedus commentedon Sep 18, 2026
OpenCode Zen free models
free tier can only be used from within OpenCode, workaround:1. Check installation
Make sure the installed opencode is an official release, not a pre-release or development release.
run:
2. Update opencode terminal
3. Allow tools permission
open opencode global config file:
~/.config/opencode/opencode.jsonc(or~/.config/opencode/opencode.json)macOS/Linux (older installs):
~/.local/share/opencode/opencode.jsonc%USERPROFILE%\.config\opencode\opencode.jsoncset permissions & save:
v1:
{ "$schema": "https://opencode.ai/config.json", "permission": { "bash": "allow", "glob": "allow", "grep": "allow", "read": "allow" } }v2:
{ "$schema": "https://opencode.ai/config.json", "permissions": [ { "action": "shell", "resource": "*", "effect": "allow" }, { "action": "glob", "resource": "*", "effect": "allow" }, { "action": "grep", "resource": "*", "effect": "allow" }, { "action": "read", "resource": "*", "effect": "allow" } ] }close & rerun opencode terminal.
start a new session.
Important
for custom agent/subagent, these 4 tools must be allowed:
bash,glob,grep, &read. ref.shell,glob,grep, &read. ref.opencode agent createuses the last model you used, so make sure it isn’t a free model.Note
If
planmode still doesn’t work, allow 4 tools forplanmode inopencode.jsonc:v1:
{ "$schema": "https://opencode.ai/config.json", "agent": { "plan": { "permission": { "bash": "allow", "glob": "allow", "grep": "allow", "read": "allow" } } } }v2:
{ "$schema": "https://opencode.ai/config.json", "agents": { "plan": { "permissions": [ { "action": "shell", "resource": "*", "effect": "allow" }, { "action": "glob", "resource": "*", "effect": "allow" }, { "action": "grep", "resource": "*", "effect": "allow" }, { "action": "read", "resource": "*", "effect": "allow" } ] } } }4. Re-login
5. Disable vpn or proxy
6. Disable/remove all opencode plugin
7. Re-install
If it still doesn't work, try uninstall & re-install opencode terminal.
8. Test with IPv4 & IPv6 separately
If test result with IPv4 and IPv6 is 403
FreeTierError, your IP is likely blocked/banned/restricted.opencode webv1.18.32:opencode pairv2.0.29:youssefchadi commentedon Sep 18, 2026
anomalic1 commentedon Sep 19, 2026
Same issue whatsoever
Hdiaktoros commentedon Sep 22, 2026
Possibly related data point: I hit this same error on a custom subagent (not compaction/title, but a "Critic" subagent invoked mid-session by an orchestrator) and found a workaround.
My subagent's frontmatter originally had:
Every call to this subagent failed with
Error from provider (Console): OpenCode's free tier can only be used from within OpenCode, while normal build-agent requests in the same session worked fine, matching what's reported here foragent=compaction/agent=title.Removing the
permissionblock entirely fixed it:Same subagent, same prompt, same model, only the
permissionblock removed. This suggests the Console provider's "within OpenCode" check may be keying off something in how permission-restricted/background-style agent calls are routed or tagged, since compaction and title generation are also non-interactive background calls. Might be worth checking if forcingpermission: {}or similar on those internal agents works around it too, until this is fixed properly.peymanahmadi commentedon Oct 17, 2026
Experiencing this exact issue on v2.0.32 (Windows & Linux).
Environment:
OS: Windows 11 (MINGW64) and Linux
OpenCode Version: v2.0.32 (also downgraded to v1.18.28, issue persists)
Configuration: Clean opencode.jsonc (no custom agents, no restrictive permissions).
Steps to reproduce:
Launch OpenCode TUI.
Use built-in build agent.
Select DeepSeek V4.1 Flash Free.
Send a prompt.
Error: Error: OpenCode's free tier can only be used from within OpenCode.
What I've tried:
Re-authenticated via opencode auth login (OpenCode Zen).
Tested on both Windows and a separate Linux machine (same error).
Downgraded from v2 to v1.18.28 (same error).
Verified no permission blocks are restricting bash, glob, grep, or read.
This seems to confirm the server-side gatekeeper is misclassifying standard requests. Is there an ETA on a fix, or any specific configuration workaround for users with a clean setup?
anomalic1 commentedon Oct 18, 2026
Opencode would certainly ignore this bug considering they are having paid API response cutoffs and whatnot on claude and false charges made on my account too.
Opencode free tier bug persists on both CLI and GUI regardless of the latest version being utilised.
Tarquinen commentedon Oct 20, 2026
Duplicate of #49678, please track the progress there