Skip to content

feat: add LiteLLM provider support #22212

Closed as not planned
Closed as not planned

Description

@tobias-weiss-ai-xr

Feature Request

Users who run LiteLLM as a proxy for 100+ LLM providers can't point opencode at it. They have to configure each provider individually even when LiteLLM already provides a unified OpenAI-compatible endpoint.

Suggested Fix

Add LiteLLM as a built-in provider using the existing @ai-sdk/openai-compatible adapter, same as other OpenAI-compatible providers in the codebase.

  • I've verified this doesn't already exist

Activity

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

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature request titles must start with [FEATURE]: (current title: feat: add LiteLLM provider support)

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions commented on Apr 13, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  4. Lukas-Ertl commented on Jun 24, 2026

    @Lukas-Ertl

    +1

  5. jsilvermist commented on Sep 13, 2026

    @jsilvermist

    I see this was closed as not planned by github-actions? Can this be revisited, as it's currently a massive undertaking to manually sync all models and their related metadata/capabilities.

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