Skip to content

Commit 6345314

Browse files
authored
Merge pull request #1518 from open-webui/docs-provider-types
Add a guide to choosing connection settings per provider type
2 parents eaa720f + 4cf8346 commit 6345314

4 files changed

Lines changed: 38 additions & 1 deletion

File tree

‎docs/getting-started/quick-start/connect-a-provider/index.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,43 @@ You need a running Open WebUI instance, administrator access, a reachable local
5252

5353
The selected endpoint determines where inference happens. Selecting a cloud model sends the prompt and included context to that provider; comparing models sends the prompt to each selected endpoint. Local inference does not make separately configured cloud tools, extraction, or embedding services local. See [Chat Data Privacy & Encryption](/security/chat-data-privacy-and-encryption) when choosing providers for sensitive content.
5454

55+
## Choose the Right Connection Settings
56+
57+
Most providers work with a URL and an API key. A few need one extra choice in the connection dialog so Open WebUI knows what sits on the other end. Add Ollama servers under **Manage Ollama API Connections** and everything else under **Manage OpenAI API Connections** in **Admin Settings > Connections**, then use the table to see which settings your provider needs.
58+
59+
![Add Connection dialog with a URL and an API key filled in](/images/getting-started/quick-start/connection-dialog.png)
60+
61+
| You connect | Add it under | Settings to change |
62+
|---|---|---|
63+
| **Ollama** | Ollama connections | URL only. Open WebUI recognises Ollama on its own. See [Starting with Ollama](/getting-started/quick-start/connect-a-provider/starting-with-ollama). |
64+
| **OpenAI, Anthropic, Gemini, Mistral, Groq, OpenRouter, xAI, vLLM and other OpenAI-format servers** | OpenAI connections | URL and API key. Leave **Provider** on **Default**. |
65+
| **DeepSeek (hosted API)** | OpenAI connections | URL and API key, then **Advanced > Provider > llama.cpp**. DeepSeek's thinking mode needs its earlier reasoning sent back with every tool turn, and the llama.cpp setting is the one that sends it. |
66+
| **Azure OpenAI** | OpenAI connections | **Provider > Azure OpenAI**, an **API Version** and your deployment names under **Model IDs**. Open WebUI also switches to Azure mode on its own for Azure-looking URLs. |
67+
| **llama.cpp server** | OpenAI connections | **Provider > llama.cpp** to manage models from Open WebUI. See [Starting with llama.cpp](/getting-started/quick-start/connect-a-provider/starting-with-llama-cpp). |
68+
| **LM Studio** | OpenAI connections | **Provider > LM Studio** to manage models from Open WebUI. |
69+
| **LiteLLM proxy** | OpenAI connections | **Provider > LiteLLM**, which passes requests that arrive at Open WebUI's own Anthropic Messages endpoint straight on to LiteLLM. |
70+
| **A provider that offers the Responses API** | OpenAI connections | **API Type > Responses**. See [Open Responses](/getting-started/quick-start/connect-a-provider/starting-with-open-responses). |
71+
72+
The **Provider** setting names the format of the requests Open WebUI sends. The llama.cpp option carries that name because llama.cpp introduced the format, and any server that speaks it can use the option, including DeepSeek's hosted API. **Default** sends plain OpenAI format, which every OpenAI-compatible server accepts. The [Provider Setting](/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible#the-provider-setting) section lists everything each option switches on, and [How Reasoning Is Sent Back](/features/chat-conversations/chat-features/reasoning-models#how-reasoning-is-sent-back) shows which provider sends reasoning back in which field.
73+
74+
To change it, open **Admin Settings > Connections**, click the gear icon next to the connection (or **+** for a new one), expand **Advanced** and pick the option from **Provider**. Save the dialog and the connection list. The dropdown shows on OpenAI connections only.
75+
76+
![The Advanced section of a connection with Provider set to llama.cpp](/images/getting-started/quick-start/connection-provider-setting.png)
77+
78+
The other settings in the dialog:
79+
80+
| Setting | What it does |
81+
|---|---|
82+
| **Connection Type** | Labels the connection **Local** or **External**. The model selector uses the label for its Local and External filters. |
83+
| **Auth** | **Bearer** sends your API key. **None** calls the server without a key. **Session**, **OAuth** and **Entra ID** forward the signed-in user's credentials or an Azure identity. |
84+
| **API Type** | **Chat Completions** is the default. **Responses** switches the connection to the Responses API. |
85+
| **Forward cookies** | Sends the cookies of the Open WebUI request on to this server. |
86+
| **Headers** | Extra request headers in JSON format. |
87+
| **Prefix ID** | Adds a prefix to every model ID of this connection, so two connections that offer the same model name stay apart. |
88+
| **Model IDs** | A list of the models to show. Leave it empty to show every model the server reports. |
89+
90+
---
91+
5592
## Cloud Providers
5693

5794
Hosted APIs that require an account and API key. No hardware needed.

‎docs/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ Leaving it at **Default** is always safe. Chatting works the same with every opt
720720
| :--- | :--- |
721721
| **Default** | Nothing. The connection is treated as a plain OpenAI-compatible endpoint. |
722722
| **Azure OpenAI** | Requests are rewritten into Azure's deployment-based URL form with an `api-version` parameter, so the connection needs an **API Version** and the deployment names listed under **Model IDs**. Also switched on automatically for Azure-looking URLs, see the Azure OpenAI tab under [Cloud Providers](#cloud-providers). |
723-
| **llama.cpp** | Unlocks the [model management panel](#managing-local-models-from-open-webui), the green **Loaded** marker and the admin **Eject** button in the model selector, and the extra model details on the model rows. Stored reasoning is also replayed to the server as a `reasoning_content` field, which llama.cpp routes through the chat template. See the [llama.cpp guide](/getting-started/quick-start/connect-a-provider/starting-with-llama-cpp) and [reasoning models](/features/chat-conversations/chat-features/reasoning-models). |
723+
| **llama.cpp** | Unlocks the [model management panel](#managing-local-models-from-open-webui), the green **Loaded** marker and the admin **Eject** button in the model selector, and the extra model details on the model rows. Stored reasoning is also replayed to the server as a `reasoning_content` field, which llama.cpp routes through the chat template. The option names the request format, so hosted servers that speak it, such as DeepSeek's API (whose thinking mode needs the reasoning sent back), use it too. See the [llama.cpp guide](/getting-started/quick-start/connect-a-provider/starting-with-llama-cpp) and [reasoning models](/features/chat-conversations/chat-features/reasoning-models). |
724724
| **LM Studio** | Unlocks the same [model management panel](#managing-local-models-from-open-webui), loaded markers and model details, minus deleting models and minus the **Eject** button. |
725725
| **LiteLLM** | Requests arriving at Open WebUI's own [Anthropic Messages endpoint](/reference/api-endpoints#anthropic-messages-api) are forwarded to LiteLLM as-is instead of being converted to Chat Completions and back. Nothing changes for chats started inside Open WebUI. |
726726

34.9 KB
Loading
88.2 KB
Loading

0 commit comments

Comments
 (0)