· 14 min read

RAG Development Cost in 2026: Build, Run and Maintain

A RAG prototype costs about $15,000–$40,000, a production RAG system for one use case $40,000–$120,000, and a multi-source enterprise system $120,000–$300,000+. Those are 2026 estimates for Central/Eastern European or Latin American vendors; US onshore agencies charge about 2–2.5× more. After launch you pay for model tokens, embeddings, vector storage, hosting, monitoring and maintenance, and most of those can be estimated from your own volumes. Below: how the build ranges are put together, what moves them, how to estimate each running cost, and a calculator.
Documents flowing into a vector index and out to a chat answer, with a coin marking the cost of each step
Pricing a RAG system?Tell us the sources, who is allowed to see what, and how many questions a month you expect. We will estimate the build and the running cost.
Price my RAG system

RAG development cost: the short answer

$15k–$40kRAG prototype on one source, 4–8 weeks
$40k–$120kProduction RAG system for one use case
$120k–$300k+Multi-source enterprise RAG system with permissions
15–20%Of the build cost per year for maintenance, before usage fees

These are estimated 2026 build budgets with a Central/Eastern European or Latin American vendor. US onshore agencies quote roughly 2–2.5 times as much for the same scope. The figures cover design, build, testing and launch. They don't cover running costs, which get their own section below because in retrieval-augmented generation (RAG) they depend on usage, not on the build.

The spread inside each range comes from the data, not from the model. A system that answers from 300 clean help articles and one that answers from 200,000 scanned contracts with per-client access rules both count as RAG. If you are still deciding whether RAG is the right approach at all, start with what RAG is and RAG vs fine-tuning, then come back for the numbers.

How the build ranges are calculated

The ranges above are not prices from a rate card or averages of past invoices. They are estimates: a team, a number of weeks, and a blended hourly rate. We use the same rate assumptions as in our chatbot and AI agent cost guides: about $60 an hour blended for a Central/Eastern European or Latin American vendor, about $140–150 for a US onshore agency and about $35 in South and Southeast Asia. "Blended" means the average across AI engineers, backend developers, QA and a part-time project lead.

ScopeWhat you getTeam and effortCEE / LatAm vendorUS onshore agencyTimeline
RAG prototypeOne source, a basic pipeline, a test set of real questions, measured answer quality and a cost-per-query figure2 people, 250–650 hours$15k–$40k$35k–$100k4–8 weeks
Production RAG system, one use case2–4 sources with scheduled sync, role-based access, citations, evaluation in CI, monitoring, a chat or search interface3–5 people, some part-time, 700–2,000 hours$40k–$120k$100k–$280k3–5 months
Multi-source enterprise RAG systemMany sources and formats, document-level permissions synced from source systems, SSO, audit logs, several integrations, admin tools4–6 people, 2,000–5,000 hours$120k–$300k+$280k–$700k+5–9 months
Estimates, rounded: hours multiplied by a blended rate of about $60/hour for CEE and LatAm vendors. The US onshore column is about 2.3–2.5 times the CEE/LatAm figure, which corresponds to blended rates of roughly $140–150/hour. Not quotes.

Check the arithmetic yourself: 700 hours at $60 is $42,000, and 2,000 hours at $60 is $120,000. Calendar time is longer than the hours suggest, because RAG projects wait on things outside the team: access to source systems, security review, and your experts checking whether answers are correct.

The middle row matches the "AI knowledge base assistant" tier in our chatbot guide. Our AI development cost guide gives a single $60k–$180k band for retrieval systems that mixes offshore and onshore teams at higher AI-heavy rates, so it falls between the two columns here rather than matching either one. A RAG chatbot for customer support is the most common version of that row.

What drives the build cost

In a demo, RAG is a short script: split documents, embed them, retrieve the top matches, ask a model. Production cost comes from everything that script ignores. The five drivers, roughly in the order they move the price:

  • Number and messiness of sources. Each source needs a connector, a parser and a sync job that handles updates and deletions. Clean HTML or Markdown takes days. Scanned PDFs need OCR, tables and multi-column layouts break naive text extraction, and wikis full of outdated duplicates make the system repeat old answers with confidence. As a rule of thumb, messy sources can add 20–45% to the build, and they are the input buyers most often rate too optimistically.
  • Permissions. If every user may see every document, access control is free. If not, the retriever has to filter results by what the asking user is allowed to read, and those access lists have to stay in sync with the source systems. A permission change that reaches the index a day late is a data leak. Document-level permissions across several sources are the main reason enterprise systems cost what they do.
  • Evaluation. You can't test RAG with fixed expected outputs. You need 100–300 real questions with correct answers and the passages that support them, automated scoring of retrieval and answer quality, and a person who decides what is good enough. A smoke test is a few days. A regression suite that runs on every change is several weeks, and it is what lets you later switch to a cheaper model with evidence. Our RAG evaluation guide covers the metrics.
  • Integrations. Single sign-on, the helpdesk or CRM the answers appear in, ticket creation, analytics. Each one adds authentication, error handling and tests. Our API integration cost guide prices that work on its own.
  • Interface. An API with no screens is the cheapest. A chat window with citations, feedback buttons and conversation history adds a few weeks. An assistant embedded in your product, with an admin view for content owners, adds more.

Two more factors act as multipliers: compliance (regulated data narrows the choice of model providers and hosting, and adds audit logging) and the cost of a wrong answer, which decides how much evaluation and human review you need. The pipeline choices themselves are covered in RAG architecture.

Where the running costs come from

A RAG system has two paths, and they are billed differently. Indexing runs once for the whole corpus and again whenever content changes. Answering runs on every question.

Two paths, two kinds of bill Indexing: paid once, then per changed document Sources Parse, clean Chunk Embed Vector index connectors, OCR, sync jobs: build and maintenance embedding tokens storage, memory Answering: paid on every question Question Embed query Retrieve + permission filter Rerank Generate Answer a few tokens index queries extra model call model tokens largest per-question line Around both: hosting, monitoring, evaluation runs and maintenance, paid monthly
Indexing cost follows the size of your corpus and how often it changes. Answering cost follows the number of questions and how much retrieved text each one sends to the model.

We don't quote provider prices here: they change often and differ by vendor, model and plan. What stays stable is the method. Work out your volumes, then multiply by the current rates on your provider's price list.

Cost lineHow to estimate itWhat makes it grow
Model tokensQuestions per month × (system prompt + retrieved passages + chat history + question) for input, plus questions × answer length for output. Multiply each by your model's rate per million tokens.More questions, more or longer passages per question, long conversations (history is resent on every turn), query rewriting or multi-step retrieval that adds model calls.
EmbeddingsTotal tokens in the corpus for the first index, then the tokens in documents that change each month. Query embeddings add a few dozen tokens per question.Corpus churn, and full re-indexing. Changing the embedding model or the chunking strategy means embedding everything again, because vectors from different models are not comparable.
Vector storageNumber of chunks × vector dimensions × 4 bytes for standard 32-bit floats, plus index overhead and metadata. One million chunks at 1,536 dimensions is about 6 GB of raw vectors.Smaller chunks, higher dimensions, keeping several versions of the index, and in-memory indexes that need RAM for the whole set.
HostingThe API service, ingestion workers, a database for documents and chat logs, and the vector store if you host it yourself. Size it like any web backend, plus workers for parsing peaks.Self-hosted models (GPU instances), OCR at volume, data residency that requires dedicated infrastructure.
MonitoringTrace storage for every question (retrieved passages, prompt, answer, latency, cost) and scheduled evaluation runs, which spend model tokens too: test questions × tokens per question × runs per month.Retention rules, the size of the test set, and model-graded scoring, which doubles the calls per test question.
Maintenance15–20% of the build cost per year in engineering time.Source systems changing their APIs or formats, model retirements that force re-testing, new content types, bad answers that need investigation.

A worked example with volumes only. An internal assistant answers 20,000 questions a month. Each question sends an 800-token prompt and 4,000 tokens of retrieved passages, and gets 350 tokens back. That is 96 million input tokens and 7 million output tokens a month. At a placeholder rate of $1 per million input tokens and $5 per million output tokens, the bill is $96 + $35 = $131. Substitute your provider's real rates. For comparison, maintenance on a $75,000 build at 18% a year is $1,125 a month.

That comparison surprises most first-time buyers: at moderate volume, people cost more than tokens. It flips at scale. The same assistant at 500,000 questions a month on a model ten times the placeholder price spends over $30,000 a month on tokens, and trimming retrieved context from 4,000 to 2,000 tokens saves more than any infrastructure change. Prompt caching helps less in RAG than in agent loops, because the retrieved passages differ on every question and only the fixed system prompt repeats.

RAG cost calculator: build and monthly run

The calculator estimates the build from hours and a blended rate, then works out your monthly volumes. Enter the model prices from your provider's current price list; the defaults are placeholders, not anyone's actual rates. If you request a quote, your inputs go with it.

RAG development cost calculator

– Estimated build cost
monthsRough timeline with a right-sized team
M in / M outModel tokens per month (800-token prompt, 350-token answer)
Model cost per month at the prices you entered
M tokensTo embed for the first index (about 600 tokens per page)
M tokensTo re-embed per month as content changes
GBRaw vector storage (about 1.7 chunks per page, before index overhead)
Monthly running cost: model, hosting and monitoring allowance, maintenance (18% of build a year)
Large context per questionPast ~8,000 retrieved tokens, cost rises and answers often get worse. Rerank and send fewer, better passages.
Plan the permission sync earlyDocument-level access has to be enforced at retrieval time and tested per source. Retrofitting it after launch costs far more.
A prototype is not a launchIt answers whether retrieval works on your data and at what cost per question. Budget the production build separately.

Build hours: 300, 700 or 1,700 by scope plus 70 per source, multiplied by the source, permission, evaluation and interface factors, shown as −15% to +25%. Hosting and monitoring is a planning allowance of $150–$1,500 a month by scope and volume, not a vendor price. Embedding and storage are shown as volumes; multiply them by your provider's rates. Ranges, not a quote.

Try the defaults, then move "State of the sources" to messy and "Permissions" to document-level. The build grows by about half while the monthly token bill doesn't move. Now set questions to 500,000: the build stays put and tokens become the largest running line. Build cost follows your data. Running cost follows your traffic.

Built by Gilzor

Results we’ve shipped

70+products launched
98%delivered on time
85%clients come back
5.0on Clutch
Art Scherbakov, Co-FounderAndrew Laminsky, CTOYuri Rudenya, Head of Mobile Development at GilzorAlena Timofeeva, Product Marketing Lead

Talk to the people who build it. Tell us about your project and get a free estimate of scope, timeline and cost.

See how we’d approach yours

Quiz: what should your first RAG budget buy?

Five questions about your content and your users. The result points to the scope that fits today.

Which RAG scope fits you?

What a RAG development agency charges by region

If you hire an agency, region moves the price more than any feature. The rates below are planning estimates for senior engineers hired through a vendor in 2026, the same bands as in our chatbot cost guide. As a rule of thumb, engineers with production LLM experience bill 15–30% above a regular backend developer in the same region.

RegionSenior rate, $/hourShared hours with US East CoastSame production RAG system (~1,200 h)
US onshore agency$130–200Full day$156k–$240k
Latin America (nearshore)$45–756–9 hours$54k–$90k
Central/Eastern Europe (offshore)$45–752–4 hours with shifted schedules$54k–$90k
South / Southeast Asia (offshore)$25–45Little to none$30k–$54k

For an in-house comparison, the US Bureau of Labor Statistics put the median wage at $135,980 for software developers and $120,230 for data scientists in May 2025, before benefits, payroll taxes and recruiting. Two hires cost more per year than most production RAG builds, and they still need months to deliver one. In-house makes sense when RAG is the core of your product and will be developed for years.

Agencies sell this work three ways: a fixed-price discovery or prototype phase, a fixed price for an agreed build scope, or a team billed monthly. A fixed price for the whole build before anyone has looked at your documents is a guess with a margin added. For shortlists, see our lists of RAG development companies and RAG consulting companies.

How to reduce the cost without breaking the system

  1. Start with the sources that answer most questionsTwo well-kept sources usually cover the bulk of real questions. Every extra source is a connector to build and maintain, so add them when the test set shows a gap.
  2. Clean before you indexRemoving outdated and duplicate documents is cheap manual work that shrinks the index, the embedding bill and the number of wrong answers at once.
  3. Build the test set in week oneA hundred real questions with correct answers. Without it, every change to chunking, prompts or models is an argument from screenshots.
  4. Send less text per questionRetrieve broadly, rerank, and pass only the best few passages to the model. Input tokens are the largest usage line, and shorter context often improves answers.
  5. Pick the smallest model that passesRun the test set on two or three model sizes and take the cheapest one that meets your quality bar. Route only hard questions to a larger model.
  6. Index incrementallyRe-embed only documents that changed. Decide the embedding model and chunking with care at the start, because changing either means paying to index everything again.
  7. Decide permissions before the estimate"Everyone sees everything" and "access per document" are different projects. Changing your mind in month three is the most expensive scope change in RAG.
The quote to be careful with

A low fixed price for a "RAG system" that doesn't mention source cleanup, permissions, a test set or the expected cost per question is a price for the demo. Ask how answer quality will be measured, on which questions, and what the monthly running cost is at your volume and at three times that.

FAQ

How much does RAG development cost in 2026?
With a Central/Eastern European or Latin American vendor, a RAG prototype on one source costs about $15,000–$40,000. A production RAG system for one use case, with permissions, an evaluation set, monitoring and a simple interface, costs $40,000–$120,000. A multi-source enterprise system with access control synced from source systems and several integrations costs $120,000–$300,000 and more. US onshore agencies usually quote 2–2.5 times these numbers. All of these are estimates built from team size, weeks and blended rates, not fixed prices.
How much does a RAG chatbot cost to build?
A RAG chatbot is a production RAG system with a chat interface on top, so it sits in the $40,000–$120,000 range with a Central/Eastern European or Latin American vendor when it answers from one body of content on one channel. Extra channels, languages, actions in other systems and regulated data push it higher. The chat window is the cheap part. Preparing the content and proving the answers are right is where the hours go.
What does it cost to run a RAG system per month?
Add six lines: model tokens, embeddings, vector storage, hosting, monitoring and maintenance. Estimate tokens as queries per month times tokens per query (system prompt, retrieved passages, history, answer), priced at your provider's current rates. Embeddings and storage follow from the size of your corpus and how often it changes. Maintenance is usually budgeted at 15–20% of the build cost per year, and at moderate query volume it is often the largest line.
How much does it cost to hire a RAG development agency?
Agencies price RAG work by the hour or as a fixed price derived from hours. Senior engineers bill about $130–200 an hour through US onshore agencies, $45–75 in Central/Eastern Europe and Latin America, and $25–45 in South and Southeast Asia. A production RAG system of about 1,200 hours therefore costs roughly $156,000–$240,000 onshore and $54,000–$90,000 with a European or Latin American team. Many agencies start with a short paid discovery phase before quoting the build.
What makes a RAG system expensive?
Sources and trust. Every additional source needs a connector, parsing and a sync process. Scanned PDFs, tables and outdated duplicates multiply the cleanup work. If different users may see different documents, permissions have to be enforced at retrieval time and kept in sync with the source systems. And the higher the cost of a wrong answer, the more you spend on evaluation and review. The language model is rarely the largest line of the build.
Is the vector database the main running cost of RAG?
Usually not. Vector storage grows with the number of chunks and the vector dimensions, and for many company knowledge bases that is a few gigabytes (one million chunks at 1,536 dimensions is about 6 GB of raw vectors). Model tokens grow with every question and with the amount of retrieved text you send, so they overtake storage quickly as usage grows. Engineering time for maintenance and evaluation is typically larger than both until query volume gets high.

Where Gilzor fits

Gilzor builds custom RAG systems, RAG applications and chatbots, adds RAG to existing products, and consults on and evaluates RAG systems. Our team is in Poland, so we sit in the Central/Eastern Europe row of the table above, with partial overlap with the US working day. For a cost question, the useful first step is our 2-week fixed-price Discovery Sprint: it looks at your real sources and replaces the ranges on this page with an estimate for your scope. We have launched 70+ products, and 85% of our clients come back. See RAG development services for the build, or RAG consulting if you want a second opinion on a quote you already have.

No sales pitch

Get a straight answer for your project

Tell us what you’re building. We’ll reply with options, a rough cost and timeline. If we’re not the right fit, we’ll say so.

Next, a few optional questions so the first call is useful. We use your details only to reply to your request. Privacy Policy

Andrew Laminsky
Written byAndrew Laminsky

CTO of Gilzor. Responsible for architecture and the engineering standards our teams work by.

LinkedIn →

Gilzor · AI/ML Solutions partner

Need a team for your AI product?

95%referred by business partners
70+successful launches
85%repeat business
98%delivered on time

The team behind them

Art Scherbakov
Art ScherbakovCo-Founder
Andrew Laminsky
Andrew LaminskyCTOLinkedIn
Yuri Rudenya
Yuri RudenyaHead of Mobile Development at GilzorLinkedIn
Alena Timofeeva
Alena TimofeevaProduct Marketing LeadLinkedIn
Tell us what you’re buildingOptions, a rough cost and timeline for your project. No commitment.

More insights