Skip to main content
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 be connected to Ace Data Cloud. This article introduces the configuration process.

Application Process

To connect Ace Data Cloud in NextChat, first go to the Ace Data Cloud Console, obtain your API Token, and keep it for later use. Get Ace Data Cloud API Key If you have not logged in or registered yet, you will be automatically redirected to the login page to register and log in. After logging in or registering, you will automatically return to the current page. Free credits are provided upon your first application, allowing you to try Ace Data Cloud’s model services for free.

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

Start NextChat and go to Settings → Model Provider: NextChat Ace Data Cloud Configuration Screen NextChat automatically appends /v1/chat/completions after the API address, so you only need to enter the root domain: In the “Custom Model Names” box, enter models 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:

Select a Model

The model catalog is continuously updated. Prioritize using the model list automatically loaded by the client; when manual entry is needed, first request GET https://api.acedata.cloud/v1/models to obtain the current model IDs, then select according to the context, image, and tool-calling capabilities supported by the client.

Verify the Integration

If you are not sure whether the issue is with NextChat or the network, you can first use curl to directly verify the endpoint (replace {token} with your Token):
Returning an OpenAI-compatible chat.completion object indicates that both the Token and endpoint are ready; if HTTP 403 used_up is returned, it means the Token is valid but the balance is insufficient. You can recharge in the console.

Advanced: One-Click Deployment to Your Own Domain

NextChat supports deploying an AI website of your own. Taking Docker as an example (replace {token} with your Token):
When deploying with 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 convenient to track usage by person. For complete descriptions of the above environment variables (BASE_URL defaults to https://api.openai.com, and the +/-/=/-all/+all syntax of CUSTOM_MODELS), please refer to the official NextChat README.

Frequently Asked Questions

404 Not Found Is Displayed

Usually, the API address was entered as .../openai or .../openai/v1. Change it to https://api.acedata.cloud and let NextChat append /v1/chat/completions itself.

The Added Model Does Not Appear in the Model Dropdown

Check the CUSTOM_MODELS format: every model must have a + before it; if you used -all, make sure to add back the required models with + afterward.

401 Unauthorized Is Displayed

Please confirm that the API Key contains the Ace Data Cloud Token (without the Bearer prefix and without extra spaces), and that the balance of the associated application is sufficient.

Learn More