AICheap

RAG

Follow a RAG request from document ingestion to a grounded answer. Compare each stage separately, or explore managed retrieval platforms.

Updated

Compare the RAG pipeline

  1. 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→

  2. 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→

  3. 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→

  4. 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→

  5. 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

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.