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
{{ message }}
Repository navigation
[API Gateway] Model gpt-5.6-luna returns HTTP 500 Internal server error via /zen/go/v1 endpoint #46124
When calling the OpenAI-compatible API endpoint (https://opencode.ai/zen/go/v1/chat/completions) for model gpt-5.6-luna, the gateway immediately responds with HTTP 500 Internal server error within ~0.9s.
However, other models (like deepseek-v4-flash, qwen3.7-plus, qwen3.8-max) on the exact same endpoint work perfectly fine (HTTP 200 OK).
{
"type": "error",
"error": {
"type": "error",
"message": "Internal server error"
}
}
### PluginsNone (Direct API call via /zen/go/v1)### OpenCode versionLatest (API Gateway /zen/go/v1)### Steps to reproduce1. Send a standard HTTP POST request to `https://opencode.ai/zen/go/v1/chat/completions` with Authorization Bearer header.2. Set request body payload to `{"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "ping"}]}`.3. The gateway immediately responds with `HTTP 500 Internal server error` within ~0.9s.4. If changing model to `deepseek-v4-flash` or `qwen3.7-plus` with the same headers, it returns `HTTP 200 OK` successfully.### Screenshot and/or share link<img width="797" height="417" alt="Image" src="https://github.com/user-attachments/assets/32a2e7a6-a801-4a3f-a460-a2266eb8aaa0" />### Operating SystemWindows 11### TerminalWindows Terminal / PowerShell
Activity
github-actions commentedon Aug 29, 2026
This issue might be a duplicate of existing issues. Please check:
IndexFlowing commentedon Sep 1, 2026
OpenCode is really unstable. I'm using GPT 5.6 Luna and it keeps throwing errors — also 500 errors.
Tarquinen commentedon Oct 20, 2026
Thanks for the report!
gpt-5.6-lunais served on the/responsesendpoint, not/chat/completions. Each Go model is available on the endpoint listed for it in the Go docs: https://opencode.ai/v2/docs/console/go#endpoints. Closing this issue.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊