Skip to main content

๐ŸŒ Starting with OpenAI-Compatible Servers

Overviewโ€‹

Open WebUI isn't just for OpenAI/Ollama/Llama.cppโ€”you can connect any server that implements the OpenAI-compatible API, running locally or remotely. This is perfect if you want to run different language models, or if you already have a favorite backend or ecosystem. This guide will show you how to:

  • Set up an OpenAI-compatible server (with a few popular options)
  • Connect it to Open WebUI
  • Start chatting right away

Step 1: Choose an OpenAI-Compatible Serverโ€‹

There are many servers and tools that expose an OpenAI-compatible API. Here are some of the most popular:

Pick whichever suits your workflow!


๐Ÿ‹ Get Started with Lemonade (ONNX TurnkeyML)โ€‹

Lemonade is a plug-and-play ONNX-based OpenAI-compatible server. Hereโ€™s how to try it on Windows:

  1. Download the latest .exe

  2. Run Lemonade_Server_Installer.exe

  3. Install and download a model using Lemonadeโ€™s installer

  4. Once running, your API endpoint will be:

    http://localhost:8000/api/v0

Lemonade Server

See their docs for details.


Step 2: Connect Your Server to Open WebUIโ€‹

  1. Open Open WebUI in your browser.

  2. Go to โš™๏ธ Admin Settings โ†’ Connections โ†’ OpenAI Connections.

  3. Click โž• Add Connection.

    • URL: Use your serverโ€™s API endpoint (for example, http://localhost:11434/v1 for Ollama, or your own Llama.cpp serverโ€™s address).
    • API Key: Leave blank unless required.
  4. Click Save.

Tip: If running Open WebUI in Docker and your model server on your host machine, use http://host.docker.internal:<your-port>/v1.

For Lemonade: When adding Lemonade, use http://localhost:8000/api/v0 as the URL.โ€‹

Lemonade Connection


Step 3: Start Chatting!โ€‹

Select your connected serverโ€™s model in the chat menu and get started!

Thatโ€™s it! Whether you choose Llama.cpp, Ollama, LM Studio, or Lemonade, you can easily experiment and manage multiple model serversโ€”all in Open WebUI.


๐Ÿš€ Enjoy building your perfect local AI setup!