AnythingLLM is not a model itself — it is a bridge connecting you to LLM providers, whether local like Ollama or cloud-based like OpenAI or Anthropic. The local routes keep everything on your computer, but they need hardware strong enough to run a model. When your computer cannot run the model you need, the cloud route trades privacy for capability: the same workspaces, the same documents, but the answers come from a provider’s servers. This guide covers switching a workspace to a cloud provider; the Ollama provider and the first offline chat are different guides.
Pick the cloud provider and paste its key
Open Settings, then AI Providers, then LLM, and pick your provider. A complete guide to AnythingLLM describes the two main cloud options:
| Provider | What you need | What to know first |
|---|---|---|
| OpenAI | An API key from platform.openai.com | Choose a model such as GPT-4o or GPT-4o-mini; your account needs billing set up, or it will not work |
| Anthropic | An API key from console.anthropic.com | All Claude models work for chat, but Anthropic has no embedding models, so you still need a separate embedder such as Ollama’s nomic-embed-text |
A hosting template for AnythingLLM confirms the same path: open Settings, AI Providers, LLM, pick your provider and paste its key. Save the setting, then open a workspace and ask a question — for a practice check, “The lighthouse keeper is named Mara. When does she check the lamp?” — and confirm the reply says noon.
Check the workspace is really using the cloud model
| Check | What you should see | If you do not see it |
|---|---|---|
| Provider | Settings, AI Providers, LLM shows OpenAI or Anthropic, with your key saved | The provider still reads Ollama or LM Studio — pick the cloud provider and save again |
| Model | The workspace uses the cloud model you chose, such as GPT-4o-mini | You can pick models per workspace, so check the model for this workspace, not just the system default |
| Reply | A reply saying noon, from the cloud model | No reply and no clear error — check the provider account has billing set up, as the guide warns |
| Embedder | Document search still works, on the embedder you already had | With Anthropic, document embedding needs a separate embedder — it has no embedding models of its own |
Expected result. We checked a complete AnythingLLM guide for the OpenAI and Anthropic provider steps, the billing warning, and the Anthropic embedder note, and a hosting template for the same Settings path. We did not run AnythingLLM.
Limits
This is the one route in this series where your words leave your computer: a cloud provider receives your messages and any workspace documents the chat retrieves, and charges your provider account for the use — AnythingLLM itself ships with no LLM key bundled, and you supply your own. One workspace can use a local Ollama model for sensitive material while another uses GPT-4o through OpenAI, so you do not have to put everything on the cloud at once; the guide notes that per-workspace choice explicitly. The API key is stored in your AnythingLLM instance, so keep the instance itself private. We did not run AnythingLLM, so no reply here is a recorded result.
Sources
- AnythingLLM complete guide (third-party) — AnythingLLM is a bridge to LLM providers, local like Ollama or cloud-based like OpenAI or Anthropic, supports Ollama, LM Studio, OpenAI, Anthropic, Azure OpenAI, Google Gemini, AWS Bedrock, Groq, and DeepSeek, pick OpenAI as LLM provider and enter a key from platform.openai.com and choose GPT-4o or GPT-4o-mini, billing must be set up, Anthropic key from console.anthropic.com with all Claude models for chat but no embedding models, pick models per workspace
- AnythingLLM hosting template (third-party) — open Settings, AI Providers, LLM, pick your provider and paste its key, switch between 30+ LLM providers or your own Ollama server
