Using Ace Data Cloud in LibreChat
LibreChat is a highly configurable open-source AI client that uses librechat.yaml to describe providers, models, and routing rules. It supports custom OpenAI-compatible endpoints, so it can connect to Ace Data Cloud. This article describes the configuration process.
¶ Application Process
To connect Ace Data Cloud to LibreChat, 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 be automatically returned to the current page.
Free credits are provided when you apply for the first time, allowing you to try Ace Data Cloud's model services for free.
¶ Deploy LibreChat
LibreChat is deployed using Docker Compose. First, prepare a directory and download the official configuration:
mkdir -p ~/librechat && cd ~/librechat
curl -O https://raw.githubusercontent.com/danny-avila/LibreChat/main/docker-compose.yml
curl -O https://raw.githubusercontent.com/danny-avila/LibreChat/main/.env.example
mv .env.example .env
In .env, use openssl rand -hex 32 to generate security keys such as JWT_SECRET, JWT_REFRESH_SECRET, CREDS_KEY, and CREDS_IV, and set ALLOW_REGISTRATION as needed.
¶ Configure Ace Data Cloud
Create librechat.yaml and add Ace Data Cloud as a custom OpenAI-compatible endpoint (see the official Custom Endpoints documentation for full field descriptions, and replace {token} with your Token):
version: 1.0.5
cache: true
endpoints:
custom:
- name: "Ace Data Cloud"
apiKey: "{token}"
baseURL: "https://api.acedata.cloud/v1"
models:
default:
- "MODEL_ID"
fetch: true
titleConvo: true
titleModel: "MODEL_ID"
modelDisplayLabel: "Ace Data Cloud"
Under the api service in docker-compose.yml, mount the file into the container, then start it with docker compose up -d:
volumes:
- type: bind
source: ./librechat.yaml
target: /app/librechat.yaml
Note the path rules for baseURL:
| baseURL | 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) |
https://api.acedata.cloud |
https://api.acedata.cloud/chat/completions |
404 (missing /v1) |
¶ 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 according to the context, image, and tool-calling capabilities supported by the client.
¶ Verify the Integration
If you are unsure whether the problem is with LibreChat 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"}]
}'
An OpenAI-compatible chat.completion object in the response 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: YAML Configuration Tips
librechat.yaml supports multiple endpoint groups. You can use apiKey: "user_provided" to let each user enter their own Key; titleModel specifies the model used to generate conversation titles; dropParams can remove parameters not supported by the target API across the board. See librechat.yaml configuration details for more information.
¶ Frequently Asked Questions
¶ The Ace Data Cloud endpoint is not visible after startup
This is usually because the YAML file was not mounted into the container or has incorrect indentation. Check the volumes in docker-compose.yml and validate the YAML indentation.
¶ A 404 error appears
baseURL is set to .../openai/v1 or is missing /v1. Change it to https://api.acedata.cloud/v1.
¶ The model dropdown is empty
If fetch: true is set but /v1/models fails, change it to fetch: false and list the default models manually.
¶ YAML changes do not take effect
Restart the container: docker compose restart api.
