Skip to content
OrchidBytes

Cost guide

RAG Development Cost in 2026: Build, Run and Hidden Costs

By the OrchidBytes team · Updated October 6, 2026 · 10 min read

Key takeaway:RAG knowledge assistants cost $10,000–$75,000 to build and $150–$2,500/month to run in 2026. A typical query costs $0.001–$0.03 in model fees; embedding 10,000 docs costs $1–$10.

Most RAG knowledge assistants cost $10,000–$75,000 to build and $150–$2,500 a month to run in 2026. A single-team assistant over one clean source sits at the low end. A company-wide assistant with many sources, permissions that mirror your existing access rules and audit logs sits at the high end, and enterprise deployments can exceed $150,000.

Quick answer

  • Starter assistant (one source, one team): $10,000–$25,000 to build, $150–$500/month.
  • Business assistant (2–5 sources, role-based access, citations): $25,000–$75,000, $400–$2,500/month.
  • Per query: about $0.001 on small models and $0.017 on mid-tier models, plus about $0.002 for re-ranking (as of October 2026).
  • Embeddings are cheap: a 10,000-document corpus costs $1–$10 to embed.
  • The real cost is your documents: cleanup and permissions drive the budget more than models.

How much does a RAG knowledge assistant cost to build?

A RAG assistant costs $10,000–$25,000 for one source and one team, $25,000–$75,000 for several sources with permissions, and $75,000–$250,000+ for enterprise scale. Published 2026 vendor ranges agree broadly: most production builds land between $25,000 and $80,000.

RAG, or retrieval-augmented generation, means the model looks up relevant passages in your documents before answering, then cites them. The pipeline has seven parts: ingestion, chunking, embedding, indexing, retrieval with re-ranking, generation with citations, and evaluation.

Tier What it includes Build cost Timeline Monthly running cost
Starter One source (a Drive folder or help center), under ~5,000 documents, one team, shared access $10,000–$25,000 3–5 weeks $150–$500
Business 2–5 sources (Notion, Confluence, Drive, SQL), role-based access, citations, hybrid search with re-ranking $25,000–$75,000 6–12 weeks $400–$2,500
Enterprise 10+ sources, millions of documents, SSO, document-level access sync, multilingual, audit logs, private hosting $75,000–$250,000+ 3–6 months $2,500–$15,000+

If you are weighing whether to retrieve or retrain, read RAG vs. fine-tuning first.

Why do your documents drive most of the build price?

Document quality, number of sources and permissions account for most of the difference between a $15,000 and a $75,000 RAG build. Clean Markdown from one help center is cheap to ingest; scanned PDFs with tables, spread across five systems with different access rules, are not.

Cost driver Lower cost Higher cost Typical impact
Document quality Clean HTML or Markdown Scanned PDFs, complex tables, images +$3,000–$20,000 for OCR and layout parsing
Sources One Five or more connectors +$2,000–$8,000 per connector
Permissions Everyone can see everything Per-user access mirrored from each source +$5,000–$25,000
Accuracy bar Internal, "good enough" Legal or medical, must be cited and checked Larger evaluation set, human review
Freshness Weekly re-index Near-real-time sync +$2,000–$10,000
Hosting Cloud model APIs Private VPC or open-weight models on your own GPUs +$10,000–$50,000+

Permissions are the line item most teams underestimate. If an employee can't open a document in Confluence, the assistant must not quote it to them. Mirroring those rules across several systems, and testing that they hold, is real engineering work. It is also the bug with the worst consequences.

What does a RAG system cost to run each month?

A RAG system costs $150–$2,500 a month for most teams, and generation tokens are the largest variable line. Embeddings, which people worry about most, are close to free.

As of October 2026, list prices put each part of the bill here:

Line item Unit price Typical monthly cost
Embedding the corpus $0.02 (OpenAI text-embedding-3-small), $0.13 (text-embedding-3-large), $0.20 (Gemini Embedding 2) per 1M tokens $1–$10 one time for 10,000 documents
Generation, mid-tier model Claude Sonnet 5.5 or GPT-6.1-sol: $2 input / $10 output per 1M tokens About $0.017 per query
Generation, small model Claude Haiku 5.5: $0.10 / $0.50 per 1M tokens About $0.001 per query
Re-ranking Cohere Rerank: about $2.00–$2.50 per 1,000 searches About $0.002 per query
Vector store Postgres with pgvector, or a managed vector database $0–$500
Sync jobs, hosting, monitoring Serverless jobs and logging $50–$400

The per-query figure assumes 6,000 tokens of retrieved passages, a 2,000-token cached system prompt and a 500-token answer. Embedding is cheap because it happens once per document: 10,000 documents of about 5,000 tokens each is 50 million tokens, or about $1 on text-embedding-3-small. That is less than one hour of engineering time.

Add maintenance of roughly 15–25% of the build cost per year for re-indexing, evaluation runs and new sources.

Our cost math: a 200-person assistant vs. Copilot seats

In our analysis, a $40,000 custom assistant for 200 employees costs about $3,290 a month all-in, or $16.43 per user. Microsoft 365 Copilot lists at $30 per user per month for enterprise, so the custom build is cheaper above about 103 users. This is our own model from list prices, not survey data.

Assumptions: 200 users, 5 queries per workday, 21 workdays, so 21,000 queries a month; mid-tier model at $0.017 per query plus $0.002 re-ranking; vector store $70, hosting and sync $100, monitoring $50 a month; build $40,000 amortized over 24 months; maintenance $1,000 a month.

Line Monthly cost
Build, amortized (40,000 ÷ 24) $1,667
Maintenance $1,000
Tokens and re-ranking (21,000 × $0.019) $399
Vector store, hosting, monitoring $220
Custom total $3,286 ($16.43/user)
Copilot at $30/user (enterprise list) $6,000
Copilot Business at $21/user (list) $4,200

Each user adds about $2 a month in query costs, against $2,887 in fixed cost. Break-even is about 103 users against $30 seats and about 152 users against $21 seats. At 50 users, the custom assistant costs about $60 per user, double the Copilot price.

To be fair to Copilot: it does much more than document Q&A, and if your documents already live in SharePoint and OneDrive, it grounds on them out of the box. A custom assistant wins on cost at scale, and on capability when your knowledge lives in Confluence, SQL or a product database, or when the users are customers who can't get a Copilot seat. Model your own case with the AI cost calculator.

Which costs does a RAG project hide?

The hidden costs of RAG are mostly people's time: deciding which documents are true, writing test questions and checking permissions. Expect 20–60 hours from subject-matter experts across the project.

  • Content debt. Outdated and duplicate documents get cited confidently. Someone must retire them, ideally before ingestion.
  • Evaluation set. You need 50–200 real questions with expected answers. Writing them takes experts 10–30 hours, and without them nobody can say whether the assistant is accurate.
  • Tables and spreadsheets. Retrieval over tabular data often needs a separate SQL path, not embeddings.
  • Connector limits. Source APIs have rate limits that slow full re-syncs.
  • Re-embedding. Switching embedding models means re-indexing everything. The compute is cheap; the re-testing is not.
  • Adoption. An assistant people don't open has no value. Putting it in Slack or Teams usually matters more than a better model.

Custom build, freelancer, in-house or off-the-shelf: which is cheaper?

An off-the-shelf assistant in a suite you already pay for is cheapest below about 100 users; a fixed-scope custom build is cheapest above that, or whenever your knowledge lives outside the suite. Freelancers suit a starter tier; in-house teams suit companies making retrieval part of their product.

Option Typical cost Best when Main tradeoff
Suite add-on (e.g., Microsoft 365 Copilot) $18–$30 per user per month Documents already live in that suite Cost grows with every seat; limited control over retrieval
Freelancer $8,000–$30,000 One source, technical owner on your side Permissions and evaluation often thin
Studio or agency $12,000–$150,000 Several sources, permissions, deadlines Insist on a fixed scope and an accuracy report
In-house team $150,000–$250,000/year per senior engineer Retrieval is part of your product Slow to staff for a single assistant

For more on evaluating vendors, see how to choose an AI development company.

When is a custom RAG assistant not worth building?

A custom RAG assistant is not worth building if your content fits in a model's context window, if you have fewer than about 100 users already on Microsoft 365 or Google Workspace, or if nobody will maintain the documents. In those cases, simpler options cost less and perform as well.

The context-window point is the one most vendors leave out. If your knowledge base is under roughly 100,000 tokens, about 200 pages, you can put it all in a cached prompt. On Claude Sonnet 5.5, reading 100,000 cached tokens costs about $0.01 per query, plus $0.25 to rewrite the cache when it expires after five minutes of inactivity. No retrieval pipeline, no vector store, no chunking bugs.

And if your documents are a mess, a RAG system will repeat the mess back with citations. Fix the content first. That costs nothing but time, and it is the step we would ask you to finish before paying us.

How do you lower RAG costs?

You lower RAG costs mostly by starting smaller: one source, the 50 most common questions, and Postgres with pgvector instead of a separate vector database. Good retrieval with re-ranking also lets you use a cheaper generation model; a small model at about $0.001 per query costs roughly 95% less than a mid-tier one at $0.017.

Cache answers to frequent questions, delete outdated documents before ingestion, and add sources only when usage data shows people asking about them.

How does OrchidBytes price RAG development?

OrchidBytes builds RAG assistants as a fixed-scope package with a published starting price.

  • RAG Knowledge Assistant: from $12,000, 3–4 weeks. Ingestion for PDFs, Notion, Drive, Confluence or SQL; hybrid search with re-ranking; answers with source citations; role-based access control; and an accuracy evaluation report.
  • LLM Feature Integration: from $10,000, 3–4 weeks. When the assistant needs to live inside your existing product.
  • AI Care Plan: $1,500/month. Monthly evaluations, model updates, cost tuning and up to 20 hours of improvements.

Chatsy, a support platform built by our parent company, the ZTABS group, uses the same pattern: agents answer from a knowledge base to keep responses accurate and on-brand. See pricing and the full RAG development service.

Next step

If your documents are spread across several systems and you're not sure where to start, the AI Readiness Audit ($2,500, one week) includes a data readiness review and a fixed-price quote. If your scope is clear, book a call.

Related guides: RAG vs. fine-tuning · AI chatbot development cost · AI agent development cost · LLM integration · AI cost calculator

FAQ

Frequently asked questions

Something else on your mind? Ask us on a free call.

How much does it cost to build a RAG system?

A single-source RAG assistant typically costs $10,000–$25,000. A multi-source assistant with permissions, citations and re-ranking typically costs $25,000–$75,000. Enterprise systems with SSO, document-level access sync and audit logs run $75,000–$250,000 or more.

How much does a RAG system cost per month to run?

Most RAG assistants cost $150–$2,500 a month to run. A query on a mid-tier model costs about $0.017 in tokens plus about $0.002 for a hosted re-ranker, as of October 2026. For 21,000 queries a month, infrastructure lands around $600.

How much do embeddings cost for RAG?

Very little. Embedding 10,000 documents of about 5,000 tokens each (50 million tokens) costs about $1 with OpenAI text-embedding-3-small, $6.50 with text-embedding-3-large, or $10 with Gemini Embedding 2, at October 2026 list prices.

Is RAG cheaper than fine-tuning?

For keeping answers current with your documents, usually yes. RAG updates by re-indexing documents, while fine-tuning needs retraining whenever facts change. Fine-tuning suits style and format, not frequently changing knowledge.

Do I need RAG if my documents fit in the context window?

Often not. If your content is under roughly 100,000 tokens, about 200 pages, you can place it in a cached prompt. On Claude Sonnet 5.5, reading 100,000 cached tokens costs about $0.01 per query, which is simpler than building retrieval.

Start a project

Tell us what you want AI to do. We'll tell you what it costs.

A free 30-minute scoping call. You leave with a fixed-price recommendation, or an honest "don't build this".