RAGFlow
Open-source RAG engine built on deep document understanding.
Overview
RAGFlow parses complex documents like PDFs, tables and scans into high-quality chunks and builds cited Q&A and agent workflows on top. It is self-hosted and connects to many LLM providers with your keys.
- Deep document parsing
- Cited answers
- Agent workflows
- Chunk visualization
Our verdict
What we like
- Excellent with messy documents
- Self-hostable
Watch out for
- Resource-intensive
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in RAGFlow
Grade B
Your key is stored by the service (usually encrypted) and requests may route through its servers.
- Key storage18/40
Key is held by the vendor, so you rely on their security.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
12 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
RAGFlow FAQ
- Does RAGFlow support bring your own key?
- Yes. RAGFlow accepts your own API key from OpenAI, Anthropic, Google Gemini, Mistral, Groq, DeepSeek, Ollama, Azure OpenAI, AWS Bedrock, Together AI, Cohere and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does RAGFlow store my API key?
- On the vendor's servers, and requests may be routed through them. Its BYOK Tools Key Safety Score is 78/100.
- Is RAGFlow free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is RAGFlow open source?
- Yes. The source code is at https://github.com/infiniflow/ragflow. It can also be self-hosted.
- Can RAGFlow run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does RAGFlow support?
- Web, Self-hosted.
Community reviews
No reviews yet.
Alternatives to RAGFlow
All notes & knowledge →AnythingLLM
Notes & Knowledge
All-in-one desktop and Docker app for private document chat and agents.
Onyx
Notes & Knowledge
Open-source enterprise search and AI assistant over your company tools.
Kotaemon
Notes & Knowledge
Clean open-source RAG UI for chatting with your documents.
Copilot for Obsidian
Notes & Knowledge
AI chat and vault Q&A inside Obsidian, using your keys.
MaxKB
Notes & Knowledge
Open-source knowledge-base Q&A and agent platform.
DocsGPT
Notes & Knowledge
Open-source RAG platform for building assistants over your documents.