Using Ace Data Cloud with Open WebUI
Open WebUI (formerly Ollama WebUI) is an open-source AI client that supports multiple users, knowledge bases, RAG, and private deployment. It supports custom OpenAI-compatible endpoints and can therefore connect to Ace Data Cloud. This article describes the configuration process.
¶ Application Process
To connect Ace Data Cloud to Open WebUI, first go to the Ace Data Cloud console and obtain your API Token for later use.

If you have not logged in or registered, you will be automatically redirected to the login page to register and log in. After registering and logging in, you will automatically return to the current page.
Free credits are provided when you first apply, allowing you to try Ace Data Cloud's model services for free.
¶ Deploy and Configure Ace Data Cloud
Open WebUI connects to OpenAI-compatible endpoints through environment variables and can be deployed with a single Docker command (replace {token} with your Token):
docker run -d \
--name open-webui \
-p 3000:8080 \
-e WEBUI_SECRET_KEY=$(openssl rand -base64 32) \
-e OPENAI_API_BASE_URL=https://api.acedata.cloud/v1 \
-e OPENAI_API_KEY={token} \
-v open-webui:/app/backend/data \
ghcr.io/open-webui/open-webui:main
| Environment variable | Purpose |
|---|---|
OPENAI_API_BASE_URL |
Ace Data Cloud endpoint, must end with /v1 |
OPENAI_API_KEY |
Your Token |
WEBUI_SECRET_KEY |
Session encryption key, automatically generated |
-v open-webui:/app/backend/data |
Persists conversation / user data |
Open http://your-server-IP:3000; the first account to register automatically becomes an administrator. Note the Base URL path rules:
| OPENAI_API_BASE_URL | Actual request | Result |
|---|---|---|
https://api.acedata.cloud/v1 |
https://api.acedata.cloud/v1/chat/completions |
Correct |
https://api.acedata.cloud/openai |
https://api.acedata.cloud/openai/chat/completions |
Also works |
https://api.acedata.cloud/openai/v1 |
https://api.acedata.cloud/openai/v1/chat/completions |
404 (no /v1 under /openai) |
After logging in, go to Admin Panel → Settings → Connections and click “Verify Connection” to verify; under Settings → Models, you can filter and pin frequently used models.
In addition to using environment variables, Open WebUI also supports adding connections directly in the interface: go to Admin Settings → Connections, click ➕, and enter the URL (
https://api.acedata.cloud/v1) and API Key. Open WebUI will automatically call/modelsto retrieve the model list. See the official documentation Starting With OpenAI-Compatible Servers for details.

MODEL_IDis only used to demonstrate the optional allow list; when left blank, all models returned by/modelswill be displayed.
¶ Select a Model
The model catalog is continuously updated. Prefer the model list automatically loaded by the client; when you need to enter one manually, first request GET https://api.acedata.cloud/v1/models to obtain the current model IDs, then choose based on the client's supported context, image, and tool-calling capabilities.
¶ Verify the Connection
If you are unsure whether the problem is with Open WebUI or the network, you can first use curl to verify the endpoint directly (replace {token} with your Token):
curl -X POST 'https://api.acedata.cloud/v1/chat/completions' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"model": "MODEL_ID",
"messages": [{"role": "user", "content": "ping"}]
}'
A returned OpenAI-compatible chat.completion object indicates that both the Token and endpoint are ready; if HTTP 403 used_up is returned, the Token is valid but the balance is insufficient, and you can click the “Recharge” button.
¶ Advanced: Knowledge Bases and Multiple Users
Open WebUI's knowledge base (RAG) uses ChromaDB to store vectors by default, and the embedding model can be set to text-embedding-3-large (through Ace Data Cloud). The original documents remain only on your server, and only matching segments are sent to the model. You can manage user roles (Pending / User / Admin) under Admin Panel → Users; it is recommended to set “Default User Role” to pending, so new users must be approved before they can use it, preventing outsiders from freely registering and consuming credits. If using nginx as a reverse proxy, add proxy_buffering off; and client_max_body_size 100M;.
¶ Frequently Asked Questions
¶ Connection error / 404 message
Usually, OPENAI_API_BASE_URL has been set to .../openai/v1 or is missing /v1. Change it to https://api.acedata.cloud/v1.
¶ Unable to chat after uploading documents
In the Admin Panel's RAG settings, select text-embedding-3-large (OpenAI provider) as the embedding model.
¶ Data lost after container restart
You need to mount the data volume -v open-webui:/app/backend/data at startup.
