Skip to main content
LibreChat is an open-source, self-hosted chat interface with multi-model support. You can connect it to Routeway by adding a provider configuration to your librechat.yml file.
Requires a valid Routeway API key. Get yours from the dashboard.

Setup

1

Locate your LibreChat config

Find your LibreChat installation’s librechat.example.yml file and create a copy named librechat.yml (if you haven’t already).
2

Add Routeway configuration

Add the following to your librechat.yml under the endpoints section:
- name: 'Routeway'
  apiKey: '${ROUTEWAY_API_KEY}'
  baseURL: 'https://api.routeway.ai/v1/'
  models:
    default: [
      "gpt-4.1",
      "claude-sonnet-4.5",
      "gemini-2.5-flash",
    ]
    fetch: true
  titleConvo: true
  titleModel: 'gpt-4.1'
  modelDisplayLabel: 'Routeway'
Setting fetch: true will automatically load all available models from Routeway. The default list provides quick-access models shown at the top.
3

Set your API key

Add your Routeway API key as an environment variable:
export ROUTEWAY_API_KEY="YOUR_ROUTEWAY_API_KEY"
4

Restart LibreChat

Restart LibreChat to load the new configuration. Routeway will appear as a provider in the UI with all available models.

Reference

SettingValue
Base URLhttps://api.routeway.ai/v1/
Config filelibrechat.yml
Env variableROUTEWAY_API_KEY
Auto-fetch modelsfetch: true