RAGFlow
RAG engine with deep document parsing (OCR, layout and tables) and cited answers.
Quick answer
RAGFlow is a RAG engine with deep document parsing (OCR, layout and tables) and cited answers, listed under Knowledge base & RAG. A typical small-business use: q&A over scanned contracts, invoices or technical drawings with tables. Official hardware: recommended 4 vCPU · 16 GB RAM · 50 GB disk (no separate minimum published). That fits a Hetzner Cloud CPX42 server at about €59.49/month (server only, excl. VAT). License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Dec 6, 2026.
What is RAGFlow?
RAGFlow focuses on getting messy documents such as scanned PDFs and complex tables into a searchable knowledge base, then answering questions with citations. It includes agent and workflow features and runs as a multi-container Docker stack.
Where it fits in a 10–200 person business
- Q&A over scanned contracts, invoices or technical drawings with tables
- Research assistant for long reports where answers must show their source
- Knowledge back-end for other chat front-ends via its API
These use cases are our editorial suggestions, not claims made by the project.
Can a business use RAGFlow? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed; keep license and notices. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does RAGFlow phone home?
| Telemetry (usage data sent to the vendor) | Not documented |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented |
| Single sign-on (OIDC / SAML / LDAP) | Free By protocol: OIDC free. OAuth2, OIDC and GitHub sign-in are configured under oauth in service_conf.yaml. Source: github.com/infiniflow/ragflow/blob/main/docker/README.md |
| Audit log | Not documented |
| Role-based access control (RBAC) | Basic free, more in paid plan Basic team roles (owner, normal member); action-level role management is a separate Enterprise feature. Source: ragflow.io/docs/guides/team/permission_system_overview/team_member_management |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does RAGFlow need?
| Minimum | Not published |
|---|---|
| Recommended | 4 vCPU · 16 GB RAM · 50 GB disk |
Recommended starting configuration. Actual needs depend on the document engine, data volume, parsing tasks and concurrency. Docker 24.0.0+ and Docker Compose v2.26.1+.
How much does it cost to host RAGFlow per month?
| Recommended spec | 4 vCPU · 16 GB RAM · 50 GB disk → CPX42 (8 vCPU, 16 GB, 320 GB disk) €59.49/mo |
|---|
How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-11-30. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.
How to deploy RAGFlow
Method: Docker Compose
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/docker
git checkout <latest-release-tag>
docker compose -f docker-compose.yml up -d From the official instructions: github.com/infiniflow/ragflow#-get-started. Always check the source for the current version before you run it.
Known gotchas when self-hosting RAGFlow
- When using Elasticsearch, set vm.max_map_count to at least 262144 on the Docker host (sudo sysctl -w vm.max_map_count=262144) and persist it in /etc/sysctl.conf. source
- In the 1.0 open-source release, DeepDoc layout analysis, OCR and table recognition run on CPU, so parsing large batches is CPU-heavy. source
Alternatives in Knowledge base & RAG
- AFFiNE Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. Compare AFFiNE vs RAGFlow
- AppFlowy Open-source Notion-style AI workspace (docs, databases, boards) with desktop apps and a self-hosted cloud server. Compare AppFlowy vs RAGFlow
- AnythingLLM All-in-one private chat with your documents, agents and an embeddable widget. Compare AnythingLLM vs RAGFlow
- PrivateGPT API-first private document Q&A that sits on top of your own LLM server. Compare PrivateGPT vs RAGFlow
- Open Notebook Private, self-hosted alternative to Google NotebookLM with your choice of AI models. Compare Open Notebook vs RAGFlow
- LightRAG Graph-based RAG server that builds a knowledge graph from your documents, with a web UI and REST API. Compare LightRAG vs RAGFlow
- WeKnora Tencent's open-source knowledge-base and agent platform with document parsing, RAG and team workspaces. Compare RAGFlow vs WeKnora
- Langchain-Chatchat Chinese-first local knowledge-base Q&A and agent app built on LangChain, wired to local model servers. Compare Langchain-Chatchat vs RAGFlow
- Onyx (formerly Danswer) AI chat and enterprise search connected to 50+ workplace apps. Compare Onyx (formerly Danswer) vs RAGFlow
- Karakeep Self-hosted bookmark and read-later app (formerly Hoarder) with AI tagging, summaries and full-text search. Compare Karakeep vs RAGFlow
- FastGPT Knowledge-base Q&A and visual AI workflow platform. Compare FastGPT vs RAGFlow
- kotaemon Open-source RAG web app for chatting with your documents, with citations and GraphRAG. Compare kotaemon vs RAGFlow
- MaxKB Enterprise knowledge-base and agent platform with RAG and workflows. Compare MaxKB vs RAGFlow
- LocalGPT Chat with your documents through a local RAG stack that talks to Ollama. Compare LocalGPT vs RAGFlow
- Linkwarden Collaborative bookmark preservation with configurable AI tagging. Compare Linkwarden vs RAGFlow
- DocsGPT Open-source platform for AI agents and assistants that answer from your documents with sources. Compare DocsGPT vs RAGFlow
- QAnything Local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command. Compare QAnything vs RAGFlow
- R2R Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode. Compare R2R vs RAGFlow
- OpenAgent Self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary. Compare OpenAgent vs RAGFlow
- PipesHub Self-hosted workplace search and AI answers across 50+ connected apps, filtered by each user's permissions. Compare PipesHub vs RAGFlow
- Morphik Core Multimodal document retrieval engine for RAG over PDFs, images and visually rich files, with an API, SDKs and MCP. Compare Morphik Core vs RAGFlow
Plan your deployment
Use these guides to check the model, hardware and operating decisions alongside the app comparison.
RAGFlow FAQ
How much RAM does RAGFlow need?
The recommended spec is 4 vCPU · 16 GB RAM · 50 GB disk. Recommended starting configuration. Actual needs depend on the document engine, data volume, parsing tasks and concurrency. Docker 24.0.0+ and Docker Compose v2.26.1+.
How much does it cost to self-host RAGFlow?
The software is free to download. Based on the official recommended 4 vCPU · 16 GB RAM · 50 GB disk (no separate minimum published): That fits a Hetzner Cloud CPX42 server at about €59.49/month (server only, excl. VAT). That covers the server only, not LLM API usage, backups, extra storage or your time.
Is RAGFlow free for commercial use?
RAGFlow is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep license and notices. This is a summary, not legal advice.
What are common problems when self-hosting RAGFlow?
When using Elasticsearch, set vm.max_map_count to at least 262144 on the Docker host (sudo sysctl -w vm.max_map_count=262144) and persist it in /etc/sysctl.conf. In the 1.0 open-source release, DeepDoc layout analysis, OCR and table recognition run on CPU, so parsing large batches is CPU-heavy.
Is RAGFlow still maintained?
Yes, it is actively developed. Last commit: Dec 6, 2026. Latest release: v1.0.0. Checked Dec 6, 2026.
How do I install RAGFlow?
The official method is Docker Compose. The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/infiniflow/ragflow#-get-started
What are self-hosted alternatives to RAGFlow?
Other apps in Knowledge base & RAG: AFFiNE, AppFlowy, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, WeKnora, Langchain-Chatchat, Onyx (formerly Danswer), Karakeep, FastGPT, kotaemon, MaxKB, LocalGPT, Linkwarden, DocsGPT, QAnything, R2R, OpenAgent, PipesHub, Morphik Core.
Sources
- GitHub repository: github.com/infiniflow/ragflow
- Official documentation, Hardware requirements, Deploy instructions, Gotcha 1, Gotcha 2: github.com/infiniflow/ragflow#-get-started
- License text: github.com/infiniflow/ragflow/blob/main/LICENSE
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-10-22. Spotted something out of date? Tell us.