// guide
Self-host RAGFlow with local models
To self-host RAGFlow with local models, run its Docker Compose stack with vLLM serving chat and embeddings on one GPU; in our test on 2026-11-15 the Nemotron variant on an NVIDIA L40S 48GB was fully ready in about 28 minutes, using 31,772 of 46,068 MiB of GPU memory.
Updated
Published
On this page
What is RAGFlow?
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding. Source: the RAGFlow documentation (external site), read 2026-11-16. RAGFlow is built by InfiniFlow and licensed under Apache-2.0.
How do I run RAGFlow for the first time, step by step?
Pick a Launchable: RAGFlow on your own GPU for Qwen models, or RAGFlow RAG with NVIDIA Nemotron for NVIDIA Nemotron models.
Launch it on NVIDIA Brev, as in how to deploy a Launchable on NVIDIA Brev. It starts on an NVIDIA L40S 48GB, instance type AWS
g6e.xlarge.Docker Compose starts the pinned services listed below.
Open the web UI through the NVIDIA Brev Secure Link named
open-ragflow, on port8080.Chat with your documents. vLLM answers on port
8000for chat and port8001for embeddings, on the instance.Stop the instance when idle. Data under the
ragflowfolder survives Stop; Delete destroys it.
Which Docker containers does self-hosted RAGFlow run?
Both 9owls RAGFlow Launchables start the same pinned services with Docker Compose. On our 2026-11-15 test, that made 8 containers, because vLLM runs twice: once for chat and once for embeddings. Versions are as of 2026-11-15.
| Service | Image | Role in the stack | Licence |
|---|---|---|---|
| RAGFlow | infiniflow/ragflow:v1.0.0 | Web UI and RAG engine | Apache-2.0 |
| Infinity | infiniflow/infinity:v0.7.5-x64-v3 | Infinity engine by InfiniFlow | Apache-2.0 |
| vLLM | vllm/vllm-openai:v0.33.0 | Serves the chat and embedding models | Apache-2.0 |
| MySQL Community Server | mysql:8.0.40 | Supporting service | GPL-2.0 |
| Silo object store by PGSTY | pgsty/silo | Supporting service | AGPL-3.0-or-later |
| Apache Kvrocks | apache/kvrocks:2.16.0 | Supporting service | Apache-2.0 |
| NATS | nats:2.14.2 | Supporting service | Apache-2.0 |
Which chat and embedding models serve it?
| Launchable | Chat model | Embedding model | Model licence | Disk |
|---|---|---|---|---|
| RAGFlow on your own GPU | Qwen/Qwen3-8B | A Qwen embedding model | Apache-2.0 | 256 GiB |
| RAGFlow RAG with NVIDIA Nemotron | nvidia/NVIDIA-Nemotron-3.5-Bolt-E4B-BF16 | nvidia/Nemotron-3.5-Embed-1B-BF16 | OpenMDW License Agreement, version 1.1 | 200 GiB |
In RAGFlow RAG with NVIDIA Nemotron, Qwen chat and embedding models are available as launch options. To serve a Nemotron model on its own, without RAGFlow, see how to serve NVIDIA Nemotron with vLLM.
How long does a fresh RAGFlow deploy take, and how much GPU memory does it use?
We tested RAGFlow RAG with NVIDIA Nemotron on a fresh instance on 2026-11-15. It was fully ready about 28 minutes after the instance was created, with both Nemotron models using 31,772 of 46,068 MiB of GPU memory.
| What we tested | Result on 2026-11-15 |
|---|---|
| Launchable and GPU | RAGFlow RAG with NVIDIA Nemotron, default models, 1x NVIDIA L40S 48GB |
| RAGFlow health check answering | about 25 minutes after create |
| Chat model listed, fully ready | about 28 minutes after create |
| GPU memory with chat and embedding models loaded | 31,772 of 46,068 MiB |
| Embedding size from the Nemotron embedding model | 2048 values per vector |
RAGFlow data under the ragflow folder | 20G |
| After a stop and start | chat model back about 7 minutes after start, all 8 containers healthy, nothing re-entered |
These numbers are for the Nemotron Launchable only. We did not take the same measurements for RAGFlow on your own GPU with Qwen models.
How does vLLM serve the models locally?
vLLM provides an HTTP server that implements OpenAI's Completions API, Chat API and more (vLLM OpenAI-compatible server (external site), read 2026-11-16). In both Launchables, chat runs on port 8000 and embeddings on port 8001 on the instance. In RAGFlow on your own GPU, these two endpoints are not exposed to the internet. To run vLLM as a standalone endpoint instead, read serve an OpenAI-compatible API with vLLM; to choose between model servers, read Ollama vs vLLM.
What does a Launchable give you?
A Launchable is a reproducible, shareable environment configuration on NVIDIA Brev. It captures the default hardware, the software configuration and the network settings (Launchables (external site), read 2026-11-16). For the basics, see what is a Brev Launchable and the Brev Launchables FAQ. For RAGFlow a Launchable means:
Hardware: an NVIDIA L40S 48GB on AWS
g6e.xlarge. For how the L40S compares with the smaller NVIDIA L4, read NVIDIA L4 vs L40S for LLM inference.Software: seven pinned services started with Docker Compose.
Network: one web UI behind the Secure Link
open-ragflow, on port8080.Models: chat on port
8000and embeddings on port8001, on the instance.
Where is my data stored?
Data lives under the ragflow folder in the instance workspace. It survives Stop and is destroyed by Delete.
The stop, start and delete guide compares billing in each state.
How do I launch RAGFlow?
Launch RAGFlow on your own GPU for Qwen models, or RAGFlow RAG with NVIDIA Nemotron for NVIDIA Nemotron models.
Can my own RAG stack become a Launchable?
NightKeeper packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running. Point it at the repository that holds your RAG stack, review the pull request it opens, then create the Launchable in the Brev console. Your Brev API key stays in your repository's GitHub secrets; NightKeeper never sees it.
Create your Launchable in a 4-step form, or read how NightKeeper works.
Sources: where do these facts come from?
RAGFlow documentation (external site), read 2026-11-16.
vLLM OpenAI-compatible server (external site), read 2026-11-16.
NVIDIA Brev Launchables (external site), read 2026-11-16.
Our fresh-deploy test record of the RAGFlow RAG with NVIDIA Nemotron Launchable, 2026-11-15, read 2026-11-28.
How was this page made?
9owls publishes this page. The tested facts come from our own fresh deploy of the RAGFlow RAG with NVIDIA Nemotron Launchable on 2026-11-15; the RAGFlow and vLLM facts come from their own documentation, listed above with read dates.
What changed on 2026-11-28: added the start-up time, GPU memory, container count and restart result measured on the 2026-11-15 fresh deploy.
What changed on 2026-12-03: the opening answer now states the measured start-up time and GPU memory from the 2026-11-15 fresh deploy.
Found an error? Tell us through the contact page.