Skip to content

How to use it when there is only one model locally? #202

Closed

Description

@Liuliusui

My current issue is that my graphics memory is only sufficient to deploy one model locally, but the config requires two. How should I configure it to use one locally and one online? Because I see that only one api_base can be set in the config. Or how can I use two models with different api_bases?

Activity

  1. codelion commented on Aug 13, 2025

    @codelion
    Member

    You can use a single model by just putting the weight to 1.0. It is currently not possible to use different api_base but you can use an existing proxy or router like OptiLLM - https://github.com/codelion/optillm to router between models as needed with the same url.

  2. locked and limited conversation to collaborators on Aug 13, 2025
  3. converted this issue into a discussion #205 on Aug 13, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions