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
If your issue is specifically that the API key is not being recognized after entering it in the UI (connect → OpenCode Go → API key), please add more detail: your OpenCode version, OS, and any error messages shown in the terminal or logs. That will help distinguish this from the above issues.
Thanks for the report! Closing as a duplicate of #50885, which has the answer: #50885 (comment)
In short: in OpenCode 2.0, run /connect, choose opencode, and pick the workspace that has Go when signing in. Then select a model marked as Go. To use an API key instead, create one under a service account in the console and add it with /connect → opencode go.
If this still fails on 2.0, please open a new issue with your version.
Activity
github-actions commentedon Aug 23, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is specifically that the API key is not being recognized after entering it in the UI (connect → OpenCode Go → API key), please add more detail: your OpenCode version, OS, and any error messages shown in the terminal or logs. That will help distinguish this from the above issues.
Tarquinen commentedon Oct 20, 2026
Thanks for the report! Closing as a duplicate of #50885, which has the answer: #50885 (comment)
In short: in OpenCode 2.0, run
/connect, chooseopencode, and pick the workspace that has Go when signing in. Then select a model marked as Go. To use an API key instead, create one under a service account in the console and add it with/connect→opencode go.If this still fails on 2.0, please open a new issue with your version.
— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊