Skip to content

Option 'Other' doesn't exist to add custom provider #16138

Closed

Description

@royfrancis

Question

The docs say go to /connect and select 'Other'?

Image

But, 'Other' is not a selectable option. It's just a title.

Image

I have checked the CLI, VS Code plugin and the desktop GUI and it's all the same. I have also tried adding the details of my custom provider to ~/.config/opencode/config.json, but it doesn't show up.

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "bla": {
      "name": "bla",
      "options": {
        "baseURL": "https://bla.com/api/v1"
      }
    }
  }
}

How do I add a custom provider? What am I missing?

Some system info.

ProductName:            macOS
ProductVersion:         26.3.1
BuildVersion:           25D2128

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 5, 2026
  2. github-actions commented on Mar 5, 2026

    @github-actions
    Contributor

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

    If your issue is the same, consider adding a comment there instead. If it's distinct (e.g. a different version or different behavior), feel free to keep this open.

  3. royfrancis commented on Mar 5, 2026

    @royfrancis
    Author

    In the latest version of the OpenCode GUI (1.2.17), I was able to add a custom provider under Settings. Adding a model is mandatory.

    Image Image

    And this seems to work in the CLI and extensions as well. It updated ~/.config/opencode/opencode.json.

      "provider": {
        "bla": {
          "name": "Bla",
          "npm": "@ai-sdk/openai-compatible",
          "models": {
            "mistral:latest": {
              "name": "mistral:latest"
            },
            "gemma3:latest": {
              "name": "gemma3:latest"
            }
          },
          "options": {
            "baseURL": "https://bla.com/api/v1"
          }
        }
      }
    
  4. delflein commented on Apr 14, 2026

    @delflein

    @royfrancis In the GUI yes you can do this. But the TUI is missing the "Other" Option when using /connect.

  5. sirpy commented on Nov 12, 2026

    @sirpy

    @delflein custom provider is missing in the latest macos desktop version

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

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions