Book a free call

RAG as a Service: What Managed Retrieval Gives You

RAG as a service runs retrieval for your AI: it ingests your documents, answers from them and keeps the index fresh. Learn what it includes and how to choose.

Hertiv engineering teamReviewed by a senior engineer
7 min read
RAG as a Service: What Managed Retrieval Gives You
On this page

Short answer

RAG as a service is a managed product that runs retrieval-augmented generation for a business: it ingests the company's documents, builds and maintains the search index, retrieves the right passages for each question, and generates answers grounded in those passages. The business keeps its documents and its access rules, while the provider runs the plumbing.

What is RAG as a service?

RAG as a service is a managed product that runs retrieval-augmented generation for a business, so the business does not have to build or run the retrieval pipeline itself. The service ingests the company's documents, turns them into searchable chunks, retrieves the passages that match a question, and asks a language model to answer from those passages.

The key idea is the split of responsibility. The business owns the documents, the access rules and the answers its users should get. The provider owns the infrastructure: the ingestion jobs, the vector store, the retrieval tuning and the model calls. When a document changes, the provider re-indexes it so answers stay current.

It differs from a plain chatbot, which answers from what the model was trained on, and from a search tool, which returns documents instead of answers. RAG as a service returns an answer with the passages it came from, so a user can check the source. For the wider comparison, see build vs buy RAG.

What does a RAG service include?

A RAG service includes the whole pipeline from documents to answers, plus the controls that make it safe to use in a business. The table below shows the parts and who is responsible for each one.

Part What it does Who runs it
Document ingestion Pulls files from drives, wikis and tickets on a schedule The provider, with connectors the business approves
Chunking and embedding Splits documents into passages and turns them into vectors The provider
Vector store Holds the passages and finds the closest matches The provider
Retrieval Chooses the passages that answer each question The provider, tuned to the business
Answer generation Drafts the answer from the retrieved passages The provider, using a chosen model
Access control Limits answers to documents the user may see Shared: the business sets the rules
Monitoring Tracks answer quality, gaps and failed questions The provider, with reports to the business

Access control is the part buyers check most closely. A support agent should not see finance documents, and a customer should not see internal notes. The service must respect the business's permissions at retrieval time, not just at login, or the wrong document can leak into an answer.

Managed RAG or build your own?

Managed RAG and building your own solve the same problem with different trade-offs, and the right choice depends on the team's size, the data and how much control is needed. Most small teams start managed and build later only if they outgrow it.

A managed service is faster to start. The team connects its documents, sets access rules and starts asking questions within days, without hiring engineers to run a vector store or tune retrieval. The cost is control: the team cannot change the chunking rules or swap the embedding model whenever it likes, and it depends on the provider's uptime.

Building your own gives full control over the pipeline, the models and the data location, which matters for regulated industries and for teams with unusual documents. It also costs far more in engineering time, because retrieval quality needs constant tuning and the index needs care as documents change. For a step-by-step build, see how to implement RAG.

A common middle path is to start with a managed service for one use, such as support answers, and keep the option to bring the pipeline in-house later if the volume or the rules demand it.

What drives the cost of RAG as a service?

The cost of RAG as a service comes from four drivers, and the mix differs by provider, so buyers should compare the same usage across vendors rather than the headline price. Prices vary too much to give a useful number here, so ask vendors for a quote based on your own volumes — see vendor site.

Document volume is the first driver. Providers charge for the number of documents or pages indexed, and for re-indexing when documents change often. A wiki that changes daily costs more to keep fresh than a stable policy library.

Query volume is the second. Each question triggers retrieval and a model call, so a support team answering hundreds of questions a day pays more than a small team answering a few dozen. Some providers charge per query, others per user per month.

Model choice is the third. A larger model gives better answers but costs more per query, while a smaller model is cheaper and faster. The provider should let the business choose the model per use, rather than forcing one model for everything.

Support and guarantees are the fourth. A service with a named support contact, uptime promises and help tuning retrieval costs more than a self-serve product, and for a business that depends on the answers, that support is often worth it.

How do you choose a RAG service provider?

Choosing a RAG service provider is a five-step check that starts with the documents and ends with a paid pilot. A provider that passes the pilot on the business's own questions is worth more than one with a polished demo.

  1. List your documents and users. Write down where the documents live, how often they change, who may see them, and how many questions a day the service must answer.
  2. Test with your own questions. Give each provider the same 40 questions from real users and the same documents, then compare which answers are grounded, which invent detail and which refuse when the answer is missing.
  3. Check access control in practice. Ask the provider to show that a user who cannot see a document never gets an answer from it, including in the passages the answer cites.
  4. Ask about freshness and exports. Find out how fast a changed document is re-indexed, and whether the business can export its index and documents if it leaves.
  5. Run a paid pilot. Put the service in front of a small team for a few weeks, measure answer quality and time saved, and decide on the numbers rather than the demo.

The pilot is where the differences show up. One provider may answer well on the demo but fail on the business's own jargon, while another handles it because its retrieval was tuned to the documents. For what a RAG build costs to run, see RAG development cost.

Example: a support team answers from its own docs

Example (hypothetical): a software company with 20 support agents receives about 300 customer questions a day. Today each agent searches the help centre and internal wiki by hand, taking about 8 minutes per question, which is 300 times 8 minutes, or 40 hours of staff time a day.

The company buys a RAG service and connects its help centre and wiki. An agent types the question, the service retrieves the matching passages and drafts an answer with the source attached, and the agent checks and sends it in about 2 minutes, which is 300 times 2 minutes, or 10 hours a day. The team saves about 30 hours a day, and the answers are more consistent because they come from the same documents.

The company keeps two safeguards. First, any question about refunds or account closure goes to a senior agent without a draft. Second, the team reviews the questions the service could not answer each week and adds the missing pages to the wiki.

After two months the company opens the same service to customers as a self-serve helper, because the pilot showed the answers were grounded and the gaps were shrinking.

What are the common mistakes?

The most common mistakes with RAG as a service are connecting the wrong documents, skipping the access-control test, and judging a provider on a demo instead of on the business's own questions.

  • Indexing everything. Old drafts, duplicates and out-of-date pages pollute the answers. Index only the documents the business wants users to rely on.
  • Skipping the access-control test. A service that respects permissions at login but not at retrieval can leak a private document into an answer. Test with a user who should not see it.
  • Trusting the demo. A demo runs on clean, simple documents. Test with the business's own messy documents and real questions before signing.
  • No plan for stale documents. If nobody owns updating the source documents, the answers slowly go out of date. Name an owner for each document set.
  • No exit plan. A service that holds the index and the tuning and cannot export them locks the business in. Ask about exports before signing.

Key takeaways

  • RAG as a service runs the whole retrieval pipeline for you, while your business keeps its documents and access rules
  • The service ingests documents, builds the index, retrieves passages and drafts answers with the sources attached
  • Managed RAG is faster to start; building your own gives more control but costs far more engineering time
  • Cost depends on document volume, query volume, model choice and support, so compare vendors on your own usage
  • Test every provider with the same 40 real questions and check access control before you sign

Frequently asked questions

What is the difference between RAG as a service and a chatbot?

A chatbot answers from what its model was trained on, while RAG as a service answers from your own documents and shows the passages it used. That grounding is what makes it useful for support, sales and internal questions where the answer must match your own material.

Does RAG as a service store my documents?

Yes, the provider stores a copy of your documents and the search index it builds from them, so you should check where the data lives, how it is encrypted and how it is deleted when you leave. The contract should name the storage location and the deletion process.

Can RAG as a service respect our document permissions?

A good service can, by checking the user's permissions at retrieval time so a document the user may not see never appears in an answer or its citations. Ask the provider to demonstrate this with a test user before you sign.

How long does it take to set up RAG as a service?

A small setup with a help centre and a wiki can be running in days, while a larger rollout with many sources and strict access rules usually takes a few weeks. The pilot with your own questions is the part that takes the most time and matters the most.

What happens when our documents change?

The provider re-indexes changed documents on a schedule or when a change is detected, so answers stay current. Ask how fast a change appears in answers, because a slow refresh means users get out-of-date guidance.

Can we leave a RAG service later?

It depends on the provider, so ask before signing whether you can export your documents, your index and your tuning settings. A service that exports cleanly costs less to leave than one that holds everything it built.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Need AI answers grounded in your own documents? Talk to Hertiv.

A senior engineer replies within one business day. Or see our RAG Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call