anomalyco / anomalyco/opencode

OpenCode Go: GPT 5.6 Luna unavailable in Germany and Kimi K3 returns Forbidden

Open
#44,768 2 comments 0 reactions 1 assignee View on GitHub

@MrMushrooooom is already working on this.

Since Aug 24, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Hello,

I subscribed to OpenCode Go primarily because I wanted to use GPT 5.6 Luna, but I currently cannot use it.

My environment:

  • OS: Windows
  • OpenCode: 1.18.22
  • OpenCode Go credentials: configured successfully
  • Region: Germany

Both models are listed by the OpenCode Go API and by the OpenCode CLI:

  • opencode-go/gpt-5.6-luna
  • opencode-go/kimi-k3
GPT 5.6 Luna

Running:

opencode run -m opencode-go/gpt-5.6-luna "Say OK"

returns:

Error from provider (Console Go): Upstream request failed: [unsupported_country_region_territory] Country, region, or territory not supported

This is particularly confusing because I am located in Germany, and Luna is listed as an available OpenCode Go model.

Kimi K3

Running:

opencode run -m opencode-go/kimi-k3 "Say OK"

returns:

Error: Forbidden: {"model":"kimi-k3"}

However, I tested the exact same Go API credentials directly against the OpenCode Go API:

POST https://opencode.ai/zen/go/v1/chat/completions

with:

{"model":"kimi-k3","messages":[{"role":"user","content":"Say OK"}]}

and it works successfully. The API returned a normal chat.completion response from kimi-k3.

Also, all other OpenCode Go models I tested work normally through OpenCode.

So this does not appear to be a general account, API key, quota, or connectivity problem.

Could you please check:

  1. Why GPT 5.6 Luna is returning unsupported_country_region_territory for a user in Germany?
  2. Why Kimi K3 works directly through the Go API but returns Forbidden when called through OpenCode 1.18.22?
  3. Whether these are known issues with the current Go routing/backend?

I subscribed to OpenCode Go specifically to use Luna, so I would really appreciate clarification on the regional restriction and whether it can be resolved.

Thank you.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.