Open WebUI
Open WebUI is a self-hostable web-based AI interface that supports OpenAI-compatible backends.
Configuration Steps
- Log in to Open WebUI as an administrator and go to Admin Panel → Settings → External Connections;
- In the OpenAI API section, click Add:
- API Base URL:
https://api.4allapi.com/v1 - API Key:your
sk-token
- API Base URL:
- After saving, the model list will automatically fetch the models available to the current token from
/v1/models; - Select a model at the top of the chat page to start using it.
Recommendations
- Use model groups to control the range of models visible to team members: just bind different tokens to different groups;
- For Docker deployments, you can also inject via environment variables:
Terminal window -e OPENAI_API_BASE_URL=https://api.4allapi.com/v1 \-e OPENAI_API_KEY=sk-your-key - If the model list cannot be fetched, first use curl to directly verify whether
/v1/modelsreturns correctly.