To install AnythingLLM, pull the official Docker image mintplexlabs/anythingllm and run it on port 3001 with a storage folder mounted from your host machine. Then open http://localhost:3001, finish the first setup, create a workspace, and upload your first document. AnythingLLM is free under the MIT licence. It includes a built-in vector database, so you do not need a separate search server for a first install.
Your business answers sit in PDFs, invoices, policies, and old proposals. You still open five files to answer one customer question.
AnythingLLM fixes that search problem. This guide shows how to install AnythingLLM to chat with business documents with Docker, create your first workspace, upload documents, connect a local or cloud model, secure the instance, back it up, update it, and fix the errors that stop most first installs.
Quick Answer
To install AnythingLLM, pull the official Docker image mintplexlabs/anythingllm and run it on port 3001 with a storage folder mounted from your host machine. Then open http://localhost:3001, finish the first setup, create a workspace, and upload your first document. AnythingLLM is free under the MIT licence. It includes a built-in vector database, so you do not need a separate search server for a first install.
In this article
- How we checked this guide
- What AnythingLLM replaces, and what it does not
- Docker or desktop: which route fits your business
- Requirements before you install AnythingLLM
- Step 1: install AnythingLLM with Docker
- Step 2: finish setup and create your first workspace
- Step 3: upload documents and ask your first question
- Step 4: connect a local model or a cloud provider
- First-run security steps you must not skip
- Make AnythingLLM useful for real work
- Backup and update routine
- Common errors and fixes
- Tips and tricks that save time
- The real cost maths: AnythingLLM versus ChatGPT Plus
- When not to self-host AnythingLLM
- Pros and cons
- Our verdict
- FAQ
- Strategic Pivot: price the whole stack before you switch
- Sources
How we checked this guide
We checked the install commands, requirements, storage setup, and error fixes in the official AnythingLLM Docker guide on GitHub. We checked the licence, features, supported providers, and telemetry controls in the official AnythingLLM GitHub repository. We checked the documentation home on the official AnythingLLM docs site. The paid comparison uses OpenAI’s official Help Center page. That page lists ChatGPT Plus at $20 a month, billed monthly. It also states that API usage is separate and billed independently.
What AnythingLLM replaces, and what it does not
AnythingLLM replaces the document-search layer, not your judgement. You upload business documents into a workspace. AnythingLLM embeds the text, stores it in a vector database, and lets a model answer questions with source citations from those files.
That makes it different from a plain chat screen. A chat screen answers from the model’s training. AnythingLLM answers from your documents first. For policies, price lists, manuals, and proposals, your documents are usually the safer source.
The official repository describes AnythingLLM as an all-in-one AI app. It supports document chat, agents, multi-user instances, and many local and cloud model providers. The Docker version adds multi-user support and permissioning. The desktop version targets Mac, Windows, and Linux for single-machine use.
AnythingLLM does not remove the model question. A model still generates every answer. That model can run locally, through the built-in engine, or at a cloud provider through an API key. Document quality also still matters. A scanned, messy, or outdated file produces messy answers.
Best for: a small-business owner, freelancer, or team lead who wants private document chat on a server they control, with workspaces, citations, and optional team accounts. Skip if: you want a hosted product with zero server care, or your documents live in a system that already answers questions well.
AnythingLLM sits in the middle of our local-AI series. Our guide to install Ollama on Ubuntu covers a local model runner. Our guide to install Open WebUI with Ollama covers a general chat front end. Our guide to install LocalAI as a self hosted OpenAI alternative covers a local API server. Our guides to install LibreChat self hosted AI chat, install LobeChat self hosted AI assistant, and install NextChat self hosted ChatGPT UI cover chat workspaces. Choose AnythingLLM when documents, not chat, are the centre of the job.

Docker or desktop: which route fits your business
Docker is the right first install for most business readers. The official Docker guide calls the Dockerized version the faster and more complete startup route. One container serves the app on port 3001. Your documents, vectors, and settings persist in a storage folder on the host machine.
Docker also unlocks the team features. The official repository marks multi-user support and permissioning as Docker-version features. The embeddable chat widget for a website is also a Docker-version feature. If staff will share workspaces, start with Docker.
The desktop route fits a solo test. The official repository offers AnythingLLM for desktop on Mac, Windows, and Linux. Desktop is the fastest way to learn workspaces and document chat on one computer. Move to Docker when other people need access.
Do not build from source for a first business install. The Docker guide labels the local source build as not recommended for casual use. Pull the official image instead. You get the same app with far fewer moving parts.
Requirements before you install AnythingLLM
You need Docker installed on the machine that will run AnythingLLM. The official Docker guide lists Docker, plus access to an LLM running locally or remotely. The image supports both amd64 and arm64 processors.
Plan memory before you plan documents. The Docker guide says cloud installs should aim for at least 2GB of RAM. Disk storage grows with your documents, vectors, and models. The guide recommends a minimum of 10GB. A document-heavy business should start higher.
You do not need a separate vector database for a first install. AnythingLLM uses a built-in vector database powered by LanceDB by default. It also embeds text on the instance by default. That keeps the first install to one container.
You do need a model plan. AnythingLLM can use its built-in local engine, a local provider such as Ollama, or a cloud provider through an API key. Decide that before setup. A workspace without a working model cannot answer questions.
Check the Docker version when local services matter. The guide requires Docker 18.03 or higher on Windows and Mac, and 20.10 or higher on Linux, for host.docker.internal to resolve. That name lets the container reach services running on your host machine.
Step 1: install AnythingLLM with Docker
Pull the official image first. The Docker guide gives one command:
docker pull mintplexlabs/anythingllm
Next, mount storage on the host machine. The guide stresses this step for a practical reason. Host-mounted storage lets you pull future updates without deleting your existing data. Your documents and settings survive container rebuilds.
On Linux or macOS, the guide creates a storage folder, creates an empty .env file inside it, and runs the container with port 3001 published. The run command mounts the storage folder to /app/server/storage. It also mounts the .env file to /app/server/.env. It sets STORAGE_DIR to /app/server/storage.
On Windows, the guide gives the same shape in PowerShell. It creates the storage folder under your Documents folder. It creates the .env file when missing. It then runs the container with the same port and mounts.
The container also runs with the SYS_ADMIN capability in the official command. Keep the official command shape for a first install. Change paths and ports only when you understand the effect.
After the container starts, open http://localhost:3001. The Docker guide states that your data and progress persist between container rebuilds and image pulls. If the page does not load, check that the container is running and that port 3001 is free.
A Docker Compose route also exists in the guide. Compose suits readers who prefer a file over a long run command. The Compose example sets the storage directory, a JWT secret placeholder, provider settings, and a named volume. Replace every placeholder value before you start the service.

Step 2: finish setup and create your first workspace
Open http://localhost:3001 and finish the first setup screens. AnythingLLM asks you to choose a model provider during onboarding. Pick the provider you planned in the requirements step. You can change providers later in Settings.
Create one workspace for one document job. A workspace is the container for a set of documents and their chats. Keep customer policies in one workspace. Keep supplier price lists in another. Mixed workspaces produce mixed answers.
Name the workspace after the job, not the tool. “Customer policies” tells staff what belongs there. “Test” tells nobody anything. Clear names also make citations easier to trust.
Set the workspace up before you invite anyone. Upload a small, clean document set first. Ask three questions with known answers. Check that the citations point to the right pages. Only then add the full document library.
If you run the Docker version for a team, plan accounts now. Multi-user support and permissioning are Docker-version features. Decide who can upload documents, who can only chat, and who administers the instance. Document access is business access.

Step 3: upload documents and ask your first question
Upload documents into the workspace. AnythingLLM supports multiple document types, including PDF, TXT, and DOCX. The chat interface supports drag-and-drop uploads and shows source citations with answers.
Start with documents that change slowly. Policies, manuals, price lists, and standard proposals make strong first tests. Their answers are easy to verify. Fast-changing files can wait until the workflow proves itself.
Ask questions the way staff ask them. “What is our refund window for damaged goods?” beats “Summarize this PDF.” A real question tests retrieval, the model, and the citation in one step. Check the cited source before you trust the answer.
Watch what happens with a question your documents cannot answer. A good document system should say the answer is missing. A confident invented answer is a warning sign. Tighten the document set, the workspace prompt, or the model choice when that happens.
Keep documents clean at the source. AnythingLLM embeds the text you give it. Scanned pages with broken text produce broken retrieval. Replace poor scans with clean files where you can. Remove outdated versions so old prices stop answering new questions.
Step 4: connect a local model or a cloud provider
AnythingLLM works with many providers. The official repository lists OpenAI, Anthropic, Google Gemini, Ollama, LM Studio, LocalAI, and many others. It also supports a built-in local LLM engine. That engine is off unless you turn it on.
The built-in engine suits a private first test. Setting ENABLE_BUILT_IN_LLM=true turns it on. On first boot, the container downloads the engine into your storage folder. You then pick and download a model from the model table. Models stay in your storage folder across container updates.
The built-in engine runs on CPU or GPU. The Docker guide states that it picks CUDA for NVIDIA GPUs and Vulkan for AMD and Intel GPUs. Without a GPU, models run on the CPU. Small models answer faster on weak hardware. Test answer quality with your real documents, not with demo questions.
A local provider such as Ollama suits readers who already run local models. The Docker guide gives one warning for this route. Inside Docker, localhost does not reach services on your host machine. Use host.docker.internal with the service port instead. On Linux, add the host-gateway flag the guide specifies, or use the bridge address the guide gives.
A cloud provider suits readers who need stronger models today. Add the provider API key in Settings. Remember the billing split. OpenAI states that API usage is separate from ChatGPT Plus and billed independently. Your documents stay in your instance. The model call still leaves the building.
Embeddings deserve one decision too. AnythingLLM embeds text on the instance by default with its native embedder. That keeps document text local during embedding. Cloud embedders exist, but a private install should keep the default unless you have a measured reason to change it.
First-run security steps you must not skip
Treat the instance like a filing cabinet with a chat window. Anyone with access can ask questions about your documents. Access control is therefore document control.
Finish accounts before you share the address. On the Docker version, use multi-user support and permissioning for staff. Give each person only the workspaces their job needs. Remove access when roles change.
Keep the first install on localhost while you test. Public access needs HTTPS, strong accounts, and updates. A document system exposed without those controls risks your files, not just your chat history.
Set secrets like secrets. The Compose example includes a JWT secret placeholder. Replace it with a long random value. Store provider API keys in the instance settings or environment, never in documents or screenshots.
Decide the telemetry question openly. AnythingLLM includes anonymous usage telemetry. The repository states that it tracks events such as installation type and document add or remove events, without document content. Set DISABLE_TELEMETRY to true in the server or Docker environment to opt out. You can also disable telemetry in the app under Privacy settings.
Review outbound connections with the same care. Disabling telemetry does not stop calls to a cloud model or embedder you configured. A private install means local models, local embeddings, and telemetry off. Anything else is a policy choice, so make it deliberately.
Make AnythingLLM useful for real work
Build workspaces around decisions. A sales workspace can hold price lists, discount rules, and delivery terms. A support workspace can hold manuals and warranty rules. Staff ask better questions when the document set matches the job.
Use citations as the trust check. AnythingLLM shows source citations with answers. Teach staff one rule: no citation, no customer promise. That single habit prevents most document-chat damage.
Refresh documents on a schedule. Price lists and policies change. Replace the file in the workspace when the business version changes. Then re-ask your three test questions. A stale workspace answers with stale confidence.
Test agents only after document chat works. AnythingLLM includes agents and a no-code agent builder. Agents add power and risk in equal measure. Prove plain document answers first. Add agent tools one at a time, with a named owner for each.
Measure the win in minutes. Pick one weekly question that used to take ten minutes of file hunting. Time it before and after the workspace. A measured saving justifies the server care. A vague feeling does not.
Backup and update routine
Back up the storage folder. Your documents, vectors, settings, and downloaded models live under the mounted storage path. Copy that folder on a schedule your business can survive. Test a restore before you need one.
Back up the .env file with the storage folder. It holds instance settings and secrets. Store the backup somewhere access-controlled. A backup with API keys is itself a secret.
Update by pulling the new image. The Docker guide states that host-mounted storage lets you pull future updates without deleting existing data. Pull mintplexlabs/anythingllm, recreate the container with the same mounts, and open the app again. Your data persists between rebuilds and pulls.
Test after every update. Open each key workspace. Ask your three known-answer questions. Check one citation. Updates that pass that test earn trust. Updates that fail it get rolled back while you investigate.
Watch disk growth monthly. Documents, vectors, and local models all consume storage. The guide recommends at least 10GB to start. A growing library needs a growing disk plan, not a surprise full disk.
Common errors and fixes
The app does not load at http://localhost:3001. Check that the container is running. Check that port 3001 is free on the host. Check that the storage folder exists and the .env file sits inside it. The official run command needs all three.
AnythingLLM cannot connect to Ollama or another local service. This is the most common Docker trap. Inside the container, localhost points at the container, not your host machine. Use host.docker.internal with the service port. On Linux, add the host-gateway flag from the guide, or use the bridge address 172.17.0.1 the guide gives.
The API fails or login breaks on a remote server. The Docker guide covers this case. When the reachable address is not localhost, the frontend API base must match the reachable address. Follow the guide’s frontend environment fix, then rebuild. Test login from the real address your team will use.
Permission errors appear after startup. The guide notes that the container user defaults to UID and GID 1000. A mismatch with your host user can cause permission issues on the storage folder. Align ownership on the host folder, then restart the container.
Answers ignore your documents. Check that the documents finished embedding in the workspace. Check that you asked inside the right workspace. Replace broken scans and outdated files. Then re-ask a known-answer question and read the citation.
The built-in engine runs slowly. Check whether the GPU is actually in use. The guide gives a health check that reports the loaded backend. NVIDIA should report CUDA. AMD and Intel should report Vulkan with GPU access. Without the device flags, models silently fall back to CPU.
Tips and tricks that save time
Start with ten documents, not ten thousand. A small clean set proves retrieval quality fast. Scale the library after the citations earn trust.
Keep one test question set per workspace. Three questions with known answers catch bad updates, bad uploads, and bad model swaps. Run the set after every change.
Separate public and private knowledge. Customer-facing answers and internal cost sheets belong in different workspaces. Permissioning works only when the boundaries exist first.
Prefer local embeddings for private installs. The native embedder keeps document text on the instance. Change embedders only with a measured quality reason.
Name files like a librarian. Clear file names make citations readable. “Price list March 2026” beats “final-v2-real.pdf” when staff check a source under time pressure.
The real cost maths: AnythingLLM versus ChatGPT Plus
AnythingLLM software is free under the MIT licence. ChatGPT Plus costs $20 a month, billed monthly, on OpenAI’s official Help Center page. That is $240 a year for one person. OpenAI does not offer annual billing for Plus.
Use a realistic solo scenario first. You already own a machine that can run Docker. You connect AnythingLLM to a local model, and your own tests show document answers replace one ChatGPT Plus subscription for routine policy and price questions.
| Choice | Software cost per year | What the number leaves out |
|---|---|---|
| AnythingLLM with a local model on a machine you already own | $0 | Electricity, hardware limits, update time, and model quality |
| One ChatGPT Plus subscription | $240 | Hosted model access and OpenAI’s service operation |
| Software saving | $240 | Only real if the document workflow replaces the paid work |
The maths is plain. One seat at $20 a month costs $240 a year. AnythingLLM software costs $0 in licence fees in that scenario. The solo software saving is $240 a year, before electricity, hardware wear, and your time.
The team maths is larger, and the condition is stricter. Five ChatGPT Plus seats cost $100 a month, which is $1,200 a year. AnythingLLM software still costs $0 in licence fees. The $1,200 saving is real only when your workspaces replace the work those five subscriptions were doing. Test the team workflow before you cancel anything.
The saving shrinks when cloud APIs enter the picture. OpenAI states that API usage is separate from ChatGPT Plus and billed independently. If your team still needs a hosted model through an API, AnythingLLM becomes the document layer and the API becomes the bill. That can still be the right choice. It is not a $240 or $1,200 saving until your usage proves it.
Hosting cost decides many cases. A rented server must meet the guide’s memory and disk guidance. Subtract your actual server quote from the saving. An owned machine that already runs all day changes the answer again.
The licence needs plain words. AnythingLLM uses the MIT licence. It permits use, copying, modification, merging, publishing, distribution, sublicensing, and selling, free of charge. Keep the copyright and permission notice in copies. The software comes as is, without warranty. This guide is not legal advice.

When not to self-host AnythingLLM
Do not self-host AnythingLLM when nobody will maintain it. Updates, backups, account changes, and document refreshes need an owner. A hosted subscription is the better buy when the honest answer is “no one will look after the server.”
Do not choose AnythingLLM when your documents are chaos. Duplicate versions, broken scans, and unnamed files produce unreliable answers. Fix the document library first. The tool rewards order and exposes disorder.
Do not expose the instance to the internet as a casual experiment. Public access needs HTTPS, strong accounts, permissioning, and updates. Your documents are the asset at risk.
Do not skip the model test. A weak local model can retrieve the right page and still answer badly. Test real staff questions before customer, legal, medical, or financial work depends on the answers. A private wrong answer is still wrong.
Do not buy hardware on hope. Test with the built-in engine or a local provider on a machine you own. Measure answer quality and speed with your documents. Spend only after the test passes.
Pros and cons
Pros: Free under the MIT licence, including commercial use; built-in LanceDB vector database, so no separate search server for a first install; workspaces with drag-and-drop uploads and source citations; Docker version adds multi-user support and permissioning; built-in local engine plus many local and cloud providers; telemetry can be disabled in the environment or in Privacy settings.
Cons: A model is still required, and local model quality decides answer quality; document quality decides retrieval quality, so messy files give messy answers; public access needs HTTPS, accounts, and maintenance; cloud API usage bills separately from subscriptions; storage grows with documents, vectors, and local models; agents add power that needs ownership and testing.
Our verdict
Install AnythingLLM if your business answers live in documents and you want those answers private, cited, and under your control. Start with Docker on localhost, one clean workspace, and one model you have tested. Add staff accounts and the full library only after your known-answer questions pass.
FAQ
Is AnythingLLM free for business use?
Yes. AnythingLLM uses the MIT licence, which permits commercial use, modification, distribution, and selling, free of charge. Keep the copyright and permission notice in copies. Server costs and any cloud API usage still bill separately.
Does AnythingLLM need a GPU?
No. AnythingLLM runs with cloud providers, local providers, or its built-in engine on CPU. The Docker guide aims for at least 2GB of RAM and 10GB of disk on cloud installs. A GPU helps local models answer faster, but it is not required to install or test.
How do I install AnythingLLM with Docker?
Pull the official image with docker pull mintplexlabs/anythingllm. Run it with port 3001 published, a host storage folder mounted to /app/server/storage, and STORAGE_DIR set to that path. Open http://localhost:3001 and finish setup.
Why can AnythingLLM not connect to Ollama?
Inside Docker, localhost points at the container, not your host machine. Use host.docker.internal with the Ollama port in the connection URL. On Linux, add the host-gateway flag from the official guide, or use the bridge address the guide gives.
Is AnythingLLM private by default?
It can be. Documents and vectors stay in your storage folder, embeddings run on the instance by default, and local models keep answers on your hardware. Disable telemetry with DISABLE_TELEMETRY=true for a stricter setup. Cloud providers still receive the model calls you send them.
Strategic Pivot: price the whole stack before you switch
AnythingLLM can remove repeated document hunting from a team workflow. It does not price the rest of your AI stack, and the rest is where small businesses quietly overspend. Before you cancel or renew any plan, put the tools, seats, and monthly prices you actually use into our AI Cost Calculator and look at the yearly total.
Then decide with the number in front of you. Move steady document questions to AnythingLLM when your own test proves the workflow works. Keep the hosted plan that earns its cost. Cancel the line that survives only because nobody added it up.
Sources
- AnythingLLM official GitHub repository
- AnythingLLM official Docker guide
- AnythingLLM official documentation
- OpenAI Help Center: What is ChatGPT Plus?
Price note — updated 1 December 2026: Prices in this post were checked on 1 December 2026. When you are reading this, the price may be lower or higher — always check the official pricing page before you buy.
Pros
- Free under the MIT licence, including commercial use
- Built-in LanceDB vector database, so no separate search server for a first install
- Workspaces with drag-and-drop uploads and source citations
- Docker version adds multi-user support and permissioning
- Built-in local engine plus many local and cloud providers
- Telemetry can be disabled in the environment or in Privacy settings.
Cons
- A model is still required, and local model quality decides answer quality
- Document quality decides retrieval quality, so messy files give messy answers
- Public access needs HTTPS, accounts, and maintenance
- Cloud API usage bills separately from subscriptions
- Storage grows with documents, vectors, and local models
- Agents add power that needs ownership and testing.
Install AnythingLLM if your business answers live in documents and you want those answers private, cited, and under your control. Start with Docker on localhost, one clean workspace, and one model you have tested. Add staff accounts and the full library only after your known-answer questions pass.
