RAG Development Cost in 2026: Build, Run and Maintain

In this article
- In 2026 a RAG prototype costs about $15k–$40k, a production RAG system for one use case $40k–$120k, and a multi-source enterprise system $120k–$300k+ with a Central/Eastern European or Latin American vendor. US onshore agencies charge roughly 2–2.5× more.
- The ranges are estimates, built from team size, weeks of work and blended hourly rates. The number and state of your sources, access permissions, evaluation depth, integrations and the interface move the price far more than the choice of model.
- Running costs fall into six lines: model tokens, embeddings, vector storage, hosting, monitoring and maintenance. The first three can be estimated from your own volumes before you sign anything.
- At moderate volume, maintenance (15–20% of the build per year) is usually a bigger line than model tokens. Tokens take over only at high query volume or with very large retrieved context.
Jump to
- RAG development cost: the short answer
- How the build ranges are calculated
- What drives the build cost
- Where the running costs come from
- RAG cost calculator: build and monthly run
- Quiz: what should your first RAG budget buy?
- What a RAG development agency charges by region
- How to reduce the cost without breaking the system
- Where Gilzor fits
RAG development cost: the short answer
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.
| Scope | What you get | Team and effort | CEE / LatAm vendor | US onshore agency | Timeline |
|---|---|---|---|---|---|
| RAG prototype | One source, a basic pipeline, a test set of real questions, measured answer quality and a cost-per-query figure | 2 people, 250–650 hours | $15k–$40k | $35k–$100k | 4–8 weeks |
| Production RAG system, one use case | 2–4 sources with scheduled sync, role-based access, citations, evaluation in CI, monitoring, a chat or search interface | 3–5 people, some part-time, 700–2,000 hours | $40k–$120k | $100k–$280k | 3–5 months |
| Multi-source enterprise RAG system | Many sources and formats, document-level permissions synced from source systems, SSO, audit logs, several integrations, admin tools | 4–6 people, 2,000–5,000 hours | $120k–$300k+ | $280k–$700k+ | 5–9 months |
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.
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 line | How to estimate it | What makes it grow |
|---|---|---|
| Model tokens | Questions 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. |
| Embeddings | Total 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 storage | Number 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. |
| Hosting | The 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. |
| Monitoring | Trace 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. |
| Maintenance | 15–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
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




Talk to the people who build it. Tell us about your project and get a free estimate of scope, timeline and cost.
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.
| Region | Senior rate, $/hour | Shared hours with US East Coast | Same production RAG system (~1,200 h) |
|---|---|---|---|
| US onshore agency | $130–200 | Full day | $156k–$240k |
| Latin America (nearshore) | $45–75 | 6–9 hours | $54k–$90k |
| Central/Eastern Europe (offshore) | $45–75 | 2–4 hours with shifted schedules | $54k–$90k |
| South / Southeast Asia (offshore) | $25–45 | Little 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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?
How much does a RAG chatbot cost to build?
What does it cost to run a RAG system per month?
How much does it cost to hire a RAG development agency?
What makes a RAG system expensive?
Is the vector database the main running cost of RAG?
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.

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?
Services
AI/ML SolutionsComputer vision, NLP, predictive analytics, automation.→By company type
Selected projects






The team behind them





