Skip to content

"Other" provider option not showing up #8820

Closed

Description

@anand2312

Description

The "Other" provider option that is documented here does not show up when I run /connect

Image

I tried adding my custom provider directly to .config/opencode/opencode.json:

{
    "$schema": "https://opencode.ai/config.json",
    "provider": {
      "anthropic": {
        "models": {
            "claude-sonnet-4-5": {}
        },
        "options": {
          "baseURL": "<internal LiteLLM endpoint URL>",
          "apiKey": "{env:ANTHROPIC_AUTH_TOKEN}"
        }
      },
      "litellm": {
        "npm": "@ai-sdk/openai-compatible",
        "name": "LiteLLM",
        "options": {
            "baseURL": "<internal LiteLLM endpoint URL>",
            "apiKey": "{env:ANTHROPIC_AUTH_TOKEN}"
        }
      }
    },
    "model": "claude-sonnet-4-5",
    "small_model": "claude-haiku-4-5"
}

but this provider also does not show up.

Plugins

Whichever are included by default

OpenCode version

1.1.23

Steps to reproduce

  1. Start opencode
  2. Run /connect
  3. Scroll through looking for the "Other" option, to no avail

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Alacritty, Windows Terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 16, 2026
  2. github-actions commented on Jan 16, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. GrinZero commented on Jan 20, 2026

    @GrinZero

    It' same

  4. added a commit that references this issue on Jan 21, 2026
    0ebd2b0
  5. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  6. 0xRy4n commented on Apr 11, 2026

    @0xRy4n

    Same issue.

  7. Kovinda commented on Apr 20, 2026

    @Kovinda

    same issue here

  8. LOYINuts commented on Apr 22, 2026

    @LOYINuts

    same

  9. calebrio02 commented on Apr 24, 2026

    @calebrio02

    same issue

  10. 372046933 commented on May 2, 2026

    @372046933

    Same here. How to fix?

  11. ShahriarKh commented on Jul 6, 2026

    @ShahriarKh

    I think you have to explicitly add the model you want to use from that provider (probably because opencode doesn't know what models are provided by that provider and how to get the list either):

    {
      "$schema": "https://opencode.ai/config.json",
      "provider": {
        "myprovider": {
          "npm": "@ai-sdk/openai-compatible",
          "name": "My AI ProviderDisplay Name",
          "options": {
            "baseURL": "https://api.myprovider.com/v1"
          },
          "models": { 👈🏽
            "my-model-name": {
              "name": "My Model Display Name"
            }
          }
        }
      }
    }
    
  12. ronbonk commented on Jul 19, 2026

    @ronbonk

    It actually shows up, when you define the model(s)! Good hint @ShahriarKh
    For the docs and ppl looking for multiple custom provider setup in opencode:

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": [
        "opencode-lmstudio@latest"
      ],
      "provider": {
        "lmstudio": {
          "npm": "@ai-sdk/openai-compatible",
          "name": "LM Studio (local)",
          "options": {
            "baseURL": "http://localhost:1234/v1"
          }
        },
        "mbpconn": {
          "npm": "@ai-sdk/openai-compatible",
          "name": "LM Studio (remote)",
          "options": {
            "baseURL": "http://<fqdn-of-host>:1234/v1",
            "apiKey": "apiKey-but-oc-might-ask-u-for-one-anyway"
          },
          "models": {
            "qwen/qwen3.6-35b-a3b":  {
              "name": "Qwen3.5 35b a3b 8bit"
            },
            "qwen/qwen3.6-27b": {
              "name": "Qwen 3.6 27b 8bit"
            }
          }
        }
      }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions