Lobe Chat
Route Lobe Chat model calls through FIM Gate via URL parameters or in-app settings.
Lobe Chat is an open-source, self-hostable AI chat application. There are two ways to connect it: one-click configuration via URL parameters, or manual setup in the UI.
Option 1: One-click configuration via URL parameters
Lobe Chat supports encoding settings into the access URL. In the link below, replace {url} with your Lobe Chat deployment address and {key} with your FIM Gate key, then open it in a browser:
https://{url}/?settings={"keyVaults":{"openai":{"apiKey":"{key}","baseURL":"https://api.gate.fim.ai/v1"}},"languageModel":{"openai":{"autoFetchModelLists":true,"enabled":true},"ollama":{"enabled":false}},"check_updates":false}You can also add an array of model IDs under languageModel.openai.enabledModels to pre-enable specific models (e.g. ["gpt-5.2","claude-sonnet-4-5-20250929"]). If omitted, you can enable models in the UI after opening the app.
Option 2: Manual configuration
-
Open Lobe Chat, go to App Settings → Language Model, and find the OpenAI provider.
-
For API Key, enter a key you created in the Console.
-
For API Proxy Address (BASE URL), enter:
https://api.gate.fim.ai/v1 -
Click Fetch Model List to retrieve the currently available models.
-
In the Model List, check the models you want to use, then return to the chat view to select them.