Developers & AI Infrastructure

Best RAG Tools and Frameworks

Also known as: RAG frameworks

RAG (retrieval-augmented generation) lets an AI model answer from your own documents instead of only what it learned in training. A RAG tool does the plumbing: it reads your files, splits them into chunks, turns them into searchable vectors, finds the best chunks for each question and hands them to the model with citations. If you are new to the idea, start with our guide what is RAG.

We ranked 12 tools in two groups. Frameworks (LlamaIndex, LangChain, Haystack) are free code libraries you build with. Platforms and managed services (RAGFlow, Amazon Bedrock Knowledge Bases, Azure AI Search, Pinecone Assistant and others) do more for you, at the cost of control or money. We scored them on retrieval quality, document ingestion, flexibility, price and developer experience. Prices are as of 25 September 2026. One well-known option, Ragie, is missing because it shut down on 19 July 2026.

Quick answer

LlamaIndex is the best RAG tool for most developers in 2026. The framework is free (MIT), and its paid LlamaParse service turns messy PDFs, tables and scans into clean text, starting free with 10,000 credits a month. Pick LangChain for the widest choice of integrations, RAGFlow for a free self-hosted RAG app with a web interface, Amazon Bedrock Knowledge Bases or Azure AI Search if you live on AWS or Azure, and Pinecone Assistant or OpenAI File Search to prototype in an afternoon.

Top picks at a glance

Scoreboard

Scores are out of 10. The overall score is the weighted average of the criteria below.

#ToolOverallRetrieval qualityDocument ingestionFlexibility & controlPricing & valueDeveloper experiencePrice fromBest for
1LlamaIndex
LlamaIndex
8.98.89.59.08.58.5Free (MIT framework); LlamaParse Starter $50/month
Free tier
RAG over complex documents such as PDFs, contracts and reports
2LangChain
LangChain
8.68.38.09.59.08.0Free (MIT); LangSmith Plus $39/seat/month
Free tier
Developers who want the widest choice of models, vector stores and loaders
3RAGFlow
InfiniFlow
8.68.38.89.09.07.5Free (Apache 2.0, self-hosted)
Free tier
A free, self-hosted document chatbot with little code
4Haystack
deepset
8.48.57.89.38.58.0Free (Apache 2.0); Enterprise Platform custom
Free tier
Teams that want explicit, testable RAG pipelines
5Weaviate
Weaviate
7.98.56.58.57.87.8Free (100k objects); Flex from $45/month
Free tier
An open-source retrieval layer with hybrid search and an agent on top
6Amazon Bedrock Knowledge Bases
Amazon Web Services
7.78.38.36.57.08.3Usage-based (storage + retrievals)Teams whose data and apps already run on AWS
7Azure AI Search
Microsoft
7.69.08.06.56.57.5Free (50MB); paid tiers per search unit
Free tier
Permission-aware enterprise RAG on Microsoft Azure
8Pinecone Assistant
Pinecone
7.68.07.56.07.89.0Free (Starter); Builder $20/month
Free tier
A hosted RAG API with citations in an afternoon
9Google Agent Search (formerly Vertex AI Search)
Google Cloud
7.58.88.06.07.37.0$1.50 per 1,000 queries (Standard); 10,000-query trial
Free tier
Google-quality search over your own data on Google Cloud
10OpenAI File Search
OpenAI
7.37.87.05.08.09.3$2.50 per 1,000 calls + $0.10/GB/day storagePrototyping an OpenAI-based assistant over a modest set of files
11Progress Agentic RAG
Progress Software
7.18.38.36.05.07.8$700/month (Starter)Teams that want a no-code RAG service with built-in answer scoring
12Vectara
Vectara
7.18.87.87.04.07.5Free 30-day trial; SaaS from $100,000/year
Free tier
Regulated enterprises that need on-premises RAG with hallucination checks

Expert reviews

#1 · RAG over complex documents such as PDFs, contracts and reports

LlamaIndex

by LlamaIndex · Open source · Free (MIT framework); LlamaParse Starter $50/month
8.9/10

LlamaIndex is the tool we would start with for most RAG projects, because it is strongest at the step that breaks most systems: getting clean text out of messy documents. The open-source framework (MIT licence, about 52,300 GitHub stars) gives you loaders for many data sources, chunking, indexes, retrievers, rerankers and query engines in Python and TypeScript.

The paid side is LlamaParse, which turns PDFs, tables, charts and scanned pages into clean Markdown or JSON, extracts fields with citations and can host indexes for retrieval. LlamaIndex says it handles more than 130 file types. The Free plan includes 10,000 credits a month; Starter is $50/month with 40,000 credits and Pro is $500/month with 400,000. Extra credits cost $1.25 per 1,000.

The company is open that its main focus is now document parsing and extraction, not the framework. That is good news for RAG quality, but the hosted index features are modest (5 indexes of up to 50 files each on Free).

Pick it if your answers depend on complex PDFs, contracts or financial reports. Skip it if you want a finished chat app with a web interface; RAGFlow is closer to that.

Score breakdown

Retrieval quality8.8
Document ingestion9.5
Flexibility & control9.0
Pricing & value8.5
Developer experience8.5

Key facts

Pricing
Free (MIT framework); LlamaParse Starter $50/month (Framework: free, MIT. LlamaParse (LlamaCloud): Free with 10,000 credits/month; Starter $50/month with 40,000 credits; Pro $500/month with 400,000 credits; Enterprise custom. 1,000 credits cost $1.25. Hosted indexes: 5 on Free, 50 on Starter, 100 on Pro.)
Free option
Yes
Platforms
Python, TypeScript, Web (LlamaCloud), API
Licence
MIT (framework)
GitHub stars
About 52.3k (run-llama/llama_index, 25 Sep 2026)
Parsing
130+ file types, tables, charts, 80+ languages (LlamaIndex)
Compliance
SOC 2 Type II, GDPR, HIPAA (LlamaIndex)

What we like

  • Best-in-class document parsing through LlamaParse
  • Free MIT framework with a large integration catalogue
  • Clear credit-based pricing with a free tier
  • Python and TypeScript support

Watch out for

  • Company focus has shifted from the framework to parsing
  • Hosted index limits are small on lower plans
  • Credit costs vary by parsing tier, so estimate carefully
#2 · Developers who want the widest choice of models, vector stores and loaders

LangChain

by LangChain · Open source · Free (MIT); LangSmith Plus $39/seat/month
8.6/10

LangChain is the most-starred framework on this list, with about 147,000 GitHub stars, and it covers RAG end to end: document loaders, text splitters, embedding wrappers, retrievers for dozens of vector databases, and chains that pass results to a model. Because most vector databases and model providers ship a LangChain integration, you can swap parts without rewriting your app. It is MIT-licensed and free.

For RAG that needs several steps, such as rewriting a question, searching twice or checking an answer before replying, teams usually add its sister project LangGraph for control flow and LangSmith for tracing and evaluation. LangSmith's Developer plan is free for one seat with 5,000 traces a month; Plus costs $39 per seat per month.

The downside is abstraction. LangChain wraps everything in its own classes, which can make a simple pipeline harder to debug, and document parsing is only as good as the third-party loader you choose.

Pick it if you want maximum choice of models and databases and may add agent steps later. Skip it if your main problem is messy documents (LlamaIndex) or you want a pipeline you can read top to bottom (Haystack). See our agent frameworks ranking for LangGraph.

Score breakdown

Retrieval quality8.3
Document ingestion8.0
Flexibility & control9.5
Pricing & value9.0
Developer experience8.0

Key facts

Pricing
Free (MIT); LangSmith Plus $39/seat/month (LangChain and LangGraph are free and MIT-licensed. LangSmith (tracing, evals, deployment): Developer $0 for 1 seat and 5,000 base traces/month; Plus $39/seat/month with 10,000 base traces; Enterprise custom with self-hosting.)
Free option
Yes
Platforms
Python, JavaScript/TypeScript, API
Licence
MIT
GitHub stars
About 147k (langchain-ai/langchain, 25 Sep 2026)
Companion tools
LangGraph (control flow), LangSmith (tracing and evals)

What we like

  • Largest ecosystem of integrations
  • Free and MIT-licensed
  • Easy path from RAG to multi-step agents with LangGraph
  • Strong tracing and evals through LangSmith

Watch out for

  • Layers of abstraction can hide what is happening
  • Parsing quality depends on which loader you pick
  • LangSmith seat pricing adds up for large teams
#3 · A free, self-hosted document chatbot with little code

RAGFlow

by InfiniFlow · Open source · Free (Apache 2.0, self-hosted)
8.6/10

RAGFlow is the best open-source choice if you want a complete RAG application rather than a code library. You run it with Docker, upload files through a web interface and get a chat assistant with citations, without writing a pipeline yourself. It is Apache 2.0 and has about 91,300 GitHub stars.

Its strength is document understanding. RAGFlow parses Word files, slides, spreadsheets, images, PDFs and web pages, lets you pick a chunking template per document type, and shows you the chunks so you can fix bad splits. It can also use MinerU or Docling as parsers, combines several retrieval methods with re-ranking, and syncs data from Confluence, S3, Notion and Google Drive. Recent releases add agent workflows, memory and MCP support.

The cost is hardware and upkeep. The project asks for at least 4 CPU cores, 16GB of RAM and 50GB of disk, and you handle upgrades and security yourself. It is still before version 1.0 (v0.27.2), so expect changes between releases.

Pick it if you want a private, self-hosted document assistant with little code. Skip it if you need a library to embed inside your own app; use LlamaIndex or Haystack instead.

Score breakdown

Retrieval quality8.3
Document ingestion8.8
Flexibility & control9.0
Pricing & value9.0
Developer experience7.5

Key facts

Pricing
Free (Apache 2.0, self-hosted) (Free to self-host with Docker. A hosted cloud service exists at cloud.ragflow.io; we did not verify its prices.)
Free option
Yes
Platforms
Web, Docker, Self-hosted, API
Licence
Apache 2.0
GitHub stars
About 91.3k (infiniflow/ragflow, 25 Sep 2026)
Latest release
v0.27.2
Minimum hardware
4 CPU cores, 16GB RAM, 50GB disk

What we like

  • Complete RAG app with a web interface, free to self-host
  • Strong parsing with visual chunk review
  • Citations, re-ranking, agents and MCP support
  • Connectors for Confluence, S3, Notion and Google Drive

Watch out for

  • Needs 16GB RAM and Docker skills to run
  • Pre-1.0 software that changes often
  • Hosted cloud pricing not verified
#4 · Teams that want explicit, testable RAG pipelines

Haystack

by deepset · Open source · Free (Apache 2.0); Enterprise Platform custom
8.4/10

Haystack, from deepset, is an open-source framework (Apache 2.0, about 26,600 GitHub stars) built around explicit pipelines. You connect components, such as a file converter, splitter, embedder, retriever, ranker and generator, and you can see and test every step. That makes it easier to reason about than more automatic frameworks, which matters when a RAG answer is wrong and you need to find out why.

It supports hybrid retrieval, rerankers, many model providers and vector stores, and agents for multi-step work. The project's README lists Apple, Meta, Databricks and Netflix among organisations that use it.

deepset sells two layers on top. The Haystack Enterprise Platform adds a visual pipeline builder, testing, observability and deployment. Its free Studio tier gives 1 user, 100 pipeline hours and 50 files; the Enterprise tier is custom-priced with cloud or self-hosted options. Enterprise Starter adds engineering support and deployment templates for the open-source framework.

Pick it if you want a clear, testable pipeline that you can run anywhere. Skip it if you need the largest integration catalogue (LangChain) or the strongest document parsing (LlamaIndex).

Score breakdown

Retrieval quality8.5
Document ingestion7.8
Flexibility & control9.3
Pricing & value8.5
Developer experience8.0

Key facts

Pricing
Free (Apache 2.0); Enterprise Platform custom (Framework: free, Apache 2.0. Haystack Enterprise Platform: free Studio tier (1 user, 1 workspace, 100 pipeline hours, 50 files up to 10MB, 2 development pipelines); Enterprise custom, cloud or self-hosted. Enterprise Starter adds support for the open-source framework.)
Free option
Yes
Platforms
Python, Web (Enterprise Platform), API, Self-hosted
Licence
Apache 2.0
GitHub stars
About 26.6k (deepset-ai/haystack, 25 Sep 2026)
Free platform tier
Studio: 1 user, 100 pipeline hours, 50 files

What we like

  • Explicit pipelines that are easy to test and debug
  • Apache 2.0 with self-hosting
  • Free visual Studio tier for prototyping
  • Enterprise support available from the maintainers

Watch out for

  • Smaller integration catalogue than LangChain
  • Studio free tier is tight (50 files)
  • Enterprise prices are not published
#5 · An open-source retrieval layer with hybrid search and an agent on top

Weaviate

by Weaviate · Freemium · Free (100k objects); Flex from $45/month
7.9/10

Weaviate is an open-source vector database that has grown RAG features on top. Its hybrid search runs keyword and vector search in one query and blends the scores, it can call embedding and generative models for you, and its multi-tenancy suits apps that keep each customer's data apart. See our vector databases ranking for the database side.

The RAG piece is the Query Agent, generally available since 17 September 2025. You ask a question in plain English and it breaks the request down, builds searches, filters and aggregations across your collections, reranks results and answers with citations back to the source objects. Weaviate Cloud's free plan includes 1,000 Query Agent requests a month, Flex (from $45/month) includes 30,000, and Premium includes unlimited requests.

The gap is ingestion. Weaviate stores and searches what you give it, but it does not parse PDFs or sync SharePoint for you, so you still need a parser such as LlamaParse or RAGFlow's.

Pick it if you want your retrieval layer to be open source, self-hostable and strong at hybrid search. Skip it if you want one product that also handles document parsing and connectors.

Score breakdown

Retrieval quality8.5
Document ingestion6.5
Flexibility & control8.5
Pricing & value7.8
Developer experience7.8

Key facts

Pricing
Free (100k objects); Flex from $45/month (Weaviate Cloud Free: 100,000 objects, 1,000 Query Agent requests/month. Flex: from $45/month, 30,000 Query Agent requests/month included, then usage-based. Premium: prepaid contract, unlimited Query Agent requests. The database is free to self-host.)
Free option
Yes
Platforms
Web (Weaviate Cloud), Self-hosted, Python, TypeScript, Go, Java
Licence
BSD-3-Clause (database)
Query Agent
Generally available since 17 Sep 2025
Included agent requests
1,000 (Free), 30,000 (Flex), unlimited (Premium)

What we like

  • Strong hybrid keyword plus vector search
  • Open source and self-hostable
  • Query Agent answers with citations across collections
  • Generous included agent requests on Flex

Watch out for

  • No built-in document parsing or data connectors
  • Cloud pricing by vector dimensions is hard to estimate
  • Free cloud tier is small (100,000 objects)
#6 · Teams whose data and apps already run on AWS

Amazon Bedrock Knowledge Bases

by Amazon Web Services · Usage-based · Usage-based (storage + retrievals)
7.7/10

Amazon Bedrock Knowledge Bases is the natural choice for teams on AWS. The newer Managed Knowledge Base, generally available since 17 June 2026, handles the whole pipeline: it connects to Amazon S3, SharePoint, Confluence, Google Drive, OneDrive and a web crawler, syncs automatically, picks default embedding, reranking and answer models, and manages the vector storage.

Retrieval is up to date. It offers hybrid search, reranking and agentic retrieval, which splits a complex question into parts, searches for each, checks whether it has enough evidence and repeats if needed. Smart Parsing chooses a parsing approach for each file, including images, audio and video. It also plugs into Bedrock AgentCore for agents.

If you want more control, classic Knowledge Bases still let you choose your own vector store, including Amazon S3 Vectors, which AWS says cuts vector costs by up to 90%.

Pricing is the weak spot. The managed version bills on data stored and retrievals, but we could not find the rates on AWS's pricing page, and you also pay for the answer model and reranking ($2 per 1,000 queries for Cohere Rerank 3.5).

Pick it if your data and apps already live in AWS. Skip it if you need to run outside AWS or want to predict costs precisely.

Score breakdown

Retrieval quality8.3
Document ingestion8.3
Flexibility & control6.5
Pricing & value7.0
Developer experience8.3

Key facts

Pricing
Usage-based (storage + retrievals) (Managed Knowledge Base bills on indexed data stored and retrievals performed; we could not find the rates on AWS's pricing page on 25 Sep 2026. You also pay for models used for answers. Cohere Rerank 3.5 costs $2.00 per 1,000 queries. Classic Knowledge Bases bill for your chosen vector store, embeddings and models.)
Free option
No
Platforms
AWS Console, API, AWS SDKs
Managed Knowledge Base
Generally available 17 June 2026
Connectors
S3, SharePoint, Confluence, Google Drive, OneDrive, web crawler
Retrieval
Hybrid search, reranking, agentic retrieval
Cheap vector option
S3 Vectors (GA 2 Dec 2025), up to 90% lower cost (AWS)

What we like

  • Fully managed pipeline with six native connectors
  • Agentic retrieval and hybrid search built in
  • S3 Vectors option for low-cost storage
  • Works with Bedrock models and AgentCore

Watch out for

  • AWS only
  • Managed tier rates hard to find
  • Several separate bills (storage, retrieval, models, rerank)
#8 · A hosted RAG API with citations in an afternoon

Pinecone Assistant

by Pinecone · Usage-based · Free (Starter); Builder $20/month
7.6/10

Pinecone Assistant is one of the fastest ways to get a working RAG API without running anything. You upload files, it chunks and embeds them, and a chat endpoint returns grounded answers with citations. A separate context API returns only the retrieved snippets, so you can send them to your own model. Metadata filters narrow searches to the right documents.

Pricing is published and starts free. The Starter plan includes 500,000 input tokens, 300,000 output tokens, 500,000 context tokens and 1GB of storage a month. Builder is $20/month flat with larger allowances. On Standard ($50/month minimum) you pay $8 per million input tokens, $15 per million output tokens, $5 per million context tokens and $3 per GB per month.

For large companies, Pinecone now also sells Nexus (generally available 6 August 2026), a knowledge engine that runs inside the customer's own cloud. Pinecone claims it cuts token costs by more than 90% compared with agentic RAG.

The trade-offs are lock-in and control. Assistant is closed source, runs only on Pinecone, and gives you little say over parsing and chunking.

Pick it if you want a hosted RAG API today. Skip it if you need to self-host or tune every step.

Score breakdown

Retrieval quality8.0
Document ingestion7.5
Flexibility & control6.0
Pricing & value7.8
Developer experience9.0

Key facts

Pricing
Free (Starter); Builder $20/month (Starter (free): 500k input, 300k output and 500k context tokens a month, 1GB storage. Builder: $20/month flat with 2M input, 1M output and 2M context tokens, 3GB. Standard ($50/month minimum): $8 per 1M input tokens, $15 per 1M output tokens, $5 per 1M context tokens, $3/GB-month storage.)
Free option
Yes
Platforms
Web, API, Python, TypeScript
What it does
Upload files, get chat and context APIs with citations
Paid rates
$8/1M input, $15/1M output, $5/1M context tokens
Enterprise option
Pinecone Nexus, generally available 6 Aug 2026

What we like

  • Working cited chat API within minutes
  • Free Starter plan and clear usage prices
  • Context API lets you use any model
  • Runs on a proven managed vector database

Watch out for

  • Closed source with no self-hosting
  • Little control over parsing and chunking
  • Token-based billing grows with long documents
#11 · Teams that want a no-code RAG service with built-in answer scoring

Progress Agentic RAG

by Progress Software · Paid · $700/month (Starter)
7.1/10

Progress Agentic RAG is the former Nuclia, a RAG-as-a-service platform that Progress Software bought in 2025. It targets teams that want a managed, no-code knowledge base with answers they can check. Progress says it offers more than 30 retrieval strategies you can switch without changing code, and an evaluation system called REMi that scores every answer for relevance, context and groundedness.

Plans are flat-rate with unlimited users. Starter costs $700/month with 5GB of indexed data (or 15,000 resources), text files only and a 14-day free trial. Pro costs $1,925/month with 25GB (or 80,000 resources) and all file types. Enterprise adds hybrid cloud deployment. Usage beyond the included allowance is billed in Progress's own tokens at $0.008 each.

Progress lists SOC 2 Type II, ISO 27001 and GDPR compliance. It also courted customers of Ragie after that service announced it would shut down on 19 July 2026, offering free Pro-tier tokens to switchers.

Pick it if you want a hosted, no-code RAG service with built-in answer scoring and predictable monthly bills. Skip it if your budget is under $700 a month; Pinecone Assistant or an open-source framework costs far less to start.

Score breakdown

Retrieval quality8.3
Document ingestion8.3
Flexibility & control6.0
Pricing & value5.0
Developer experience7.8

Key facts

Pricing
$700/month (Starter) (Starter: $700/month, 5GB indexed data or 15,000 resources, text files only, 14-day free trial. Pro: $1,925/month, 25GB or 80,000 resources, all file types. Enterprise: custom, with hybrid cloud. Unlimited users on every plan. Extra usage billed in Progress tokens at $0.008 each.)
Free option
No
Platforms
Web, API, Python SDK, JavaScript SDK
Origin
Formerly Nuclia, acquired by Progress in 2025
Retrieval strategies
30+ configurable without code changes (Progress)
Evaluation
REMi scores relevance, context and groundedness
Compliance
SOC 2 Type II, ISO 27001, GDPR (Progress)

What we like

  • Built-in answer quality scoring (REMi)
  • Flat pricing with unlimited users
  • Many retrieval strategies without code changes
  • Strong compliance list

Watch out for

  • Starts at $700/month
  • Starter plan accepts text-based files only
  • Hybrid deployment only on Enterprise
#12 · Regulated enterprises that need on-premises RAG with hallucination checks

Vectara

by Vectara · Enterprise · Free 30-day trial; SaaS from $100,000/year
7.1/10

Vectara is an enterprise RAG and agent platform built around trust. Its best-known work is on hallucinations: the Hughes Hallucination Evaluation Model (HHEM) scores whether an answer is supported by the source text. An open version, HHEM-2.1-Open, is free on Hugging Face, and Vectara runs a public leaderboard of how often popular models hallucinate when summarising. In April 2025 it also released Open RAG Eval, an open-source framework for testing RAG systems.

The platform bundles its own retrieval model (Boomerang), its own generation model (Mockingbird) or your choice of ChatGPT, Claude or Gemini, plus hallucination detection and governance at runtime. You can run it as SaaS, in your own VPC or fully on-premises, which suits regulated buyers such as government agencies.

The price rules out small teams. After a 30-day free trial, SaaS starts at $100,000 a year, VPC at $250,000 and on-premises at $500,000.

Pick it if you are a regulated enterprise that needs on-premises RAG with hallucination checks built in. Skip it if you are a startup or a single team; the open-source frameworks above do the core job for free, and anyone can use HHEM-2.1-Open alongside them.

Score breakdown

Retrieval quality8.8
Document ingestion7.8
Flexibility & control7.0
Pricing & value4.0
Developer experience7.5

Key facts

Pricing
Free 30-day trial; SaaS from $100,000/year (30-day free trial with all features. SaaS from $100K/year, VPC from $250K/year, on-premises from $500K/year. Add-ons include forward-deployed engineers and platinum support.)
Free option
Yes
Platforms
Web, API, VPC, On-premises
Hallucination model
HHEM; open version HHEM-2.1-Open on Hugging Face
Own models
Boomerang (retrieval), Mockingbird (generation)
Deployment
SaaS, VPC or on-premises
Open tooling
Open RAG Eval framework (April 2025)

What we like

  • Hallucination detection built into the platform
  • SaaS, VPC and on-premises options
  • Open hallucination model and evaluation tools
  • Bring your own model or use Vectara's

Watch out for

  • Starts at $100,000 a year
  • No self-serve paid plan
  • Small company compared with cloud rivals

How we scored these tools

Each tool is scored 0–10 on the criteria below, using public evidence: independent benchmarks, vendor documentation and pricing pages, aggregate user ratings and reputable reviews. The overall score is the weighted average. Nobody pays to be listed. Read our full methodology.

CriterionWeightWhat we look at
Retrieval quality25%Hybrid keyword and vector search, reranking, metadata filters, multi-step (agentic) retrieval and answer citations.
Document ingestion20%Parsing of PDFs, tables, scans and slides, chunking options, file types and data connectors with sync.
Flexibility & control20%Open-source licence, self-hosting, choice of models and vector stores, and how easy it is to leave.
Pricing & value20%Free tier, published prices, entry cost and how bills grow with documents and queries.
Developer experience15%Time to a first cited answer, SDKs, docs, debugging and evaluation support.

What a RAG tool actually does

Every RAG system runs the same six steps. Tools differ in which steps they handle for you.

  1. Parse: pull clean text, tables and images out of PDFs, slides and web pages.
  2. Chunk: split documents into passages small enough to search.
  3. Embed: turn each chunk into a vector with an embedding model.
  4. Store: save vectors and text in a vector database or search index.
  5. Retrieve and rerank: find the best chunks for a question, often with keyword plus vector (hybrid) search and a reranker.
  6. Generate: pass the chunks to a model, which answers with citations.
Tool Parse Connectors Store Retrieve Generate
LlamaIndex + LlamaParse Yes (strong) Many loaders Any, or hosted Yes Any model
LangChain Via loaders Many loaders Any Yes Any model
RAGFlow Yes (strong) Confluence, S3, Notion, Drive Built in Yes Any model
Haystack Converters Via integrations Any Yes Any model
Weaviate No No Built in Yes (Query Agent) Configurable
Bedrock Knowledge Bases Yes 6 native Managed or your own Yes (agentic) Bedrock models
Azure AI Search Via indexers Azure sources Built in Yes (agentic) Azure OpenAI
Pinecone Assistant Yes No Built in Yes Hosted models
OpenAI File Search Yes No Built in Yes OpenAI only

Most bad answers come from steps 1 and 2, not from the model. Fix parsing and chunking before you pay for a bigger model.

Pricing guide (as of 25 September 2026)

Tool Free option Paid entry What you pay for
LlamaIndex Framework free; LlamaParse 10k credits/month $50/month Starter Credits ($1.25 per 1,000)
LangChain Framework free; LangSmith 1 seat $39/seat/month (LangSmith Plus) Seats, traces, compute
RAGFlow Free to self-host Hosted cloud (not verified) Your servers
Haystack Framework free; Studio tier Enterprise (custom) Pipeline hours, seats
Weaviate 100k objects, 1,000 agent requests $45/month Flex Vector dimensions, storage, agent requests
Bedrock Knowledge Bases No Usage-based Storage, retrievals, models, rerank
Azure AI Search 50MB Per search unit Units, semantic ranker, agentic tokens
Pinecone Assistant Starter plan $20/month Builder Tokens and storage
Google Agent Search 10,000-query trial $1.50 per 1,000 queries Queries and storage
OpenAI File Search 1GB storage $2.50 per 1,000 calls Calls, storage per day, model tokens
Progress Agentic RAG 14-day trial $700/month Flat fee plus tokens
Vectara 30-day trial $100,000/year Annual contract

Rule of thumb: for a prototype, the free tiers of LlamaParse, Pinecone Assistant or a self-hosted RAGFlow cost nothing. At production scale, the model's tokens usually cost more than retrieval, so sending 5 good chunks instead of 20 mediocre ones saves real money.

What changed in 2026

  • Agentic retrieval went mainstream. Instead of one search per question, the system plans several searches, checks the evidence and searches again. Azure AI Search made it generally available in its 2026-04-01 API, AWS launched Bedrock Managed Knowledge Base with agentic retrieval on 17 June 2026, and Weaviate's Query Agent works the same way.
  • Knowledge layers for agents. Vendors now sell RAG as a shared knowledge service for many agents: Microsoft's Foundry IQ, Pinecone Nexus (generally available 6 August 2026) and Bedrock's managed option. Azure AI Search knowledge bases and RAGFlow support MCP, so other agents can query them; see what is MCP.
  • Renames and exits. Vertex AI became the Gemini Enterprise Agent Platform in April 2026, and Vertex AI Search became Agent Search. Ragie, a popular RAG API, shut down on 19 July 2026 and gave customers until 3 July to request a $50 data export.
  • Parsing became the product. LlamaIndex now says its main focus is document parsing and extraction, and RAGFlow added MinerU and Docling parsers. The industry has learned that retrieval is only as good as the text you feed it.

How to choose

  • You write Python and want one safe default: LlamaIndex, with LlamaParse for hard documents.
  • You need many integrations or plan to add agents: LangChain with LangGraph.
  • You want a private chatbot over company files with little code: RAGFlow, self-hosted.
  • You want every step visible and testable: Haystack.
  • You are all-in on a cloud: Bedrock Knowledge Bases (AWS), Azure AI Search (Microsoft) or Agent Search (Google).
  • You need something working today: Pinecone Assistant or OpenAI File Search.
  • You are a regulated enterprise with a big budget: Vectara (on-premises) or Progress Agentic RAG (flat-rate SaaS).

Whichever you pick, measure it. Build a test set of real questions with known answers and track results with an LLM evaluation tool.

How we ranked these tools

We scored each tool from 0 to 10 on five criteria: retrieval quality (25%), document ingestion (20%), flexibility and control (20%), pricing and value (20%) and developer experience (15%). The overall score is the weighted average.

We used public sources only: vendor pricing pages and docs, GitHub repositories, official launch posts and reputable press. Performance claims, such as Pinecone's token savings for Nexus, are the vendors' own and are labelled as such. We did not run our own benchmark and did not accept payment for placement. Ragie was excluded because it shut down in July 2026.

Expert tips
  1. Before choosing a tool, write 50 real questions with known answers and the document each answer comes from. Test retrieval (did it find the right passage?) separately from generation (did it answer well?), and track both with an LLM evaluation tool.
  2. Test parsing on your 10 worst documents first: scanned PDFs, tables that span pages, slides with charts. If the parsed text is wrong, no retriever or model will fix it.
  3. Turn on hybrid search and a reranker. Pure vector search often misses product codes, names and acronyms that keyword search finds instantly.
  4. Carry document permissions into the index. Sync access rights from SharePoint or Google Drive, or split indexes by team, so the assistant cannot quote a document the user is not allowed to open.
  5. Keep your own copy of chunks and metadata outside any managed service. When Ragie shut down, customers had about two weeks to request an export.

Jargon explained

RAG (retrieval-augmented generation)
A way to make an AI model answer from your documents: the system first searches your files, then gives the best passages to the model with the question.
Chunking
Splitting long documents into smaller passages so each one can be searched and passed to the model on its own.
Hybrid search
Running keyword search and meaning-based (vector) search together and combining the results, so both exact terms and similar ideas are found.
Reranker
A second model that re-orders search results by how well each one actually answers the question, before they go to the AI.
Agentic retrieval
Retrieval where an AI plans several searches, checks what it found and searches again, instead of running one search per question.
Hallucination
When an AI states something that is not supported by its sources. RAG with citations makes hallucinations easier to spot.

Frequently asked questions

What is the best RAG tool in 2026?

For most developers, LlamaIndex. The framework is free and MIT-licensed, and LlamaParse handles the hardest part, parsing messy documents, with a free tier of 10,000 credits a month. For a no-code, self-hosted app, pick RAGFlow; on AWS or Azure, use Bedrock Knowledge Bases or Azure AI Search.

What is the best RAG framework: LlamaIndex, LangChain or Haystack?

All three are free and open source. LlamaIndex is strongest for document-heavy RAG, LangChain has the most integrations and the easiest path to agents, and Haystack has the clearest, most testable pipelines. Many teams use LlamaParse for parsing with LangChain or Haystack for the rest.

Do I need a vector database for RAG?

Usually, yes, or a search engine that stores vectors. Managed services such as Pinecone Assistant, OpenAI File Search and Bedrock Managed Knowledge Base include one for you. If you build with a framework, you choose your own; see our best vector databases ranking.

What is agentic RAG?

Agentic RAG (or agentic retrieval) lets an AI model plan its own searches. It splits a complex question into smaller ones, searches for each, checks whether it has enough evidence and searches again if not. It gives better answers to multi-part questions but costs more tokens and takes longer than a single search.

What is the cheapest way to build RAG?

Self-host an open-source tool such as RAGFlow, or build with LlamaIndex, LangChain or Haystack on top of a free vector database and an open embedding model. You then pay only for servers and the answering model. Among hosted options, Pinecone Assistant's free Starter plan and OpenAI File Search ($2.50 per 1,000 calls) are the cheapest to start.

What happened to Ragie?

Ragie, a managed RAG API, shut down on 19 July 2026. Customers had until 3 July to request a data export, which cost $50. Progress offered switching customers free tokens on its Agentic RAG Pro plan.

Is RAG still needed now that models have long context windows?

For large or changing document sets, yes. Sending every document with every question costs far more tokens, is slower, and ignores who is allowed to see what. RAG sends only the few passages that matter, keeps sources citable and can respect access permissions.

Sources

Every fact on this page comes from public information. Vendor figures are labelled as vendor claims.

  1. LlamaParse pricing (LlamaIndex)
  2. LlamaIndex GitHub repository (GitHub)
  3. LangChain GitHub repository (GitHub)
  4. LangSmith pricing (LangChain)
  5. RAGFlow GitHub repository (GitHub)
  6. Haystack GitHub repository (GitHub)
  7. deepset pricing (deepset)
  8. Introducing Haystack Enterprise Starter (deepset)
  9. Weaviate pricing (Weaviate)
  10. Query Agent now generally available (Weaviate)
  11. Amazon Bedrock Managed Knowledge Base is now generally available (AWS)
  12. Introducing Amazon Bedrock Managed Knowledge Base (AWS)
  13. Amazon Bedrock Knowledge Bases (AWS)
  14. Amazon Bedrock pricing (AWS)
  15. Amazon S3 Vectors is now generally available (AWS)
  16. Agentic retrieval overview (Azure AI Search) (Microsoft Learn)
  17. Azure AI Search pricing (Microsoft)
  18. Pinecone pricing (Pinecone)
  19. Pinecone Assistant overview (Pinecone)
  20. General availability of Pinecone Nexus (Pinecone)
  21. Agent Search documentation (Google Cloud)
  22. Set up configurable pricing for custom search (Agent Search) (Google Cloud)
  23. Gemini Enterprise Agent Platform (formerly Vertex AI) (Google Cloud)
  24. OpenAI API pricing (OpenAI)
  25. File search guide (OpenAI)
  26. Progress Agentic RAG pricing (Progress Software)
  27. What is the best Ragie alternative? (Progress Software)
  28. Progress snaps up Nuclia for agentic RAG tech (Blocks and Files)
  29. Ragie homepage (shutdown notice) (Ragie)
  30. Vectara pricing (Vectara)
  31. Vectara hallucination evaluation model (Hugging Face)
  32. Vectara launches open-source framework to evaluate enterprise RAG systems (SiliconANGLE)