Cost guide

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.

Median$2,150Search over internal documents
Middle half$300–$8,80025th to 75th percentile
Top one in ten$24,250+90th percentile
Priced briefs918See the data page

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 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 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.

See the numbers
RAG and document search against other AI builds
MedianMiddle halfTop 10% fromPriced briefs
AI SaaS MVP$4,000$870 to $10,000$25,2007,123
Custom AI agent$3,850$600 to $10,000$24,5002,831
LLM fine-tuning$3,500$420 to $13,700$27,10078
MCP server or tool integration$2,600$500 to $9,000$24,000291
Chat with your data$2,500$500 to $6,400$14,400439
AI API integration$2,500$500 to $6,400$15,1501,993
Search over internal documents$2,150$300 to $8,800$24,250918
Customer support chatbot$2,000$300 to $5,300$12,0001,344
Document data extraction$1,400$250 to $5,000$11,900423

Source: 9 AI Build Index data pages, linked from each label. Figures as of the latest snapshot.

Two things stand out. First, RAG has a lower median than its neighbours in the data family. Chat with your data, which answers questions from a database rather than from documents, has a $2,500 median, and LLM fine-tuning $3,500. Only document data extraction, at $1,400, and support chatbots, 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.

  1. $260Under 1 month
  2. $3,2001 to 3 months
  3. $18,0003 to 6 months
  4. $24,000Over 6 months
See the numbers
RAG and document search: median budget by expected length
Expected lengthMedian costPriced briefs
Under 1 month$260256
1 to 3 months$3,200448
3 to 6 months$18,000109
Over 6 months$24,000105

Source: 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 lists as the real drivers: many sources with messy documents, 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 medianHourly estimate median
  • LLM fine-tuning$11,500
  • Search over internal documents$7,200
  • Custom AI agent$6,800
  • Chat with your data$5,200
  • Document data extraction$4,800
See the numbers
Fixed-price budgets against hourly estimates
Fixed-price medianHourly estimate medianHourly as a multiple of fixed
LLM fine-tuning$400$11,50029x
Search over internal documents$290$7,20025x
Custom AI agent$300$6,80023x
Chat with your data$400$5,20013x
Document data extraction$300$4,80016x

Source: 5 AI Build Index data pages, linked from each label. Figures as of the latest snapshot.

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 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

  • Junior$150
  • Mid-level$1,000
  • Senior$3,500
See the numbers
RAG and document search: median budget by seniority requested
Seniority requestedMedian costPriced briefs
Junior$15018
Mid-level$1,000382
Senior$3,500518

Source: 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 or reranking, and how to measure whether answers improved. Briefs that ask for evaluation or guardrails 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.

Middle half of budgetsMedian
See the numbers
RAG and document search by the tool the brief names
MedianMiddle halfTop 10% fromPriced briefs
Azure$6,400$1,250 to $19,600$28,80035
AWS$3,800$400 to $12,000$24,92088
Claude$3,600$300 to $8,000$16,56065
LangGraph$3,050$430 to $12,450$25,02038
Llama$2,000$480 to $5,200$15,44031
OpenAI$1,800$200 to $6,600$18,000195
LangChain$1,600$200 to $9,680$22,230174
Pinecone$1,440$190 to $6,130$9,90035

Source: 8 AI Build Index data pages, linked from each label. Figures as of the latest snapshot.

Cloud platforms sit highest. RAG briefs naming Azure have a median of $6,400 and a middle half that starts at $1,250, on 35 priced briefs. Those naming AWS 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 have a median of $3,600 on 65 briefs, double the $1,800 for OpenAI on 195. LangGraph sits at $3,050, while LangChain, the most common framework at 174 briefs, has a median of $1,600.

The lowest median belongs to Pinecone, 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 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.

Middle half of budgetsMedian
See the numbers
RAG and document search by buyer country
MedianMiddle halfTop 10% fromPriced briefs
United States$3,200$300 to $12,800$28,800328
Australia$3,000$350 to $5,680$24,00047
Pakistan$1,900$200 to $6,530$22,50076
Canada$1,600$350 to $9,600$31,68045
India$1,000$150 to $9,900$23,40081
United Kingdom$800$200 to $4,720$18,00065

Source: 6 AI Build Index data pages, linked from each label. Figures as of the latest snapshot.

Buyers in the United States 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 sits lowest at $800 on 65 briefs, a quarter of the US figure. India 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.

IndustryMedian costMiddle halfPriced briefs
Legal$6,400$400–$18,35016
Technology$3,600$300–$9,600129
SaaS$3,600$450–$14,00059
Healthcare$1,550$240–$8,00016
Marketing agency$820$100–$9,15038

Technology buyers and SaaS companies 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 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 also rests on 16 briefs, and marketing agencies, 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.

Data behind this post

Cite this post: The AI Build Index, "RAG system cost: a $2,150 median and a cliff at three months", 17 November 2026. https://aibuildindex.com/blog/rag-system-cost Figures are free to reuse under CC BY 4.0 with a link.

Planning a build like this? Send the brief and get a fixed price set next to the market range.Get a quote

More from the blog

ComparisonClaude, OpenAI or Gemini: Claude builds budget $3,700Cost guideAI receptionist cost: a $620 median for small businessesCost guideSupport chatbot cost: a $2,000 median, and the store premium