Skip to content

opencode-go套餐使用异常 #40006

Closed as not planned
Closed as not planned

Description

@ZXH109030

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-luna is visible, but invocation fails with Upstream request failed: [403] This model is not available in your region.
  • kimi-k3 is visible, but invocation fails with repeated AI_APICallError: Internal server error.
  • deepseek-v4-flash is visible, but invocation also fails with repeated AI_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.ts plugin is also detected at startup, but it is disabled because the rtk binary is not present in PATH

OpenCode version

  • Desktop: 1.18.10
  • CLI: 1.18.10

Steps to reproduce

  1. Open OpenCode Desktop on Windows.
  2. Open a project session under D:\work\VisionSolution\IntegratedSoftware-master修改前.
  3. Select provider/model from opencode-go.
  4. Try gpt-5.6-luna, kimi-k3, or deepseek-v4-flash.
  5. Send a normal prompt.
  6. Observe the failures:
    • gpt-5.6-luna -> 403 This model is not available in your region
    • kimi-k3 -> repeated Internal server error
    • deepseek-v4-flash -> repeated Internal 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
    -> repeated AI_APICallError: Internal server error
  • providerID=opencode-go modelID=deepseek-v4-flash
    -> repeated AI_APICallError: Internal server error

This looks like the catalog rollout and actual invocation availability may be out of sync for some opencode-go models.

Activity

  1. github-actions commented on Aug 1, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Please use one of the three templates: Bug Report, Feature Request, or Question. The Bug Report template in particular asks for structured reproduction steps and system information in a standard format.

    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:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. Dante926 commented on Aug 1, 2026

    @Dante926

    真是有点烦躁了。最近只要一调 go 不是报错就是超时。复杂任务有时解决到一半就开始报错了😡

  3. ZXH109030 commented on Aug 1, 2026

    @ZXH109030
    Author

    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 restriction
    • kimi-k3 -> repeated internal server error
    • deepseek-v4-flash -> repeated internal server error

    The runtime log shows the correct provider/model are selected, so this does not appear to be a local provider-selection mistake.

  4. github-actions commented on Aug 1, 2026

    @github-actions
    Contributor

    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.

  5. DaoYangM commented on Aug 1, 2026

    @DaoYangM

    Same issue in ZEN.
    gpt-5.6-terra 403 region restriction

  6. specialfortificationgoods-cpu commented on Aug 4, 2026

    @specialfortificationgoods-cpu

    I can reproduce this on Linux with OpenCode Desktop 1.18.8 and opencode-go/kimi-k3.

    • Requests repeatedly returned AI_APICallError: Internal Server Error.
    • A minimal authenticated request to /zen/go/v1/chat/completions returned HTTP 500: {"type":"Router.Unavailable","modelID":"kimi-k3"}.
    • For one failed/aborted session, OpenCode recorded no assistant output and zero local usage, but Console Go still billed 617 input + 104 output tokens ($0.0020), session suffix ygTKX3fB.
    • The same account and configuration successfully ran opencode-go/mimo-v2.5 and opencode-go/kimi-k2.7-code.

    This suggests the K3 request is admitted and billed before the Go router fails to deliver a usable response.

  7. raybags-dev commented on Aug 22, 2026

    @raybags-dev

    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 ?

  8. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    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 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions