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. #55616
Thanks for the report! This error has several known causes, so we need a few details to work out which one you're hitting:
Version and platform: the exact OpenCode Desktop version (shown in the app, or the output of opencode --version) and your operating system.
Model: which free model you had selected.
When it happens: on the very first message of a new session, partway through a session (e.g. during compaction), when a subagent is spawned, or in an imported session.
Config: whether your opencode.json / opencode.jsonc (e.g. ~/.config/opencode/) contains a provider entry pointing to https://opencode.ai/zen/v1. Other users fixed this error by removing that entry, or by running opencode auth login opencode. Please let us know if either of these helps.
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 when you're done.
These existing issues may already cover your problem, ordered from most to least likely:
We haven't heard back, so I'm closing this for now. This free-tier error has several different causes, and without your OpenCode Desktop version, OS, model and when the error appears, we can't tell which one you're hitting.
If you're still affected, first try the workarounds that fixed it for other users: remove any provider entry pointing to https://opencode.ai/zen/v1 from your opencode.json / opencode.jsonc, or run opencode auth login opencode. You can also follow #55435 or #50366, which track the same error in OpenCode Desktop. If none of that helps, reply here with those details and we can reopen this. Thanks!
Activity
opencode-agent commentedon Oct 15, 2026
Thanks for the report! This error has several known causes, so we need a few details to work out which one you're hitting:
opencode --version) and your operating system.opencode.json/opencode.jsonc(e.g.~/.config/opencode/) contains aproviderentry pointing tohttps://opencode.ai/zen/v1. Other users fixed this error by removing that entry, or by runningopencode auth login opencode. Please let us know if either of these helps.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 when you're done.
These existing issues may already cover your problem, ordered from most to least likely:
opencode auth login opencodedeny shell *policy on a custom agent triggers the errorGaurav-Wankhede commentedon Oct 15, 2026
The version is opencode v2.0.29; here we are facing the issues
smashrvmco commentedon Oct 15, 2026
same problem here as of last night, using opencode web, 1.18.25
edit: had to make an api key, after that it is able to use the free tier models again
opencode-agent commentedon Oct 18, 2026
We haven't heard back, so I'm closing this for now. This free-tier error has several different causes, and without your OpenCode Desktop version, OS, model and when the error appears, we can't tell which one you're hitting.
If you're still affected, first try the workarounds that fixed it for other users: remove any
providerentry pointing tohttps://opencode.ai/zen/v1from youropencode.json/opencode.jsonc, or runopencode auth login opencode. You can also follow #55435 or #50366, which track the same error in OpenCode Desktop. If none of that helps, reply here with those details and we can reopen this. Thanks!