GeezerVison is showing github.com — Error from provider (Console): OpenCode's free tier can only be used from within OpenCode · Issue #49680 · anomalyco/opencode
Error from provider (Console): OpenCode's free tier can only be used from within OpenCode #49680DescriptionHello,
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 Activityanomalic1 commented on 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 commented on Sep 18, 2026 Is this issue still coming to you Or have you find any working solution ? danparisi commented on Sep 18, 2026 Same for me, in opencode web sekedus commented on 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
- update opencode terminal to latest version.
- make sure that no opencode tools are disabled.
- start a new session.
3. Allow tools permission
-
open opencode global config file:
- macOS/Linux:
~/.config/opencode/opencode.jsonc (or ~/.config/opencode/opencode.json)
macOS/Linux (older installs): ~/.local/share/opencode/opencode.jsonc
- Windows: Press WIN+R and paste
%USERPROFILE%\.config\opencode\opencode.jsonc
-
set 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:
- v1:
bash, glob, grep, & read . ref.
- v2:
shell, glob, grep, & read . ref.
opencode agent create uses the last model you used, so make sure it isn’t a free model.
Note If plan mode still doesn’t work, allow 4 tools for plan mode in opencode.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
# logout
opencode auth logout opencode
# login
opencode auth login --provider opencode
5. Disable vpn or proxy
7. Re-install
If it still doesn't work, try uninstall & re-install opencode terminal.
If test result with IPv4 and IPv6 is 403 FreeTierError, your IP is likely blocked/banned/restricted.
opencode web v1.18.32:
opencode pair v2.0.29:
 youssefchadi commented on Sep 18, 2026 anomalic1 commented on Sep 19, 2026
workaround:
- update opencode terminal to latest version.
- make sure that no opencode tools are disabled.
- start a new session.
opencode web:
Same issue whatsoever Hdiaktoros commented on 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:
mode: subagent
permission:
edit:
"*": deny
bash:
"*": deny
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:
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. Reacted by Sekedus and w3struk peymanahmadi commented on 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? Reacted by Virgile Lafontaine, Kimoloplr, Spike, LeLuCh B0й, wizziwig, firengate, Jason De Lara, bryndin, shivansh.who and Yijun anomalic1 commented on Oct 18, 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?
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 commented on Oct 20, 2026 Duplicate of #49678, please track the progress there
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|