The private and local stack
For teams and individuals whose data cannot leave the building.
A complete private AI capability with nothing rented: a local model runtime serving a standard API, a team-grade chat interface with accounts and document Q&A on your own server, and a private research assistant that answers from your documents with citations. Every component is open source; the only meter running is your hardware.
The stack, step by step
- 01
Ollama
Run the models: open models served locally with two commands and a standard API.
Swap options- LM Studio when a GUI-first workflow suits better than a command line and always-on headless serving is not required See the comparison
- vLLM when concurrent users and production throughput outgrow a single-machine runner See the comparison
Ollama serves open models behind an always-on, OpenAI-compatible API; Open WebUI is the standard front end for exactly that backend, and the pairing is the default self-hosted stack. The engine gains multi-user accounts, roles and an admin panel, which is what turns one person's runtime into the team's.
- 02
Open WebUI
Give it to the team: self-hosted chat with accounts, controls and document Q&A on your infrastructure.
Swap options- Jan when the stack serves one person and a desktop app bundling engine, chat and a local API beats running a server
Open WebUI covers shared chat and general document Q&A on your own server; AnythingLLM adds the dedicated document layer, with workspace isolation keeping projects and clients apart and every answer citing its source. Both speak to the same local backend, so the division of labour costs nothing in privacy.
- 03
AnythingLLM
Ask your documents: private retrieval with citations, entirely offline when paired with the local backend.
Swap options- NotebookLM when the material is not sensitive and hosted, source-grounded Q&A with zero setup is acceptable See the comparison
What it costs
Free software throughout; the real costs are capable hardware and the ownership of running it, which is precisely the trade this stack exists to make.
| Tool | Entry tier | What drives cost up |
|---|---|---|
| Ollama | Free | Ollama is free and open source; the cost is the hardware it runs on. A capable laptop runs small models, while larger models want serious GPU or unified memory. |
| Open WebUI | Free | Open WebUI is open source and free to self-host; costs are the server it runs on and the time to run Docker. For a team, that trades subscription fees for a modest ops responsibility. |
| AnythingLLM | Free | Open source and free to self-host; a hosted cloud version is available. The real cost is the machine and the model behind it. |
Compare the members
Written comparisons between these tools and their nearest substitutes.
Built for
The three tiers of this stack
Ready
The desktop private stack
For individuals who want private AI on their own machine, through apps rather than terminals.
Competitive · this stack
The private and local stack
For teams and individuals whose data cannot leave the building.
World-Class
The production private AI stack
For organisations serving private AI to many users: regulated, air-gapped or simply sovereign by policy.
Common questions
What does this stack actually cost per month?
All three tools here have a genuine free tier, so a working configuration costs nothing while you evaluate it. The 03 COSTS table above breaks down each component. The cost drivers here are hardware and ownership: the machine that runs the models, the server that hosts the team front end, and the time to keep both patched and updated. Model quality is bounded by the machine underneath, so budget capable kit and the attention to maintain it as much as any spend.
Do I need all three tools from day one?
No. Ollama plus Open WebUI is a complete private chat capability (Ollama's local runtime needs no account or cloud; it also offers an optional paid cloud tier if you want hosted models), and Open WebUI carries document Q&A too, so many teams stop there. The numbered steps double as the adoption order: stand up Ollama first, since two commands prove the hardware; add Open WebUI when the runtime needs accounts and admin controls to be shareable; bring in AnythingLLM last, pointed at the same backend, once citation-backed retrieval becomes a daily need.
I already use Ollama. What changes?
Then you already have the engine: Ollama serving open models locally behind a standard API, the hard part proven. What it does not give you is a team. This stack keeps Ollama and builds on top: Open WebUI, source-available and free to self-host, wraps it in accounts, roles and an admin panel, turning one person's runtime into shared infrastructure; AnythingLLM adds workspace isolation and citation-backed retrieval for serious document work. The prototype becomes the platform.
Where do these tools overlap, and which wins?
Open WebUI and AnythingLLM both answer questions from your documents, the one real overlap here. The dividing rule is how central the documents are. Open WebUI wins when files are occasional context alongside general chat. AnythingLLM wins when documents are the workload itself, where workspace isolation keeps clients and projects apart and every answer cites its source. The AnythingLLM and Open WebUI comparison, linked above, covers the finer calls.
When do I outgrow this stack?
Two signals, both about scale, not spend. The first is concurrency: when enough people hit the stack at once that a single-machine runtime stalls, you outgrow one box serving one queue. The second is production duty: when the capability must stay up with the reliability of a real service, monitored and highly available rather than a server someone reboots. Both point to the world-class tier, the production private AI stack.
What can I safely put into these tools?
Almost anything, which is the whole point of building it this way. Unusually for this taxonomy, no paid tier gates the sensitive work: the floor is configuration, not licensing. Kept self-hosted against the local backend, the stack leaks nothing, so confidential documents, client files and internal data are fair game. The one discipline is guarding the exits: no cloud model key in Open WebUI or AnythingLLM, Ollama's web features off, AnythingLLM self-hosted not hosted. Open source makes the guarantee auditable.
Before sharing confidential or personal data, check this tool's data-governance and training policies. They differ between providers and can change.
Last checked: July 2026
Where to start
Not sure what to adopt first?
Five quick questions about your job, task and constraints. We'll suggest your top three tools, plus the one to try first.
Tool facts last checked July 2026