• UnoRouterUNOROUTER
Documentation
  • AI Applications
Coding agents
  • opencodeOpenCode Setup Guide
  • Kilo CodeKilo Code Setup Guide
  • Zed IDE Setup Guide
  • ClineCline Setup Guide
  • RooCodeRoo Code Setup Guide
  • continue-devContinue.dev Setup Guide
Character & fiction clients
  • SillyTavernSillyTavern Integration Guide
  • janitor-aiJanitor.AI Integration Guide
  • risuaiRisuAI Integration Guide
  • Chub / Venus Integration Guide
  • nevikaNevika Integration Guide
Chat clients
  • librechatLibreChat Integration Guide
  • OpenWebUIOpen WebUI Integration Guide
  • LobeHubLobeChat Integration Guide
  • AnythingLLM Integration Guide
  • CherryStudioCherry Studio Integration Guide
  • typingmindTypingMind Integration Guide
  • BoltAI Integration Guide
  • Page Assist Integration Guide
  • chatboxChatbox Integration Guide
  • Big-AGI Integration Guide
CLI tools
  • aiderAider Setup Guide
  • cc-switchCC Switch Integration Guide
  • Claude CodeClaude Code Integration
  • CodexOpenAI Codex CLI Setup Guide
  • GeminiGemini CLI Integration
  • openclawOpenClaw Integration
  • Hermes AgentHermes Agent Integration
  • ModelContextProtocolMCP Server Setup Guide
Navigate
  • Models
  • Rankings
  • Inspector
  • Pricing
  • Chat
  • Status

Search docs...

Start typing to search documentation

PlatformIntegrationsChat
librechat
LibreChat

LibreChat Integration Guide

Connect UnoRouter to LibreChat through a custom OpenAI-compatible endpoint.

Overview

LibreChat exposes any OpenAI-compatible host through endpoints.custom. Add a UnoRouter block, set the env var, and the model picker auto-fills from the catalog.

Quick Config

Drop these values into the client. Your key auto-fills when you are signed in.

text
Base URL: https://api.unorouter.com/v1
API Key: YOUR_API_KEY

Sign in to auto-fill your API key

Compatibility

Chat CompletionsStreamingTool calling

Step-by-step setup

  1. 1
    Edit librechat.yaml

    In your LibreChat install, add a custom endpoint block under endpoints.custom.

    yaml
    endpoints:
      custom:
        - name: 'UnoRouter'
          apiKey: '${UNOROUTER_API_KEY}'
          baseURL: 'https://api.unorouter.com/v1'
          models:
            fetch: true
          titleConvo: true
          modelDisplayLabel: 'UnoRouter'

    Sign in to auto-fill your API key

  2. 2
    Add the env var

    Set your UnoRouter API key in the LibreChat .env file.

    bash
    UNOROUTER_API_KEY=YOUR_API_KEY

    Sign in to auto-fill your API key

  3. 3
    Restart LibreChat

    Restart the container or process. The UnoRouter endpoint appears in the chat dropdown.

Recommended models

Free models that work well here. Paste any model id into the client.

agnes-2.0-flash:freeallam-2-7b:freebielik-11b-v3.0-instruct:freebig-pickle:freecodestral-latest:free

Gotchas

  • !Use single-brace syntax for env-var values, not the secrets syntax some other configs use.
  • !If a model rejects extra OpenAI params, add them to dropParams (for example frequency_penalty and presence_penalty).
  • !fetch: true auto-populates from the UnoRouter catalog. Combine it with default to surface preferred models first.
Generate API KeyModels

On this page

Overview
Quick Config
Compatibility
Setup steps
Edit librechat.yaml
Add the env var
Restart LibreChat
Recommended models
Gotchas