Skip to content

None of the models from OpenCode Zen work. #47940

Closed as not planned
Closed as not planned

Description

@Sankyuubigan

Description

In the OpenCode Zen list, there are 6 models, but none of them work. The models from Meta indicate that they are not available in this country, and the rest show a “Forbidden” error.

Plugins

No response

OpenCode version

OpenCode Desktop v1.18.29

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

win10

Terminal

OpenCode Desktop v1.18.29

Activity

  1. github-actions commented on Sep 8, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct from these, please add more details about which specific models you tried and the exact error messages you received.

  2. seven7763 commented on Sep 8, 2026

    @seven7763

    The two error shapes in your report point at different layers, and there's a quick way to tell them apart — worth doing before this gets closed as a duplicate of one family when you're likely hitting both.

    Shape 1 — "not available in this country" (the Meta models). That wording comes from the upstream model provider's geo policy, relayed through Zen. It's per model family, not per account, and no client-side setting changes it. The same shape is tracked in #40162 (Luna/Terra from unsupported regions) — there the provider rejects the request wherever the egress IP lands in an unsupported territory.

    Shape 2 — bare Forbidden with a {"model":"..."} body (the rest). That's the free-model family: #45132 records the exact body — 403 {"model":"mimo-v2.5-free"} — persisting 2+ weeks across multiple accounts and models (nemotron/laguna/mimo), with hy3-free working. Since it reproduces for many users with valid keys, it's very unlikely to be an account flag on your side.

    The distinguishing test: take one model from each group and call the Zen REST endpoint directly, outside the client, with the same key:

    curl https://opencode.ai/zen/v1/chat/completions \
      -H "Authorization: Bearer <your-key>" \
      -H "Content-Type: application/json" \
      -d '{"model":"<model-id>","messages":[{"role":"user","content":"hi"}]}'
    
    • If the direct curl fails with the same body → the model/region/family itself is rejecting the key; nothing in OpenCode Desktop is involved.
    • If the direct curl succeeds but the client fails → then it's a client-side routing/header issue and worth a fresh non-duplicate report with the model IDs.

    That split will also tell the maintainers which of the open dupes (#40162, #45132) your report actually belongs to.

  3. 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