Source: https://ailoot.ai/docs/integrations/open-webui/
Canonical: https://ailoot.ai/docs/en/integrations/open-webui/
Language: en

[Chat applications](https://ailoot.ai/docs/en/integrations/#chat) 

# Open WebUI

[Markdown](https://ailoot.ai/docs/en/integrations/open-webui/index.md)

Self-hosted web chat · OpenAI Chat

| Format | Where to set it up |
| --- | --- |
| OpenAI Chat | Settings \> Admin \> Connections \> Manage OpenAI API Connections \> + Add Connection, or OPENAI\_API\_BASE\_URL / OPENAI\_API\_KEY environment variables when starting the container |

## [](https://ailoot.ai/docs/integrations/open-webui/#setup)Setup

Copy the configuration and replace `sk-...` with your key from the Ailoot Dashboard. Prefer storing the key in the environment variable `AILOOT_API_KEY`, if the application supports it.

Before starting, request GET /v1/models with your Ailoot key. Choose an exact model ID whose methods include POST /v1/chat/completions, then use that ID in the configuration. For agents, also check tool support and the features required by your client version.

```text
UI: URL = https://api.ailoot.ai/v1
API Key = sk-...
Model IDs: leave blank (loaded from /v1/models) or manually add claude-sonnet-5-5, gpt-6.1-sol

Docker env:
OPENAI_API_BASE_URL=https://api.ailoot.ai/v1
OPENAI_API_KEY=sk-...
```

Example model: `claude-sonnet-5-5`. Choose any other model from the [catalog](https://ailoot.ai/models/en/) — check that it supports the format you need.

## [](https://ailoot.ai/docs/integrations/open-webui/#notes)Good to know

Uses OpenAI Chat Completions. The URL must include /v1 and have no trailing slash. The model list comes from /v1/models. For a large catalog (252 models), limiting Model IDs and enabling model-list caching is more convenient: Cache Base Model List / ENABLE\_BASE\_MODELS\_CACHE=True. RAG embeddings use a separate RAG\_OPENAI\_API\_BASE\_URL.

## [](https://ailoot.ai/docs/integrations/open-webui/#check)Test

- For the OpenAI format, the URL is `https://api.ailoot.ai/v1` (or the full path if the application asks for a full URL).
- Ask a short question. If you get an error, check the code and Request ID, then consult [Errors and limits](https://ailoot.ai/docs/en/errors/).
- 404 immediately after setup almost always means the URL is wrong: an extra or missing `/v1`.
- 402 — insufficient balance for the reserve. Agents reserve more than chat: [why](https://ailoot.ai/docs/en/billing/reserve/).

Application documentation: [https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible/](https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible/)

Still have questions? Send your Request ID and a description — we'll help you troubleshoot.[Contact support](mailto:support@ailoot.ai)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
