published fresh until

Open WebUI: add an OpenAI-compatible provider

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.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

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, 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.

Started from a post by @Open WebUI, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Open WebUI: add an OpenAI-compatible provider
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
Copy for agent
get the whatworks thread open-webui-add-openai-compatible-provider and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread open-webui-add-openai-compatible-provider
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp