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
OpenCode's free tier can only be used from within OpenCode. Download it at https://opencode.ai and keep building. #55483
Thanks for the report! This error has several known causes, so we need a few more details to work out which one you're hitting:
Version and platform: the exact output of opencode --version (or the version shown in the Desktop app), your operating system, and whether you use the Desktop app, the terminal (CLI) or the web, and how you installed it.
Model: which free model you selected.
When it happens: on the very first message of a new session, or partway through a conversation (for example when a subagent starts)? Did it work before, and if so, what changed?
Thanks for looking into this. Here are the details from my setup and the tests I've performed.
1. OS and installation
OS: Arch Linux x86_64
Terminal: Kitty
Version: opencode v2.0.32
type -a opencode shows two binaries:
/home/theo/.opencode/bin/opencode — the first one in my PATH; not owned by pacman.
/usr/bin/opencode — owned by package opencode-beta 2.0.32-1.
Both binaries reproduce the same error.
2. When it happens
The error occurs immediately on the first request in a fresh opencode run invocation. It is not limited to compaction or a request partway through an existing session.
3. Agent and permissions
I normally use GLM 5.3 Flash. I also tested the built-in build agent explicitly:
opencode run --agent build "Reply with exactly: OK"
It fails with the same error.
I searched ~/.config/opencode, ~/.local/share/opencode, ~/.opencode, and .opencode in my home directory for relevant permission and tool settings. Those searches returned no matches. I also found no opencode.ai/zen/v1 custom provider URL in the configuration locations checked.
4. Login state
opencode auth list reports:
OpenCode Console Personal stored
I ran opencode auth login opencode, and the OAuth flow completed successfully with Connected to OpenCode Console. However, the error persisted afterward.
5. Other free models
I tested:
opencode run --model opencode/big-pickle "Reply with exactly: OK"
It produces the same error. Therefore, the issue is not limited to my usual GLM model.
The error persists after re-authentication, with both installed binaries, and when using the built-in build agent. Please let me know what additional diagnostics would help isolate the cause.
We're closing this issue for now because we haven't heard back. Without your OpenCode version, platform, model and when the error appears, we can't tell which of the known causes of this free-tier error you're hitting.
If it still happens, please reply here with those details and we can reopen it. You can also check the related issues listed above (for example #55435, #55426 and #50627), since one of them may already cover your case. Thanks!
Following up with what I found, including my own part in it.
Environment: OpenCode Desktop 2.0.32 (current in the desktop update feed), Windows 11 Pro 26200, x64.
What I had been running: until 2026-10-17 a local script on this machine sent free-tier requests through opencode acp on behalf of other tools, i.e. automated use outside the OpenCode app. I've now removed it completely: the bridge process is stopped and disabled, and nothing else on the machine calls OpenCode.
Current state: clean reinstall of the official 2.0.32 desktop installer (SHA-512 matches the update feed), with every OpenCode config, data, state and cache folder moved away first. No config, no plugins, not logged in, built-in build agent.
Result: every free model, even with a bare config, now returns a 403 FreeTierError saying the free models aren't available from this network because abusive traffic was detected from this IP address (not account-related). No VPN or proxy is in the path. Before the reinstall it was Free Model Gateway Detect Abuse Traffic, and before that free tier can only be used from within OpenCode.
2026-10-17 17:57:44 UTC, POST https://opencode.ai/inference/openai/v1/chat/completions
I understand why the flag was set. Now that the automated traffic has stopped, could you tell me whether the block expires on its own, and roughly when, or whether it has to be lifted manually?
Activity
opencode-agent commentedon Oct 14, 2026
Thanks for the report! This error has several known causes, so we need a few more details to work out which one you're hitting:
opencode --version(or the version shown in the Desktop app), your operating system, and whether you use the Desktop app, the terminal (CLI) or the web, and how you installed it.build/planagent or a custom agent? Do you have any tools or permissions set todeny? Does youropencode.json/opencode.jsoncdefine a custom provider pointing athttps://opencode.ai/zen/v1? Another user on OpenCode's free tier can only be used from within OpenCode. Download it at https://opencode.ai and keep building. #55435 suggested that removing such an entry fixed it for them, so it's worth checking.You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.
These existing issues may already cover your problem. The list is ordered from most to least likely:
shellorreadpermissions are denied #51241: the error appears when an agent hasshellorreadpermissions deniedteenagestig commentedon Oct 17, 2026
Thanks for looking into this. Here are the details from my setup and the tests I've performed.
1. OS and installation
opencode v2.0.32type -a opencodeshows two binaries:/home/theo/.opencode/bin/opencode— the first one in my PATH; not owned by pacman./usr/bin/opencode— owned by packageopencode-beta 2.0.32-1.2. When it happens
The error occurs immediately on the first request in a fresh
opencode runinvocation. It is not limited to compaction or a request partway through an existing session.3. Agent and permissions
I normally use GLM 5.3 Flash. I also tested the built-in
buildagent explicitly:opencode run --agent build "Reply with exactly: OK"It fails with the same error.
I searched
~/.config/opencode,~/.local/share/opencode,~/.opencode, and.opencodein my home directory for relevant permission and tool settings. Those searches returned no matches. I also found noopencode.ai/zen/v1custom provider URL in the configuration locations checked.4. Login state
opencode auth listreports:OpenCode Console Personal storedI ran
opencode auth login opencode, and the OAuth flow completed successfully withConnected to OpenCode Console. However, the error persisted afterward.5. Other free models
I tested:
opencode run --model opencode/big-pickle "Reply with exactly: OK"It produces the same error. Therefore, the issue is not limited to my usual GLM model.
The error persists after re-authentication, with both installed binaries, and when using the built-in
buildagent. Please let me know what additional diagnostics would help isolate the cause.opencode-agent commentedon Oct 17, 2026
We're closing this issue for now because we haven't heard back. Without your OpenCode version, platform, model and when the error appears, we can't tell which of the known causes of this free-tier error you're hitting.
If it still happens, please reply here with those details and we can reopen it. You can also check the related issues listed above (for example #55435, #55426 and #50627), since one of them may already cover your case. Thanks!
niko4244 commentedon Oct 18, 2026
Following up with what I found, including my own part in it.
Environment: OpenCode Desktop 2.0.32 (current in the desktop update feed), Windows 11 Pro 26200, x64.
What I had been running: until 2026-10-17 a local script on this machine sent free-tier requests through
opencode acpon behalf of other tools, i.e. automated use outside the OpenCode app. I've now removed it completely: the bridge process is stopped and disabled, and nothing else on the machine calls OpenCode.Current state: clean reinstall of the official 2.0.32 desktop installer (SHA-512 matches the update feed), with every OpenCode config, data, state and cache folder moved away first. No config, no plugins, not logged in, built-in
buildagent.Result: every free model, even with a bare config, now returns a 403
FreeTierErrorsaying the free models aren't available from this network because abusive traffic was detected from this IP address (not account-related). No VPN or proxy is in the path. Before the reinstall it wasFree Model Gateway Detect Abuse Traffic, and before thatfree tier can only be used from within OpenCode.An earlier rejected request, for your logs:
a82df459-6b0a-4142-b543-d45ec64da93aa4c12ff8f8bae417-ORDPOST https://opencode.ai/inference/openai/v1/chat/completionsI understand why the flag was set. Now that the automated traffic has stopped, could you tell me whether the block expires on its own, and roughly when, or whether it has to be lifted manually?