Add Redline to Open WebUI
Open WebUI is protocol-first: it treats any OpenAI-compatible endpoint as an OpenAI connection. Add Redline in the admin UI or through environment variables.
Admin Settings, Connections
Go to Settings, then Admin, then Connections. Next to "Manage OpenAI API Connections", add a connection:
- URL: https://redline-gateway.pages.dev/v1
- API Key: your rl-... key
Leave Model IDs empty to auto-detect the catalogue, or set an allowlist to show only the models you want. Save, and the models appear in the selector.
Or environment variables
OPENAI_API_BASE_URL=https://redline-gateway.pages.dev/v1 OPENAI_API_KEY=rl-...
Open WebUI's default base URL is https://api.openai.com/v1, so keep the /v1 on the Redline URL. It caches the model list; saving the connection refreshes it immediately.