Ollama, LM Studio, llama.cpp, Open WebUI, Jan, vLLM, LocalAI, AnythingLLM and Hugging Face, and when each fits.
4 lessonsRead in order or jump to one
About 20 minutesShort reads, one check each
Self-checkedAnswers are in the text
Lesson 1
Runtimes and desktop apps
llama.cpp runs quantised models efficiently on CPUs and GPUs and is the base for many other tools.
Ollama wraps llama.cpp with a simple command line and local API. LM Studio and Jan add a desktop interface for people who do not want a terminal.
Ollama is the quickest way to a working local API.
LM Studio is useful for trying models on a laptop.
Jan is a desktop chat client with local models.
All three can run fully offline once set up.
Check yourself. Which tool would you give a colleague who does not use a terminal?
Lesson 2
Serving and multi-user access
vLLM is built for throughput on server GPUs and exposes an OpenAI-compatible API. LocalAI offers a similar compatible endpoint with a different feature set.
Open WebUI provides a chat interface, user accounts and model management in front of a local runtime.
vLLM favours many concurrent requests.
Open WebUI suits small teams.
Check authentication before exposing any port.
Keep services on a private network.
Check yourself. What must be true before an internal chat service is exposed to staff?
Lesson 3
Knowledge and documents
AnythingLLM connects documents to a local model and manages the retrieval layer. Open WebUI can also attach documents to a workspace.
Hugging Face is the main distribution point for weights, datasets and documentation, and its CLI handles large downloads reliably.
Retrieval quality depends on chunking and metadata.
Store embeddings locally for sensitive corpora.
Check disk space before pulling large models.
Keep a record of which model produced which answer.
Check yourself. Which component decides whether a document answer cites the right passage?
Lesson 4
A sane local stack
A practical small deployment is a runtime, a chat front end, a retrieval store and a reverse proxy with authentication.
Pin versions, document the setup, and script the rebuild so the server can be replaced rather than repaired.
Separate the model host from the web front end.
Back up configuration, not just data.
Log requests without storing sensitive content.
Test a restore before you need one.
Check yourself. Why should the rebuild be scripted?