Skip to content

[Provider]: Opencode Zen / GO #456

Description

@jeroenev

Provider name

Opencode Zen / GO

API compatibility

OpenAI-compatible

Provider documentation

There should only be 2 things missing:

  • Identify itself with its own user agent, such as my-coding-agent/1.0, rather than a generic SDK or HTTP-library name.
  • Send a stable session ID in x-opencode-session for each conversation so we can optimize routing and prompt caching.
    See: https://opencode.ai/docs/go/#where-can-i-use-it

Opencode models work with different API's depending on the model (OpenAI compatible, Responses API or Anthropic compatible) see https://opencode.ai/docs/go/#endpoints
Matching the original providers' endpoints

Models and capabilities

Should match the original provider's version in capabilities. Ex. deepseek-v4-flash doesn't support images, gpt-5.6-luna does.

Authentication and base URL

simple URL + API-key authentication on https://opencode.ai/zen/go

Privacy check

  • This provider requires users to explicitly configure their own credentials or local endpoint.
  • I did not include any API key or secret in this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: llm-providerLLM clients, provider adapters, auth, and model compatibilityneeds product decisionNeeds maintainer direction before implementationtype: featureA new capability or user-facing feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions