π 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:
- Llama.cpp: Extremely efficient, runs on CPU and GPU
- Ollama: Super user-friendly and cross-platform
- LM Studio: Rich desktop app for Windows/Mac/Linux
- Lemonade: Fast ONNX-based backend with NPU/iGPU acceleration
Pick whichever suits your workflow!
π Get Started with Lemonadeβ
Lemonade is a plug-and-play ONNX-based OpenAI-compatible server. Hereβs how to try it on Windows:
-
Run
Lemonade_Server_Installer.exe
-
Install and download a model using Lemonadeβs installer
-
Once running, your API endpoint will be:
http://localhost:8000/api/v0
See their docs for details.
Step 2: Connect Your Server to Open WebUIβ
-
Open Open WebUI in your browser.
-
Go to βοΈ Admin Settings β Connections β OpenAI Connections.
-
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.
- URL: Use your serverβs API endpoint (for example,
-
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.β
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!