LobeChat
LobeChat Integration Guide
Connect Routerah to LobeChat through a custom provider or Docker env vars.
Overview
LobeChat supports any OpenAI-compatible host through env vars or Add Custom Provider. Pair it with Routerah for a local web client.
Quick Config
Paste these into the client. Your key auto-fills when signed in.
text
Base URL: https://api.routerah.app/v1
API Key: YOUR_API_KEYCompatibility
Chat CompletionsStreamingTool calling
Step-by-step setup
- 1Open Settings, then Language Model
Click Add Custom Provider and fill in the form.
textProvider Name: Routerah Provider ID: routerah Request Format (SDK Type): openai Proxy URL: https://api.routerah.app/v1 API Key: YOUR_API_KEY - 2Add models
Save the provider, then add the Routerah models you want. They appear in the model picker.
- 3Optional: Docker env vars
Self-hosting: set the OpenAI env vars at container runtime instead.
bashdocker run -e OPENAI_API_KEY=YOUR_API_KEY \ -e OPENAI_PROXY_URL=https://api.routerah.app/v1 \ lobehub/lobe-chat
Recommended models
Free models that work here. Paste any model id into the client.
minimax-m3.1-flash:freexing4.0-29b-a4b:freesage-a1.5:freenemotron-3.5-bolt-e4b:freeling-3.1-flash:free
Gotchas
- To keep first-party OpenAI alongside Routerah, use Add Custom Provider, not the OpenAI env vars.
- Provider ID must be lowercase. routerah works, Routerah does not.