RAG
Follow a RAG request from document ingestion to a grounded answer. Compare each stage separately, or explore managed retrieval platforms.
Compare the RAG pipeline
Document Parsing API
Parse documents into text and structure before chunking. Compare billed pages, tables, layout handling and optional extraction charges.
per 1,000 billed pages; parsing tiers, file formats and add-ons affect the billed page count
3 providers · 7 prices→
Embedding API
Embed document chunks at ingestion and queries at retrieval. Check token counting, dimensions, language and modality support.
price per 1M input tokens
9 providers · 25 prices→
Managed Vector Databases
Store vectors and retrieve candidates. Capacity, dimensions, read/write traffic and replicas determine database costs.
entry-level monthly price and usage-based unit prices
9 providers · 18 prices→
Rerank API
Rerank candidate documents before sending context to the LLM. Compare input tokens or search units, query repetition and document limits.
per 1M input tokens or per 1,000 search units; query/document counting and purchase minimums differ
4 providers · 10 prices→
LLM API & Subscriptions
Generate an answer from the retrieved context. Repeated context, output tokens and cache hits affect API costs; coding subscriptions have separate conditions.
price per 1M tokens (Mtoken); plan price per month
11 providers · 159 prices→
Managed platforms and more retrieval
Managed RAG & Retrieval
Managed ingestion and retrieval can replace several components. Check whether answer generation, storage and connectors are included.
monthly or annual plan minimums; ingestion, retrieval, storage and generation inclusion vary
Web Search API
Add web retrieval when your private corpus needs current external information. Search calls and fetched content tokens can be charged separately.
price per 1,000 requests
OCR API
Compare classic OCR and token-priced OCR for scanned inputs. Text recognition alone may not preserve document layout and structure.
per 1k calls (classic OCR) or per 1M input tokens (LLM OCR)
Calculating total cost
- Ingestion is a separate cost: parsing and document embeddings are paid when content is added or updated; query embeddings, retrieval, reranking and generation recur per request.
- Use the same corpus size, chunking, candidate count and context length when comparing providers. Price alone does not measure retrieval quality or answer accuracy.
- Do not add token rates, page rates, monthly fees and annual commitments directly. Convert a stated workload within each native currency and avoid double-counting bundled services.