Home / Servers / AnythingLLM VPS

Self-host AnythingLLM on a no-KYC VPS

AnythingLLM lets you chat with your PDFs, documents, websites and code, and each answer shows the passages it came from. Run it on a server you sign up for with a generated credential, with the model on the same server or behind an API.

Deploy an AnythingLLM server from $9.99 a month4 GB runs it with a hosted model
  • Docker, port 3001
  • Ollama or a hosted API
  • No email or ID

Pick the plan by where the model runs

AnythingLLM itself is light. A local model is what needs RAM, because Ollama loads the whole model into memory.

SetupExample modelsPlanRAMPer monthWhat to expect
A hosted model through an API OpenAI, Anthropic, OpenRouter or Groq Blackbox Core 4 GB $9.99 AnythingLLM, LanceDB and the built-in embedder. The provider receives each prompt and the passages sent with it.
A local 3B to 8B model in Ollama llama3.2:3b, qwen3:8b, llama3.1:8b Blackbox Plus 8 GB $19.99 Nothing leaves the server. An 8B model and AnythingLLM nearly fill 8 GB; a 3B model leaves room.
A local 8B to 14B model qwen3:14b, phi4, gemma3:12b Blackbox Max 16 GB $39.99 Better answers on long documents, at a slower pace.
A local 27B to 32B model gemma3:27b, qwen3:32b Blackbox Ultra 32 GB $79.99 The largest models that fit in RAM. Replies are slow on the CPU.

Model names are Ollama's default 4-bit tags. No plan has a GPU, so local models run on the CPU and the larger ones reply slowly.

Install AnythingLLM with Docker

The documented docker run with host networking, so the container can reach Ollama on the same server, and ufw letting only SSH and HTTPS in. Point a domain at the server first.

# Ubuntu 24.04 or Debian 12, as root
apt update && apt install -y curl zstd ufw caddy
curl -fsSL https://get.docker.com | sh

# Storage and settings. The container runs as uid 1000.
mkdir -p /opt/anythingllm && touch /opt/anythingllm/.env
chown -R 1000:1000 /opt/anythingllm

# Firewall first: only SSH and HTTPS get in, so port 3001
# is never open to the internet, even for a moment
ufw allow 22/tcp && ufw allow 80/tcp && ufw allow 443/tcp
ufw --force enable

# SYS_ADMIN lets the built-in browser scrape websites.
docker run -d --name anythingllm --restart unless-stopped \
  --network host \
  --cap-add SYS_ADMIN \
  -v /opt/anythingllm:/app/server/storage \
  -v /opt/anythingllm/.env:/app/server/.env \
  -e STORAGE_DIR="/app/server/storage" \
  -e DISABLE_TELEMETRY="true" \
  mintplexlabs/anythingllm

# Caddy serves HTTPS and proxies to port 3001
printf 'docs.example.com {\n  reverse_proxy 127.0.0.1:3001\n}\n' \
  > /etc/caddy/Caddyfile
systemctl reload caddy

# Optional: a local model. In AnythingLLM pick Ollama
# with the base URL http://127.0.0.1:11434
curl -fsSL https://ollama.com/install.sh | sh
ollama pull qwen3:8b

Check these on the first day

Defaults that matter more on a public server than on a laptop.

Password
Until onboarding sets a password or you turn on multi-user mode, whoever opens the page controls the instance. Finish setup as soon as the container is up.
Telemetry
AnythingLLM sends anonymous usage data by default. DISABLE_TELEMETRY="true" in the command above turns it off.
Port 3001
With host networking, ufw decides who can reach it. Allow only SSH and HTTPS, and let Caddy proxy to 127.0.0.1:3001.
Model provider
A hosted API receives every prompt and the document passages sent with it. Ollama on the same server keeps both on the machine.
Embedding
The built-in embedder runs on the CPU, so a large upload takes a while and keeps the vCPUs busy. Blackbox vCPUs are shared: embed a huge archive in batches rather than nonstop for days.

What AnythingLLM does

A retrieval-augmented generation (RAG) app in one Docker container, with the chat interface, vector database and embedder built in.

Your documents on Blackbox

AnythingLLM keeps your documents, their vectors and every chat in its storage folder, and works on them in memory. On Blackbox the CPU encrypts that memory, and the disk can be encrypted with a passphrase only you know.

MontrealAmsterdamNew York City (launch pre-order)
Deploy Blackbox from $9.99 a month
  • On Linux images the CPU encrypts the VM's memory (AMD SEV-SNP), so the host sees ciphertext.
  • With Ollama on the same server, the model reads your prompts and document passages inside that encrypted memory, and none of it leaves the server.
  • Optional full-disk encryption, unlocked over SSH at boot with a passphrase we never see.
  • No guest agent, so there is no channel for the host to run commands inside.
  • IPv4 plus a routed IPv6 /64, a 10 Gbps port, and 2 to 32 TB of transfer per 31 days.

How Blackbox works

Questions

How much VPS do I need?

With a hosted model behind an API, AnythingLLM fits Blackbox Core (2 vCPU, 4 GB); its own docs ask for 2 GB of RAM. Running the model on the same server with Ollama adds the model's size: Plus (8 GB) for 3B to 8B models, Max (16 GB) for up to 14B, and Ultra (32 GB) for 27B to 32B. No plan has a GPU, so local models run on the CPU. Ollama can also live on a separate server. The Ollama VPS page sizes models in more detail.

AnythingLLM vs Flowise?

AnythingLLM is a finished app: put documents in a workspace and chat with them. Flowise is a visual builder where you design your own chains and agents. Pick AnythingLLM to chat with your documents today, and Flowise when you need custom logic. The Flowise VPS page covers that setup.

Can I expose it to my team?

Yes. Turn on multi-user mode in the settings, create accounts with the admin, manager or default role, and choose who can use each workspace. Once multi-user mode is on, it cannot be switched back to single-user. Serve it over HTTPS with Caddy, as in the install steps on this page.

Does it work without the cloud?

Yes. Use Ollama (or the engine built into the Docker image, switched on with ENABLE_BUILT_IN_LLM=true) for the model, the built-in LanceDB for vectors and the built-in embedder, all on the same server, and set DISABLE_TELEMETRY to true. Your documents, vectors, prompts and answers then stay on the machine. Importing a website or a YouTube transcript still fetches it from the internet, and the built-in embedder downloads its small model on the first embed.

How big a corpus can it handle?

LanceDB keeps its vectors on disk, so disk space and embedding time usually run out before RAM does. Core has 50 GB of NVMe and Ultra has 400 GB. For very large collections, AnythingLLM can use an external vector database such as Qdrant, Milvus or PGVector.

Can I integrate with Slack/Discord?

Through the API. Create a key in the settings and call a workspace's chat endpoint from a Slack or Discord bot you run; the full reference is at /api/docs on your own instance. For a website, AnythingLLM has its own chat widget you can embed.

How do I back up workspaces?

Back up /opt/anythingllm, the folder mounted as storage. It holds the database, the documents, the vectors and the .env settings, so restoring it on a new server brings everything back. Copy it to another machine with restic or rsync; we don't sell snapshots.

Does Servury log my AnythingLLM traffic?

No. We keep no traffic logs and don't log your IP or activity. On Blackbox there is no guest agent and the CPU encrypts the server's memory. If you connect a hosted model provider, that provider receives your prompts and the document passages sent with them.

Guides on this topic

Related pages

Support

Questions before you buy? Ask here. You do not need an account: your first message creates one, and you get its credential to come back for our reply.