Skip to content
exoticrouter.com ↗

LibreChat

Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in LibreChat.

Setting Value
Base URL https://api.exoticrouter.com/v1
API key Your key, from the API keys page
Model An id such as anthropic/claude-sonnet-5-5, from the models page

A tool that adds /v1 to the address by itself is given https://api.exoticrouter.com instead.

  1. LibreChat has no screen for this. Save the file below as librechat.yaml in the project folder, next to your .env file.
  2. Add this line to .env: EXOTICROUTER_API_KEY=sk-er-YOUR-KEY
  3. With Docker, copy docker-compose.override.yml.example to docker-compose.override.yml and uncomment the line that mounts ./librechat.yaml.
  4. Restart LibreChat: docker compose down && docker compose up -d

An example with a handful of models and a stand-in for the key. Put your own key where it says sk-er-YOUR-KEY.

librechat.yaml
version: 1.3.19
cache: true
endpoints:
custom:
- name: 'ExoticRouter'
apiKey: '${EXOTICROUTER_API_KEY}'
baseURL: 'https://api.exoticrouter.com/v1'
models:
default: ['anthropic/claude-opus-5-5']
fetch: true
titleConvo: true
titleModel: 'current_model'
modelDisplayLabel: 'ExoticRouter'

With fetch on, LibreChat loads the full model list from the gateway. Edits to the file only take effect after a restart.

LibreChat speaks the OpenAI API, which every text model in the catalogue answers: Claude, GPT, Gemini and the rest, each by its id.

The setting is described in LibreChat’s own documentation.