# RAG system cost: a $2,150 median and a cliff at three months

> Search over company documents has a $2,150 median budget across 918 priced briefs. The price jumps from $3,200 to $18,000 once work runs past three months.

Published 2026-11-17 by The AI Build Index. Source: https://aibuildindex.com/blog/rag-system-cost

A RAG system over company documents typically costs **$2,150** to build. That is the median across 918 priced project briefs for [search over internal documents](https://aibuildindex.com/cost/document-search-rag) published between December 2025 and November 2026, 14% below the $2,500 median for all AI builds. Half of these budgets fall between $300 and $8,800, and one in ten reaches $24,250 or more. The low median hides a split: most briefs ask for a pilot over a few files, while the briefs that run past three months budget $18,000 or more because they ask for permissions, re-indexing and tested answers across many sources.

## The short answer

- **Typical budget:** $2,150, with the middle half of briefs between $300 and $8,800.
- **Top of the market:** one in ten RAG briefs budgets $24,250 or more, above the $19,200 that marks the top tenth of all AI builds.
- **The three-month cliff:** a median of $3,200 for work expected to take one to three months, $18,000 for three to six months.
- **Fixed and hourly:** fixed-price briefs state a median of $290; hourly briefs work out at $7,200, 25 times as much.
- **Seniority:** 51% of briefs ask for senior level, with a median of $3,500 against $1,000 for mid-level.
- **Hourly rates:** the middle half of hourly briefs offer $25 to $45 an hour.

## How RAG compares with other AI builds

[Retrieval-augmented generation](https://aibuildindex.com/glossary/retrieval-augmented-generation) sits in the middle of the market on the median and near the top on the tail. The chart shows the middle half of budgets for each build as a band and the median as a dot, with the all-builds median marked.

**RAG and document search against other AI builds** (Middle half of budgets, median marked. Sorted by median.)

|  | Median | Middle half | Top 10% from | Priced briefs |
| --- | --- | --- | --- | --- |
| AI SaaS MVP | $4,000 | $870 to $10,000 | $25,200 | 7,123 |
| Custom AI agent | $3,850 | $600 to $10,000 | $24,500 | 2,831 |
| LLM fine-tuning | $3,500 | $420 to $13,700 | $27,100 | 78 |
| MCP server or tool integration | $2,600 | $500 to $9,000 | $24,000 | 291 |
| Chat with your data | $2,500 | $500 to $6,400 | $14,400 | 439 |
| AI API integration | $2,500 | $500 to $6,400 | $15,150 | 1,993 |
| Search over internal documents | $2,150 | $300 to $8,800 | $24,250 | 918 |
| Customer support chatbot | $2,000 | $300 to $5,300 | $12,000 | 1,344 |
| Document data extraction | $1,400 | $250 to $5,000 | $11,900 | 423 |

Source: https://aibuildindex.com/cost/ai-saas-mvp, https://aibuildindex.com/cost/custom-ai-agent, https://aibuildindex.com/cost/llm-fine-tuning, https://aibuildindex.com/cost/mcp-integration, https://aibuildindex.com/cost/text-to-sql-analytics, https://aibuildindex.com/cost/ai-api-integration, https://aibuildindex.com/cost/document-search-rag, https://aibuildindex.com/cost/support-chatbot, https://aibuildindex.com/cost/document-data-extraction

Two things stand out. First, RAG has a lower median than its neighbours in the data family. [Chat with your data](https://aibuildindex.com/cost/text-to-sql-analytics), which answers questions from a database rather than from documents, has a $2,500 median, and [LLM fine-tuning](https://aibuildindex.com/cost/llm-fine-tuning) $3,500. Only [document data extraction](https://aibuildindex.com/cost/document-data-extraction), at $1,400, and [support chatbots](https://aibuildindex.com/cost/support-chatbot), at $2,000, sit lower.

Second, RAG's band is wide for its median. It starts at $300, lower than chat with your data at $500, but it ends at $8,800, above the $7,200 top of the market's middle half and well above the $5,300 top for support chatbots. A support chatbot and a document search tool look alike to a user, since both answer questions in a chat box. The difference is underneath: a support bot usually answers from a short, curated set of help articles, while internal search has to ingest whatever the company keeps, in whatever state it is in.

## 1. Expected length: the cliff at three months

The length a buyer expects is the clearest signal in a RAG brief, and the shape is a cliff rather than a slope.

**RAG and document search: median budget by expected length** (Priced briefs in each band are shown in the table.)

| Expected length | Median cost | Priced briefs |
| --- | --- | --- |
| Under 1 month | $260 | 256 |
| 1 to 3 months | $3,200 | 448 |
| 3 to 6 months | $18,000 | 109 |
| Over 6 months | $24,000 | 105 |

Source: https://aibuildindex.com/cost/document-search-rag

Work expected to take under a month has a median of $260. One to three months rises to $3,200. Past three months it jumps to $18,000, and over six months it is $24,000. The step from one-to-three months to three-to-six months is 5.6 times, larger than any other step on the chart, and the gap from the shortest to the longest work is 92 times.

Part of this is built into the method: hourly budgets are estimated from rate, length and workload, so longer work prices higher by construction. But the cliff also matches what the briefs describe. A short RAG brief is usually a proof of concept: load a folder of PDFs, split them into chunks, embed them and put a chat window on top. That can be done in days with off-the-shelf parts. A long brief adds the things the [cost page](https://aibuildindex.com/cost/document-search-rag) lists as the real drivers: many sources with messy documents, [access control](https://aibuildindex.com/glossary/access-control) so people only see what they are allowed to, a test set of real questions, and a plan for re-indexing documents as they change. One likely reading is that the cliff marks the line between a demo and a system people rely on.

Most RAG work sits on the near side of the line. 32% of briefs expect the work done in under a month, 47% in one to three months and 21% over a longer stretch.

## 2. Fixed price and hourly are two different markets

**Fixed-price budgets against hourly estimates** (Median of each kind of brief, for five data and AI builds.)

|  | Fixed-price median | Hourly estimate median | Hourly as a multiple of fixed |
| --- | --- | --- | --- |
| LLM fine-tuning | $400 | $11,500 | 29x |
| Search over internal documents | $290 | $7,200 | 25x |
| Custom AI agent | $300 | $6,800 | 23x |
| Chat with your data | $400 | $5,200 | 13x |
| Document data extraction | $300 | $4,800 | 16x |

Source: https://aibuildindex.com/cost/llm-fine-tuning, https://aibuildindex.com/cost/document-search-rag, https://aibuildindex.com/cost/custom-ai-agent, https://aibuildindex.com/cost/text-to-sql-analytics, https://aibuildindex.com/cost/document-data-extraction

Fixed-price RAG briefs state a median of $290, almost the same as fixed-price agent briefs at $300. Hourly RAG briefs work out at $7,200 on our estimate, above the $6,800 for agents and well above the $5,600 hourly median across the market. So RAG is not cheap work. Its overall median is low because its fixed-price briefs are small, and 440 of the 918 priced briefs are fixed-price.

The [Pulse report](https://aibuildindex.com/pulse) finds the same two markets everywhere: fixed-price briefs peak at $100 to $250 and hourly briefs at $2,500 to $5,000. For RAG the gap is 25 times. If one quote says $290 and another says $7,200, they almost certainly describe different jobs, and the first is likely the proof of concept from the section above.

## 3. Senior work is the norm, and it costs 3.5 times mid-level

**RAG and document search: median budget by seniority requested**

| Seniority requested | Median cost | Priced briefs |
| --- | --- | --- |
| Junior | $150 | 18 |
| Mid-level | $1,000 | 382 |
| Senior | $3,500 | 518 |

Source: https://aibuildindex.com/cost/document-search-rag

51% of RAG briefs ask for senior level, above the 42% share of AI briefs that ask for senior level across the market. Those briefs have a median of $3,500, 3.5 times the $1,000 for mid-level. Junior briefs show a median of $150, but on only 18 priced briefs, so read that bar as a hint rather than a finding.

The premium fits where RAG projects go wrong. Retrieval that works on ten clean files often fails on ten thousand messy ones, and the fixes are judgement calls: how to split tables and scanned pages, when to add [hybrid search](https://aibuildindex.com/glossary/hybrid-search) or [reranking](https://aibuildindex.com/glossary/reranking), and how to measure whether answers improved. Briefs that ask for [evaluation or guardrails](https://aibuildindex.com/glossary/evals) have a median of $5,000 across the whole market, twice the $2,500 median, which points the same way.

## 4. The stack a brief names

Briefs that name a tool give a sharper read than the RAG label alone. Most samples here are small, so the chart is a map of where budgets sit rather than a ranking.

**RAG and document search by the tool the brief names** (Middle half and median. Samples range from 31 to 195 priced briefs; see the table below.)

|  | Median | Middle half | Top 10% from | Priced briefs |
| --- | --- | --- | --- | --- |
| Azure | $6,400 | $1,250 to $19,600 | $28,800 | 35 |
| AWS | $3,800 | $400 to $12,000 | $24,920 | 88 |
| Claude | $3,600 | $300 to $8,000 | $16,560 | 65 |
| LangGraph | $3,050 | $430 to $12,450 | $25,020 | 38 |
| Llama | $2,000 | $480 to $5,200 | $15,440 | 31 |
| OpenAI | $1,800 | $200 to $6,600 | $18,000 | 195 |
| LangChain | $1,600 | $200 to $9,680 | $22,230 | 174 |
| Pinecone | $1,440 | $190 to $6,130 | $9,900 | 35 |

Source: https://aibuildindex.com/tools/azure/document-search-rag, https://aibuildindex.com/tools/aws/document-search-rag, https://aibuildindex.com/tools/claude/document-search-rag, https://aibuildindex.com/tools/langgraph/document-search-rag, https://aibuildindex.com/tools/llama/document-search-rag, https://aibuildindex.com/tools/openai/document-search-rag, https://aibuildindex.com/tools/langchain/document-search-rag, https://aibuildindex.com/tools/pinecone/document-search-rag

Cloud platforms sit highest. RAG briefs naming [Azure](https://aibuildindex.com/tools/azure/document-search-rag) have a median of $6,400 and a middle half that starts at $1,250, on 35 priced briefs. Those naming [AWS](https://aibuildindex.com/tools/aws/document-search-rag) have a median of $3,800 on 88 briefs. These are usually search tools inside a company's own cloud, where the documents already live and where security review comes with the job.

Among model providers, briefs naming [Claude](https://aibuildindex.com/tools/claude/document-search-rag) have a median of $3,600 on 65 briefs, double the $1,800 for [OpenAI](https://aibuildindex.com/tools/openai/document-search-rag) on 195. LangGraph sits at $3,050, while [LangChain](https://aibuildindex.com/tools/langchain/document-search-rag), the most common framework at 174 briefs, has a median of $1,600.

The lowest median belongs to [Pinecone](https://aibuildindex.com/tools/pinecone/document-search-rag), at $1,440 on 35 briefs, with the top tenth starting at just $9,900. One likely reason is that naming a hosted [vector database](https://aibuildindex.com/glossary/vector-database) often signals a quick build on standard parts, while naming a cloud platform signals a build that has to fit into existing infrastructure. Azure, Pinecone and Llama all sit under 50 priced briefs, so treat their positions as signals.

## 5. Where the buyer is

**RAG and document search by buyer country** (Middle half and median. Buyer location, not where the work is done.)

|  | Median | Middle half | Top 10% from | Priced briefs |
| --- | --- | --- | --- | --- |
| United States | $3,200 | $300 to $12,800 | $28,800 | 328 |
| Australia | $3,000 | $350 to $5,680 | $24,000 | 47 |
| Pakistan | $1,900 | $200 to $6,530 | $22,500 | 76 |
| Canada | $1,600 | $350 to $9,600 | $31,680 | 45 |
| India | $1,000 | $150 to $9,900 | $23,400 | 81 |
| United Kingdom | $800 | $200 to $4,720 | $18,000 | 65 |

Source: https://aibuildindex.com/countries/united-states/document-search-rag, https://aibuildindex.com/countries/australia/document-search-rag, https://aibuildindex.com/countries/pakistan/document-search-rag, https://aibuildindex.com/countries/canada/document-search-rag, https://aibuildindex.com/countries/india/document-search-rag, https://aibuildindex.com/countries/united-kingdom/document-search-rag

Buyers in the [United States](https://aibuildindex.com/countries/united-states/document-search-rag) post 328 of the priced RAG briefs, 32% of the total, and budget a median of $3,200, with the middle half between $300 and $12,800. The [United Kingdom](https://aibuildindex.com/countries/united-kingdom/document-search-rag) sits lowest at $800 on 65 briefs, a quarter of the US figure. [India](https://aibuildindex.com/countries/india/document-search-rag) has a $1,000 median, but its middle half still reaches $9,900. That combination suggests Indian buyers post many small fixed-price first steps alongside a smaller number of serious long builds. Australia and Canada are both under 50 priced briefs.

The tails are closer than the medians. The top tenth starts at $28,800 in the United States, $23,400 in India and $18,000 in the United Kingdom. A buyer's country mostly changes how many small briefs it posts, not what a full system costs.

## Industry: legal and SaaS budget the most

| Industry | Median cost | Middle half | Priced briefs |
| --- | --- | --- | --- |
| Legal | $6,400 | $400–$18,350 | 16 |
| Technology | $3,600 | $300–$9,600 | 129 |
| SaaS | $3,600 | $450–$14,000 | 59 |
| Healthcare | $1,550 | $240–$8,000 | 16 |
| Marketing agency | $820 | $100–$9,150 | 38 |

[Technology](https://aibuildindex.com/industries/technology/document-search-rag) buyers and [SaaS companies](https://aibuildindex.com/cost/document-search-rag-for-saas) both budget a median of $3,600, two thirds above the overall $2,150. SaaS has the widest band, ending at $14,000, which fits RAG built into a product for customers rather than used by staff.

[Legal](https://aibuildindex.com/cost/document-search-rag-for-legal) has the highest median at $6,400, and its hourly briefs work out at $16,200, but on only 16 priced briefs. That fits privileged documents that need strict access controls and answers with citations, but the sample is too small to build on. [Healthcare](https://aibuildindex.com/cost/document-search-rag-for-healthcare) also rests on 16 briefs, and [marketing agencies](https://aibuildindex.com/industries/marketing-agency/document-search-rag), at $820 on 38, mostly post small fixed-price work, with a fixed median of $100.

## What to take from this

- **Decide whether you are buying a pilot or a system.** A proof of concept over a folder of files is a sub-$300 to $3,200 job. A search tool staff rely on across many sources is usually an $18,000-plus job. Say which one you want in the brief.
- **Count your sources and their state.** Scanned PDFs, spreadsheets and wikis with stale pages cost more to ingest than clean text. List them before asking for quotes.
- **Put permissions in scope from day one.** If people should only see their own team's documents, the answers must respect that. It is often harder than the AI and is a common reason projects run past three months.
- **Ask for a test set.** Fifty real questions with known answers are the cheapest way to tell whether a $3,500 senior build is better than a $1,000 one.
- **Compare like with like.** Check whether each quote is fixed or hourly and what length it assumes; that alone explains most 25x gaps.
- **Budget for running costs.** Embedding, storage and model usage grow with documents and questions. None of the figures here include them.

## Common questions

### How much does a RAG system cost to build?

The median budget for search over internal documents is $2,150, from 918 priced project briefs. Half fall between $300 and $8,800, and one in ten is $24,250 or more. Work expected to take under a month has a median of $260; over six months, $24,000.

### Why do RAG quotes range from hundreds to tens of thousands?

Mostly because short and long briefs describe different things. Work expected to take one to three months has a median of $3,200, against $18,000 for three to six months, and fixed-price briefs state a $290 median against $7,200 for hourly estimates.

### Is a RAG system more expensive than a support chatbot?

On the median, only slightly: $2,150 against $2,000. The difference is at the top. The middle half of RAG budgets ends at $8,800 against $5,300 for support chatbots, because internal search has to handle many sources, messy files and permissions.

### Does the vector database or model choice change the price?

It tracks the kind of build more than it sets the price. Briefs naming Pinecone have a $1,440 median and OpenAI $1,800, against $3,600 for Claude and $6,400 for Azure, though Azure and Pinecone each rest on 35 priced briefs. Builds inside a company's own cloud cost more.

> Figures are budgets buyers stated or hourly estimates, not contract prices, and exclude model usage, embedding and hosting fees. See [how the index is built](https://aibuildindex.com/methodology).

## Data behind this post

- https://aibuildindex.com/cost/document-search-rag
- https://aibuildindex.com/pulse
- https://aibuildindex.com/cost/document-search-rag-for-legal
- https://aibuildindex.com/cost/document-search-rag-for-saas
- https://aibuildindex.com/cost/document-search-rag-for-healthcare
- https://aibuildindex.com/industries/technology/document-search-rag
- https://aibuildindex.com/industries/marketing-agency/document-search-rag
- https://aibuildindex.com/cost/custom-ai-agent
- https://aibuildindex.com/cost/support-chatbot
- https://aibuildindex.com/cost/ai-saas-mvp
- https://aibuildindex.com/cost/document-data-extraction
- https://aibuildindex.com/cost/text-to-sql-analytics
- https://aibuildindex.com/cost/llm-fine-tuning
- https://aibuildindex.com/cost/mcp-integration
- https://aibuildindex.com/cost/ai-api-integration
- https://aibuildindex.com/tools/azure/document-search-rag
- https://aibuildindex.com/tools/aws/document-search-rag
- https://aibuildindex.com/tools/claude/document-search-rag
- https://aibuildindex.com/tools/langgraph/document-search-rag
- https://aibuildindex.com/tools/llama/document-search-rag
- https://aibuildindex.com/tools/openai/document-search-rag
- https://aibuildindex.com/tools/langchain/document-search-rag
- https://aibuildindex.com/tools/pinecone/document-search-rag
- https://aibuildindex.com/countries/united-states/document-search-rag
- https://aibuildindex.com/countries/australia/document-search-rag
- https://aibuildindex.com/countries/pakistan/document-search-rag
- https://aibuildindex.com/countries/canada/document-search-rag
- https://aibuildindex.com/countries/india/document-search-rag
- https://aibuildindex.com/countries/united-kingdom/document-search-rag
