Open WebUI setup
Add a CanalAPI connection and model scope, and distinguish model-list checks from real inference.
Open WebUI offers a self-hosted chat interface. Deploy using the official documentation; an administrator configures this connection.
Checked on 2026-11-03; release snapshot v0.12.5. The OpenAI-compatible guide was reviewed; a real CanalAPI call has not been tested. The Open WebUI License includes branding-related conditions and should not be treated as an ordinary BSD / MIT license.
Add a connection
Open Settings → Admin → Connections, then add an entry in Manage OpenAI API Connections:
| Field | Value |
|---|---|
| URL | https://api.canalapi.com/v1 |
| API Key | Your CanalAPI key |
| Model IDs | Start with one or a few full model IDs you intend to use |
Save and ensure the connection is enabled. This uses the OpenAI-compatible chat connection; Ollama and experimental protocols are separate choices.
Model IDs help organize the displayed list but do not replace CanalAPI key-level model restrictions. Configure application-level user and model access as well.
Go beyond the connection check
Open WebUI's connection verification requests the model list. CanalAPI's /v1/models is public, so a successful check does not prove that the key or inference works.
- Select the newly configured CanalAPI model in a new chat.
- Send “Reply only OK” and confirm a normal response.
- Check the model and request in CanalAPI usage logs, then test any required streaming or tools.
This configuration normally sends requests from the Open WebUI server. Use a dedicated key and spending limit; multiple users may consume the server's shared allowance. Redact keys and personal data before screenshots or config exports.
Common issues
- Connection check passes but chat returns 401: inspect the actual key, expiry and access restrictions rather than repeating the model-list check.
- Model missing: check the connection toggle, Model IDs, user permissions and model selector.
- Browser reaches the URL but chat times out: check outbound access from the Open WebUI server or container.
- Knowledge retrieval fails: RAG embedding settings are separate from the chat connection.
Official UI reference: OpenAI-compatible connections. Other errors: troubleshooting.