Using Ace Data Cloud in AnythingLLM
AnythingLLM is an open-source client positioned as “documents → private ChatGPT.” Its core concept is the Workspace—each Workspace is an independently isolated group of documents, users, and Agent tools. It is designed specifically for document conversations and is available as both a desktop app and a Docker deployment. Under LLM Provider, it includes OpenAI (Generic), which accepts a custom Base URL, allowing the conversation model to point directly to Ace Data Cloud. This article describes the configuration process.
¶ Application Process
To connect Ace Data Cloud to AnythingLLM, 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 applying for the first time, you will receive free credits to try Ace Data Cloud's model services.
¶ Download AnythingLLM
For personal use, you can download the desktop version. The vector database (LanceDB) runs locally, document searches are entirely offline, and a network connection is used only when calling the model. For multi-user team scenarios, use a Docker deployment.
¶ Configure the Conversation Model
Launch AnythingLLM and go to Settings → LLM Preference. Select OpenAI (Generic) as the Provider (do not select the regular OpenAI option, which points to api.openai.com and does not have a custom Base URL). See the official documentation: OpenAI (Generic) LLM Provider.
| Field | Value | Description |
|---|---|---|
| Base URL | https://api.acedata.cloud/v1 |
Must end in /v1 |
| API Key | Your Ace Data Cloud Token | The Token copied from the console |
| Selected Model | Current model ID | Prefer the list automatically loaded from /models; if none is returned, query using the method above and enter it manually |
| Model context window | Enter according to the selected model | Read the context limit from the current model catalog; do not copy the value from another model |

Refer to the current model catalog for model capabilities and context limits.
Note the path rules for the Base URL:
| 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) |
https://api.acedata.cloud |
https://api.acedata.cloud/chat/completions |
404 (missing /v1) |
¶ Configure the Embedding Model
AnythingLLM is built around RAG and requires an embedding model to vectorize documents. Its Embedding Preference and LLM Preference are two independent sets of configurations—see the Embedder configuration overview. Its built-in AnythingLLM Embedder (Built-in / Native) runs directly on your local machine, works out of the box with zero configuration, and is the default and recommended choice:
Go to Settings → Embedding Preference and leave the Provider set to the default AnythingLLM Embedder; no key is required. It vectorizes documents locally, and both the original text and vectors are stored in the local LanceDB, without being sent to the cloud.
AnythingLLM's Embedder options (cloud: OpenAI / Azure OpenAI / Cohere; local: Built-in, LM Studio, LocalAI, Ollama) each use their own fixed integration method. The cloud-based OpenAI embedding points to
api.openai.comand does not support a custom Base URL; if you want to use a custom endpoint, you can use the Generic OpenAI Embedder (which also has a Base URL field and can point to Ace Data Cloud'stext-embedding-3-large) or the local LocalAI Embedder. In this article, the conversation model uses Ace Data Cloud, while embeddings use AnythingLLM's built-in local Embedder; the two do not affect each other.
¶ Choose a Model
The model catalog is continuously 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 AnythingLLM 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: Workspaces and Document Conversations
After creating a Workspace, upload documents such as PDF / Word / Markdown files. AnythingLLM will split them into paragraphs, generate vectors using the local Embedder, and store them in the local LanceDB. During a conversation, it first retrieves relevant excerpts, then sends the excerpts together with your question to the conversation model (Ace Data Cloud) for an answer, and cites the sources below the answer. At the top of each Workspace, you can switch between Query (answers based only on documents) and Chat (incorporates general knowledge) modes. For serious use cases, Query mode is recommended to avoid hallucinations. For Docker deployments, environment variables such as GENERIC_OPEN_AI_BASE_PATH, GENERIC_OPEN_AI_API_KEY, and GENERIC_OPEN_AI_MODEL_PREF can be used to preset the same conversation model integration and enable multi-user mode.
¶ Frequently Asked Questions
¶ 404 / connection fail
The Base URL is usually set to .../openai/v1 or is missing /v1. Change it to https://api.acedata.cloud/v1.
¶ Unable to converse after uploading documents
Please confirm that an available Embedder is selected under Settings → Embedding Preference (the default AnythingLLM Embedder can run locally without additional configuration), and re-upload the documents to generate vectors.
¶ 401 Unauthorized
Please confirm that the token pasted into the API Key field is an Ace Data Cloud token (without the Bearer prefix or extra spaces), and that the associated application has sufficient balance.
¶ Are local documents uploaded to the cloud
No. The original document text is stored in the local LanceDB, and only the retrieved matching snippets and your question are sent to the model.
