B2BB2B LLM

LibreChat

Configure LibreChat para usar a API compatível com Model Gate OpenAI.

LibreChat através do Model Gate

Adicione um endpoint personalizado ao librechat.yaml:

version: 1.2.1

endpoints:
  custom:
    - name: "Model Gate"
      apiKey: "${MODEL_GATE_API_KEY}"
      baseURL: "https://api.model-gate.com/v1"
      models:
        default:
          - "gpt-5.4"
          - "ch-47"
          - "ch-46s"
        fetch: true
      titleConvo: true
      titleModel: "ch-46s"
      modelDisplayLabel: "Model Gate"

Defina o segredo antes de iniciar LibreChat:

export MODEL_GATE_API_KEY="mg_live_..."

Reinicie LibreChat após alterar a configuração. Quando fetch: true é compatível com a versão LibreChat instalada, ele lê modelos de /v1/models, incluindo aliases e preços específicos de chave.