Skip to content

OpenCode Zen lists GPT 5.6 Terra but cannot run it #38624

Description

@muenker80

Description

opencode/gpt-5.6-terra is listed as an available OpenCode Zen model but fails reproducibly at runtime.

Three consecutive minimal requests failed before any generation started. All returned the same Zen gateway error:

Error: No provider available
HTTP 401
{"type":"error","error":{"type":"ModelError","message":"No provider available"}}

The request reached the documented Responses endpoint:

https://opencode.ai/zen/v1/responses
This is not a local missing-credential issue:

  • opencode auth list shows OpenCode Zen api as configured.
  • opencode models opencode lists opencode/gpt-5.6-terra.
  • Zen documentation lists GPT 5.6 Terra and /zen/v1/responses as its endpoint.

Reproduction
opencode run --model opencode/gpt-5.6-terra "Reply exactly: OK"

Expected: OK

Actual: immediate HTTP 401 with ModelError: No provider available; zero input/output tokens.

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

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