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
This issue might be a duplicate of existing issues. Please check:
Suppport for airgapped installation #2224: Support for airgapped installation - describes the same problem of needing to run OpenCode in an airgapped environment without network access while using a local model
Does OpenCode Require Internet APIs? #7313: Does OpenCode Require Internet APIs? - directly addresses the question of whether OpenCode requires internet access and mentions models.dev API calls
If you’re in network-restricted environments, I’d use OpenCode Sentinel — this project includes built-in support for offline dependency configuration, enabling one-click installation of all required dependencies without any network access 👍👍.
Also, it cuts all network access except to your LLM, so it works flawlessly in network-restricted environments.
Activity
github-actions commentedon Jan 15, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
OneOfLzx commentedon Jan 22, 2026
If you’re in network-restricted environments, I’d use OpenCode Sentinel — this project includes built-in support for offline dependency configuration, enabling one-click installation of all required dependencies without any network access 👍👍.
Also, it cuts all network access except to your LLM, so it works flawlessly in network-restricted environments.
Repo: https://github.com/oneoflzx/opencode-sentinel
itachizhu commentedon Jan 22, 2026
我这边也是,但是报错却是error=Gateway Time-out stack="AI_APICallError: Gateway Time-out....."
启动代理但本地的地址添加进no proxy中又可以使用,它在调用本地大模型不是直接连的吗?还要走代理?
同样的配置下,1.Claude Code能正常使用,2.启动网络代理后OpenCode能正常使用,当然本地大模型加入了不代理配置中。
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.