Self-hosted AI chatbot stacks

A private ChatGPT-style assistant on your own hardware: a local LLM server, a chat interface and conversation memory.

Chatbot stacks

  • LLM Chatbot (chatbot) – Conversational AI chatbot with memory and streaming

About Chatbot stacks

A self-hosted chatbot stack combines an LLM inference server (such as Ollama or vLLM) with a chat front end and a store for conversation history. Because the model runs on your machines, chats are not sent to a third-party API, and you choose which open-weight model to use.

Things to decide before you deploy:

  • Model size versus the GPU memory you have
  • Single user (Ollama is simple) or many concurrent users (vLLM batches requests efficiently)
  • Authentication in front of the chat UI
  • Whether answers should come from your documents, in which case you want a RAG stack instead

Frequently asked questions

Can I run a ChatGPT alternative on my own server?
Yes. Open-weight models served by Ollama or vLLM, combined with a chat UI such as Open WebUI, give you a private assistant that runs entirely on your own infrastructure.
Which hardware do I need for a local chatbot?
It depends on the model. Small quantized models run on a laptop or CPU server; larger models need a GPU with enough VRAM for the weights plus the context cache.
Ollama or vLLM for a chatbot?
Ollama is the easiest way to run models for a few users. vLLM is built for throughput and serves many concurrent requests more efficiently on NVIDIA GPUs.

Guides

Other categories: RAG · Embedding · Agent · MLOps