macrostack

Layer 4 · self-hosting reality check

What it actually takes to self-host RAGFlow

The docs say 4 GB. In practice you want 16 GB. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.

Usually reached from Vectara alternatives, where RAGFlow is one of the picks.

Wondering whether you need to at all? Is Vectara free? — what the free tier actually allows, and where the wall is.

RAM — documented minimum4 GB
RAM — what it really needs16 GB
CPU8 vCPU; a GPU materially speeds document parsing
Disk40 GB plus your corpus, and parsed artifacts are larger than the sources
Monthly cost$70–120/mo — the heaviest thing on this list, and the parsing quality is why
Setup timeHalf a day
How you install itdocker compose — it bundles Elasticsearch, MySQL, MinIO and Redis alongside the app
Ongoing maintenanceModerate to high. Five stateful services, and Elasticsearch has opinions about memory.
Where it stops scalingLarge corpora with difficult documents — that is its whole purpose. Parsing throughput binds first.

The thing that catches people out

Document parsing is the reason to choose RAGFlow and it is genuinely compute-hungry — a large PDF corpus can take days on CPU, and the process looks hung when it is working. Provision a GPU if the corpus is real, and never start a large ingest on a machine you need for something else that week.

When not to self-host RAGFlow

Your documents are clean text or markdown. RAGFlow's deep parsing is wasted on them and you are paying for it in RAM.

Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.

Other Layer 4 self-hosting guides

Common questions

How much RAM does RAGFlow actually need?
16 GB in practice. The documented minimum is 4 GB, which is the figure at which the process starts rather than the figure at which it works under real use. 8 vCPU; a GPU materially speeds document parsing alongside it.
What does self-hosting RAGFlow cost per month?
$70–120/mo — the heaviest thing on this list, and the parsing quality is why This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for moderate to high. Five stateful services, and Elasticsearch has opinions about memory.
How long does it take to set up RAGFlow?
Half a day, via docker compose — it bundles Elasticsearch, MySQL, MinIO and Redis alongside the app.
When should I NOT self-host RAGFlow?
Your documents are clean text or markdown. RAGFlow's deep parsing is wasted on them and you are paying for it in RAM.
What is the most common mistake when self-hosting RAGFlow?
Document parsing is the reason to choose RAGFlow and it is genuinely compute-hungry — a large PDF corpus can take days on CPU, and the process looks hung when it is working. Provision a GPU if the corpus is real, and never start a large ingest on a machine you need for something else that week.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.