Repository navigation
Closed as not planned
Description
Description
On Windows desktop, multiple opencode-go models are visible in the model picker but fail when actually invoked.
Confirmed behaviors on my machine:
gpt-5.6-lunais visible, but invocation fails withUpstream request failed: [403] This model is not available in your region.kimi-k3is visible, but invocation fails with repeatedAI_APICallError: Internal server error.deepseek-v4-flashis visible, but invocation also fails with repeatedAI_APICallError: Internal server error.
The runtime log shows these requests are actually going through opencode-go, so this does not look like a local model-name typo or wrong provider selection.
Plugins
C:/Users/admin/.config/opencode/plugins/opencode-context-cache.mjs- local
rtk.tsplugin is also detected at startup, but it is disabled because thertkbinary is not present in PATH
OpenCode version
- Desktop:
1.18.10 - CLI:
1.18.10
Steps to reproduce
- Open OpenCode Desktop on Windows.
- Open a project session under
D:\work\VisionSolution\IntegratedSoftware-master修改前. - Select provider/model from
opencode-go. - Try
gpt-5.6-luna,kimi-k3, ordeepseek-v4-flash. - Send a normal prompt.
- Observe the failures:
gpt-5.6-luna->403 This model is not available in your regionkimi-k3-> repeatedInternal server errordeepseek-v4-flash-> repeatedInternal server error
Screenshot and/or share link
I attached local screenshots during reproduction. I do not currently have a share link.
Operating System
Windows 11
Terminal
Windows PowerShell 5.1
Additional evidence
Local log file:
C:\Users\admin\.local\share\opencode\log\opencode.log
Observed log evidence:
providerID=opencode-go modelID=gpt-5.6-luna
->AI_APICallError: Upstream request failed: [403] This model is not available in your region.providerID=opencode-go modelID=kimi-k3
-> repeatedAI_APICallError: Internal server errorproviderID=opencode-go modelID=deepseek-v4-flash
-> repeatedAI_APICallError: Internal server error
This looks like the catalog rollout and actual invocation availability may be out of sync for some opencode-go models.
Reacted by Raymond Baguma
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Aug 1, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Upstream request failed- tool schemas containing $ref are rejected #39995: kimi-k3 always fails withUpstream request failed— tool schemas containing $ref are rejectedIf you believe this was flagged incorrectly, please let a maintainer know.
Dante926 commentedon Aug 1, 2026
真是有点烦躁了。最近只要一调 go 不是报错就是超时。复杂任务有时解决到一半就开始报错了😡
ZXH109030 commentedon Aug 1, 2026
I updated this issue to follow the Bug Report structure and added first-hand reproduction details from my Windows machine.
Confirmed locally with
opencode-go:gpt-5.6-luna-> 403 region restrictionkimi-k3-> repeated internal server errordeepseek-v4-flash-> repeated internal server errorThe runtime log shows the correct provider/model are selected, so this does not appear to be a local provider-selection mistake.
github-actions commentedon Aug 1, 2026
Thanks for updating the issue! It now follows the Bug Report template with clear reproduction steps and system information. The needs:compliance label has been removed.
DaoYangM commentedon Aug 1, 2026
Same issue in ZEN.
gpt-5.6-terra 403 region restriction
specialfortificationgoods-cpu commentedon Aug 4, 2026
I can reproduce this on Linux with OpenCode Desktop 1.18.8 and
opencode-go/kimi-k3.AI_APICallError: Internal Server Error./zen/go/v1/chat/completionsreturned HTTP 500:{"type":"Router.Unavailable","modelID":"kimi-k3"}.ygTKX3fB.opencode-go/mimo-v2.5andopencode-go/kimi-k2.7-code.This suggests the K3 request is admitted and billed before the Go router fails to deliver a usable response.
raybags-dev commentedon Aug 22, 2026
I suppose there hasn't been any movement on this issue. Still getting the same error. If there is any, can someone provide a timeline over which this could be resolved ?
world28afk commentedon Oct 3, 2026
在https://opencode.ai/console/{work_id}/settings/privacy里把regions改为globals就好了
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊