LobeChat
LobeChat Integration Guide
Connect UnoRouter to LobeChat through a custom provider or Docker env vars.
Overview
LobeChat supports any OpenAI-compatible host through env vars or its Add Custom Provider UI. Pair it with UnoRouter for a slick local web client.
Quick Config
Drop these values into the client. Your key auto-fills when you are signed in.
text
Base URL: https://api.unorouter.ai/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: UnoRouter Provider ID: unorouter Request Format (SDK Type): openai Proxy URL: https://api.unorouter.ai/v1 API Key: YOUR_API_KEY - 2Add models
Save the provider, then add the UnoRouter models you want. LobeChat surfaces them in the model picker.
- 3Optional: Docker env vars
If you self-host, set the OpenAI env vars at container runtime instead.
bashdocker run -e OPENAI_API_KEY=YOUR_API_KEY \ -e OPENAI_PROXY_URL=https://api.unorouter.ai/v1 \ lobehub/lobe-chat
Recommended models
Free models that work well here. Paste any model id into the client.
mistral-vibe-cli-latestmistral-large-latestopen-mistral-nemo-2407mistral-medium-2604mistral-vibe-cli-fast
Gotchas
- To keep first-party OpenAI alongside UnoRouter, use Add Custom Provider, not the OpenAI env vars.
- Provider ID must be lowercase. unorouter works, UnoRouter does not.