Using Ace Data Cloud with NextChat
NextChat (formerly ChatGPT-Next-Web) is an open-source AI client that can be deployed on Vercel, Cloudflare, or Docker. 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 NextChat, first go to the Ace Data Cloud Console and obtain your API Token for later use.

If you have not yet logged in or registered, you will be automatically redirected to the login page to register and log in. After logging in or registering, you will be automatically returned to the current page.
When you apply for the first time, you will receive free credits to try Ace Data Cloud's model services.
¶ Download NextChat
You can use the desktop version (download .exe / .dmg / AppImage from the Releases page), the online Web version, or deploy it yourself to Vercel / Cloudflare / Docker (see the advanced section below).
¶ Configure Ace Data Cloud
Launch NextChat and go to Settings → Model Service:
| Field | Value | Description |
|---|---|---|
| Model provider | OpenAI |
Use the OpenAI-compatible protocol |
| OpenAI API address | https://api.acedata.cloud |
Enter only the root domain, without /openai or /v1 |
| API Key | Your Ace Data Cloud Token | Token copied from the console |

NextChat automatically appends /v1/chat/completions to the API address, so you only need to enter the root domain:
| API address | Actual request | Result |
|---|---|---|
https://api.acedata.cloud |
https://api.acedata.cloud/v1/chat/completions |
Correct |
https://api.acedata.cloud/openai |
https://api.acedata.cloud/openai/v1/chat/completions |
404 (no /v1 under /openai) |
https://api.acedata.cloud/openai/v1 |
https://api.acedata.cloud/openai/v1/v1/chat/completions |
404 |
Enter models in the “Custom Model Name” box, separated by English commas. NextChat supports special syntax: +model name to add, -model name to hide, model name=display name to customize the display name, and -all to hide everything first. The cleanest recommended format is:
-all,+MODEL_ID=显示名称
¶ Select a Model
The model catalog is continually updated. Prefer the model list automatically loaded by the client; when you need to enter a model 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 Connection
If you are unsure whether the problem is with NextChat 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"}]
}'
If an OpenAI-compatible chat.completion object is returned, 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: One-Click Deployment to Your Own Domain
NextChat supports deploying your own AI website. Using Docker as an example (replace {token} with your Token):
docker run -d \
--name nextchat \
-p 3000:3000 \
-e OPENAI_API_KEY={token} \
-e BASE_URL=https://api.acedata.cloud \
-e CODE=your-password \
-e CUSTOM_MODELS="-all,+MODEL_ID=显示名称" \
yidadaa/chatgpt-next-web
When deploying to Vercel / Cloudflare, configure the same OPENAI_API_KEY, BASE_URL, CODE, and CUSTOM_MODELS in the project's environment variables. CODE supports multiple access passwords separated by English commas, making it easy to track usage by person. For the complete descriptions of the environment variables above (the default BASE_URL is https://api.openai.com and the CUSTOM_MODELS syntax is +/-/=/-all/+all), refer to the official NextChat README.
¶ FAQ
¶ 404 Not Found
The API address is usually set to .../openai or .../openai/v1. Change it to https://api.acedata.cloud and let NextChat append /v1/chat/completions itself.
¶ The Added Model Is Missing from the Model Dropdown
Check the CUSTOM_MODELS format; each model must have a + before it. If you used -all, make sure to add the models you need back afterward using +.
¶ 401 Unauthorized
Please confirm that the API Key field contains the Ace Data Cloud Token (without the Bearer prefix or extra spaces), and that the associated application has sufficient balance.