Connect LobeChat
Self-hostable web client with plugins, multi-session chat, and a mobile PWA.
Use cases
Good for self-hosting a web chat UI for yourself or a team, with plugins, multiple sessions and a PWA for phones.
Tips
Create a separate key for this client and limit its allowed models, so its usage is easy to track.
If it cannot connect
- Use
https://omnimodel.me/v1as the API host, without/chat/completions. - The key starts with
key_and is not paused or revoked;auth.invalid_keymeans the key cannot be used. - The model ID matches the catalog and is in the key's allowed models.
billing.insufficient_creditmeans the balance is too low; see common errors for more.
Setup
- For a self-hosted deployment, pass the API host and key as environment variables.
- On a running instance, fill them in under Settings → Language Model → OpenAI.
- Add the model ID to the model list and start chatting.
Settings
- API host:
https://omnimodel.me/v1 - API key:
YOUR_API_KEY - Model:
MODEL_ID
FAQ
- Where should the key live when self-hosting?
- In server-side environment variables, rather than having each visitor enter it in the browser, so the key is never exposed.
- Are plugin calls billed?
- Plugins themselves are free, but each model call they trigger is billed at that model's price.