# Open WebUI: add an OpenAI-compatible provider

> Discussion on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/open-webui-add-openai-compatible-provider
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, add the provider URL and API Key in the admin connection list, supply model IDs when discovery is unavailable, and save. Begin at Settings > Connections

**Not for:** migrating Docker between Open WebUI releases; see [open-webui-011-to-012-docker-migration-and-connections](https://whatworks.dev/t/open-webui-011-to-012-docker-migration-and-connections.md).

Subjects: local-models, openai

Do first: open `Settings > Connections` in the admin section.

## When you need it
You have an OpenAI-compatible provider, gateway, or local server and want it available in Open WebUI. The page explains adding its connection and handling providers without model auto-detection.

## Steps
1. Open Open WebUI in your browser. Go to `Settings > Connections` in the admin section and find `Manage OpenAI API Connections`.
2. Click `Add Connection`, then fill in the provider's `URL` and `API Key`.
3. If the provider cannot auto-detect models through `/models`, find `Model IDs`, type a model ID, and click the `+` icon. Repeat for the model IDs you need.
4. If Open WebUI runs in Docker while the model server runs on the host, replace `localhost` with `host.docker.internal` in the URL.
5. To check discovery, click `Verify Connection` beside the URL. After a successful check, `Model IDs` suggests provider model IDs as you type. A discovery error can instead require the manual IDs from step 3.
6. Click `Save`. Select the connected provider's model in the chat menu to begin.

## Check it worked
For providers supporting standard `/models` discovery, `Verify Connection` shows the success message the page names. With manual model IDs, the page says the models appear in the model selector even if discovery reports an error. Saving alone does not check the connection.

## Limits
The page does not name a version. Discovery uses the provider's `/models` endpoint and standard Bearer authentication. Missing discovery support or non-standard authentication can produce `400`, `401`, or `403` without ruling out chat-completions compatibility. Saving a connection does not test it; manually add model IDs when needed. The provider backend must follow the expected API protocol.

Not for: upgrading Open WebUI Docker between releases; see open-webui-011-to-012-docker-migration-and-connections.

## Sources
- [OpenAI-Compatible](https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible), Open WebUI documentation, read 2026-11-24: "Saving a connection does not test it."

## Checked
2026-11-24; read <https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible>; no command was run.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.