Skip to content

OpenCode Go: gpt-5.6-luna still returns HTTP 500 'Internal server error' (confirmed 2026-09-07) #47778

Closed as not planned

Description

@egorov-maxim

Summary

gpt-5.6-luna on the OpenCode Go plan still returns HTTP 500 {"type":"error","error":{"type":"error","message":"Internal server error"}} for every request. Confirmed live on 2026-09-07 with a working Go subscription and the same API key that succeeds on other catalog models. This duplicates earlier reports (#47463, #43565) - still unfixed, adding a fresh data point with a control test.

Reproduction (2026-09-07, plan: OpenCode Go subscription)

curl -sS -o /dev/null -w "%{http_code}\n" \
  -H "Authorization: Bearer $OPENCODE_GO_API_KEY" \
  -H "x-opencode-session: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.6-luna","messages":[{"role":"user","content":"Reply with exactly: pong"}],"max_tokens":64}' \
  https://opencode.ai/zen/go/v1/chat/completions

Result: 500 with body

{"type":"error","error":{"type":"error","message":"Internal server error"}}

Control test (same key, same session, same endpoint)

# model: deepseek-v4-pro

Result: 200 with normal completion (content: "pong", finish_reason: "stop").

The same single key succeeds on other models (e.g. deepseek-v4-pro), so this is not an auth or billing issue - the model is listed in the catalog but not wired on the Go router.

Expected behavior

gpt-5.6-luna either works on the Go plan like other catalog models, or is removed/marked unavailable in the catalog so subscribers cannot select a model that always fails.

Context

Activity

  1. egorov-maxim commented on Sep 7, 2026

    @egorov-maxim
    Author

    Additional confirmation (2026-09-07): reproduced with the subscriber's own OPENCODE_GO_API_KEY from api-keys.env, same endpoint, fresh session UUID.

    • gpt-5.6-luna -> HTTP 500 Internal server error
    • deepseek-v4-pro (control, same key/session) -> HTTP 200, content: "pong", finish_reason: "stop"

    Luna is still listed in /v1/models but every inference request 500s at the gateway.

  2. github-actions commented on Sep 7, 2026

    @github-actions
    Contributor

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

    You also reference #47463 and #43565 directly in the issue body. Please consider adding your reproduction data as a comment on #46124 or #47463 rather than opening a new issue.

  3. Tarquinen commented on Oct 20, 2026

    @Tarquinen
    Member

    Thanks for the report! gpt-5.6-luna is served on the /responses endpoint, 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 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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