Feature hasn't been suggested before.
Describe the enhancement you want to request
Feature Request
Is your feature request related to a problem? Please describe.
The OpenCode Go service currently only supports the /v1/chat/completions endpoint (OpenAI Chat Completions API format).
However, the OpenAI Responses API is becoming the new standard for agentic workflows. Some tools (such as Claude Code adapters and other agent frameworks) expect the Responses API format rather than the Chat Completions format.
Currently, if I want to use the Go service with a tool that expects Responses API, I cannot.
Describe the solution you'd like
Add /v1/responses endpoint support for the Go service (https://opencode.ai/zen/go/v1/responses).
Why this is feasible
The Zen service already supports the Responses API endpoint: /zen/v1/responses
This means the routing logic and handler implementation already exist in the codebase. The Go service likely just needs the same route added.
Describe alternatives you've considered
- Using Chat Completions endpoint with a translation layer – not ideal, adds latency and complexity
- Switching to Zen service – but that uses different models (GPT series) and is more expensive
Additional context
- Zen service Responses endpoint:
https://opencode.ai/zen/v1/responses
- Models affected: GLM-5.1, GLM-5, Kimi K2.5, MiniMax M2.5 (all Go service models)
Would you be willing to contribute?
No, I am just submitting a feature request.
Use case
I purchased the OpenCode Go plan and want to use it with Claude Code (via an adapter that expects Responses API format). Adding this endpoint would unlock the Go service for many similar use cases.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Feature Request
Is your feature request related to a problem? Please describe.
The OpenCode Go service currently only supports the
/v1/chat/completionsendpoint (OpenAI Chat Completions API format).However, the OpenAI Responses API is becoming the new standard for agentic workflows. Some tools (such as Claude Code adapters and other agent frameworks) expect the Responses API format rather than the Chat Completions format.
Currently, if I want to use the Go service with a tool that expects Responses API, I cannot.
Describe the solution you'd like
Add
/v1/responsesendpoint support for the Go service (https://opencode.ai/zen/go/v1/responses).Why this is feasible
The Zen service already supports the Responses API endpoint:
/zen/v1/responsesThis means the routing logic and handler implementation already exist in the codebase. The Go service likely just needs the same route added.
Describe alternatives you've considered
Additional context
https://opencode.ai/zen/v1/responsesWould you be willing to contribute?
No, I am just submitting a feature request.
Use case
I purchased the OpenCode Go plan and want to use it with Claude Code (via an adapter that expects Responses API format). Adding this endpoint would unlock the Go service for many similar use cases.