Key takeaways

  • RAG as a service means a vendor runs the chunking, embedding, vector storage and search that let a model answer from your documents.
  • As of November 20, 2026, OpenAI charges $0.10 per GB per day after 1 GB free, Amazon Bedrock $5 per GB of raw data a month, and Cloudflare $2 per GB-month after 10 GB free.
  • Managed services fit ordinary files and fast launches; building your own pays off when you need control over chunking, embeddings or reranking.

RAG as a service is a hosted version of retrieval-augmented generation: you upload documents or connect a data source, and the vendor handles the chunking, embedding, vector storage and search that let a model answer from your files. OpenAI, Amazon, Google, Microsoft, Cloudflare and Pinecone all sell one, and as of November 20, 2026 their prices range from a free tier with 1 GB of storage to $5 per GB of raw data a month.

The term is suddenly being searched. Perplexity published a post titled "What Is RAG as a Service (RaaS)?" on November 19, 2026, describing a vendor that runs "most or all" of the RAG stack for a company.

What RAG is

RAG makes a language model answer from documents it looks up at the moment you ask, instead of from memory alone. A search step finds the most relevant passages and pastes them into the prompt, and the model writes its answer from them. The idea comes from a 2020 paper by Patrick Lewis and eleven co-authors, which paired a text generator with "a dense vector index of Wikipedia, accessed with a pre-trained neural retriever."

To build it yourself, you split documents into chunks, turn each chunk into an embedding (a list of numbers that captures its meaning), store those in a vector database, and at query time find the chunks closest to the question. There is a longer walk-through in what is RAG and in what are embeddings.

What RAG as a service takes off your hands

Each step in that pipeline is infrastructure: a parser, a chunker, an embedding model, a vector store and a search API. A managed service runs all of it behind one or two API calls.

Amazon's docs describe its version plainly. With a Bedrock Managed Knowledge Base, "Amazon Bedrock manages the underlying data ingestion, indexing, storage, and retrieval infrastructure." OpenAI's file search is the smallest version: upload files to a vector store, pass its ID to the file_search tool, and the model searches it when it decides to.

RAG as a service pricing and limits compared

All prices are as of November 20, 2026, from each company's own pricing page or docs.

Service What it manages Storage price Query price Free allowance Notable limits
OpenAI file search and vector stores Chunking, embedding, hybrid search inside the Responses API $0.10 per GB per day $2.50 per 1,000 file search calls, plus model tokens First 1 GB of storage 512 MB and 5M tokens per file; up to 50 results per search
Amazon Bedrock Managed Knowledge Base Ingestion, parsing, embedding, re-ranking, storage, retrieval $5.00 per GB of raw data per month $1.00 per 1,000 Retrieve calls; agentic retrieval $4.00 per 1,000 plus underlying calls Managed parsing, embeddings and re-ranking cost $0 Connectors for S3, SharePoint, Confluence, Google Drive, OneDrive, web crawler
Google RAG Engine Ingestion, chunking, embedding, indexing, retrieval Billed at Spanner rates if you use the managed database Embedding, reranker and LLM costs billed separately Default parser, fixed-size chunking and reading from sources are free Some regions need allowlisting for new projects
Azure AI Search (Foundry IQ) Indexing, vector and hybrid search, agentic retrieval over knowledge bases Basic $0.101 per hour (15 GB per partition); Serverless $0.20 per GB-month plus $0.24 per compute unit-hour Agentic retrieval $0.022 per 1M tokens after the free amount Free tier with 50 MB; first 50M agentic retrieval tokens a month Up to 10,000 files and 512 MiB per file for uploaded file sources (preview API)
Cloudflare AI Search Crawling, indexing, embedding, hybrid search, MCP endpoint $2.00 per GB-month $0.75 per 1,000 semantic or hybrid queries; $0.10 per 1,000 full-text 10 GB-month, 5M ingestion tokens, 1,000 of each query type a month 4 to 10 MiB per file; 1M files per instance on paid plans
Pinecone Assistant File upload, retrieval, reranking, chat $3 per GB per month $8 per 1M input tokens, $15 per 1M output, $5 per 1M context tokens Starter plan: 1 GB, 500k input tokens a month Standard plan has a $50 monthly minimum; PDFs up to 100 MB on Standard

Notes on the table:

  • OpenAI charges storage by the day. A 10 GB vector store costs $0.90 a day after the free gigabyte, about $27 over 30 days. You can set an expiry on a store so it stops costing money.
  • Amazon prices storage by raw data, so 10 GB of source documents costs $50 a month. A customer-managed option, where you bring your own vector store, is still offered.
  • Google doesn't charge for RAG Engine as such. You pay for the parts: the embedding model, any LLM parser or reranker, and the Spanner instance if the corpus uses the managed database. Google's docs now place RAG Engine under the Gemini Enterprise Agent Platform name.
  • Azure is the only one priced mainly by provisioned capacity. A Basic service at $0.101 an hour runs about $74 for a 730-hour month whether you query it or not, according to Microsoft's retail price list. The Serverless tier, billed since September 13, 2026, charges for use instead.
  • Cloudflare renamed AutoRAG to AI Search on September 25, 2025. Its billing starts on December 1, 2026, and embedding and reranking are included in the AI Search bill.
  • Pinecone's minimum applies to total Pinecone usage, not only Assistant. Its limits page caps the free Starter plan at 5 assistants per project and 10 MB per file.

Perplexity's post points to Perplexity Enterprise, which it says includes RAG over internal knowledge bases. The post gives no prices, so it isn't in the table.

How much RAG as a service costs for a real workload

Take 10 GB of documents and 100,000 searches a month, at list prices, before model tokens:

  • OpenAI: about $27 for 30 days of storage plus $250 for 100,000 file search calls.
  • Amazon Bedrock: $50 for storage plus $100 for 100,000 standard Retrieve calls.
  • Cloudflare: storage fits in the 10 GB-month allowance. 99,000 semantic queries above the free 1,000 cost about $74.
  • Azure Basic: about $74 for the service, with queries included in the capacity you pay for.

At that volume the per-query price matters more than storage. Ingestion fees and Pinecone's and Google's token-based billing depend on your data, so run your own numbers.

When to build RAG yourself and when to buy it

Buy when the documents are ordinary files, the volume is modest and the goal is to ship. A managed service saves you from running a parser, an embedding model and a vector database. Amazon's and Microsoft's services also enforce document-level permissions from sources like SharePoint.

Build when retrieval quality is the product. Managed services choose most of the knobs for you. OpenAI's file search, for example, cuts files into 800-token chunks with 400 tokens of overlap by default and returns at most 50 results. If you need a different embedding model, custom chunking for tables or code, your own reranking, or data that never leaves your servers, build it yourself.

Two costs are easy to miss when buying. The first is lock-in: each service has its own API for stores, files and queries, so moving means re-indexing everything. The second is young pricing: Cloudflare's billing begins on December 1, 2026, and Azure's Serverless tier started billing on September 13.

Frequently asked questions

What does RAG as a service mean?

It is retrieval-augmented generation run by a vendor. You upload files or connect a data source, and the service handles parsing, chunking, embedding, vector storage and retrieval behind an API.

Is there a free RAG as a service?

Several have free allowances as of November 20, 2026. OpenAI includes 1 GB of vector storage, Cloudflare AI Search includes 10 GB-month of storage and 1,000 semantic queries a month, Pinecone's Starter plan includes 1 GB, and Azure AI Search has a free tier limited to 50 MB.

What is the AWS RAG as a service?

Amazon Bedrock Managed Knowledge Base. Amazon manages ingestion, indexing, storage and retrieval, and charges $5.00 per GB of raw data a month plus $1.00 per 1,000 Retrieve calls as of November 20, 2026.

What is Google's RAG as a service?

RAG Engine, now documented under the Gemini Enterprise Agent Platform name. The engine itself isn't billed; you pay for the embedding model, optional LLM parsing and reranking, and the managed Spanner database if you use it.

Sources

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksarXiv
  2. File searchOpenAI
  3. RetrievalOpenAI
  4. API pricingOpenAI
  5. Amazon Bedrock pricingAmazon Web Services
  6. Retrieve data and generate AI responses with Amazon Bedrock Knowledge BasesAmazon Web Services
  7. RAG Engine overviewGoogle Cloud
  8. RAG Engine billingGoogle Cloud
  9. Service limits for tiers and SKUs - Foundry IQ (Azure AI Search)Microsoft
  10. Azure AI Search pricingMicrosoft
  11. Azure retail prices APIMicrosoft
  12. AI Search limits and pricingCloudflare
  13. AI Search overviewCloudflare
  14. AI Search (formerly AutoRAG) now with more models to choose fromCloudflare
  15. Pinecone pricingPinecone
  16. Pinecone Assistant pricing and limitsPinecone
  17. What Is RAG as a Service (RaaS)?Perplexity