Skip to main content

RAG cost calculator

Estimate monthly RAG cost: ingest and query embeddings, verified LLM generation, optional vector hosting. Embeddings and vector DB are your assumptions.

Example workload seed matches our API-cost RAG preset (labelled examples, not industry facts). Embedding $/MTok and vector DB/hosting are always Your assumption until verified embedding models exist in our dataset.

Example: ~500 words ≈ 500–700 tokens per page
1 = re-embed once a month; 4 ≈ weekly
System + query + retrieved chunks
Leave empty for $0; we do not invent vendor embed prices
Chunks1,112
Ingest embeddings$0.00/mo
Query embeddings$0.00/mo
Generation (LLM)$407.40/mo
Vector / hosting$0.00/mo
Total$407.40/mo · $0.01/query

Not included: rerankers, eval, human review, egress, self-hosted GPU (unless you put them in hosting). Generation prices from OpenAI (last checked 2026-11-25); USD excl. tax. Embedding and hosting lines are your assumptions.

How the estimate works

  1. Chunks ≈ corpus tokens ÷ (chunk size − overlap), with overlap kept below chunk size.
  2. Ingest embeddings = chunk tokens × periods per month × your embedding $/MTok.
  3. Query embeddings = queries/day × days × tokens embedded per query × your embedding $/MTok.
  4. Generation = verified model rates via the same workload engine as the API cost calculator (input/output tokens per query, cached share, cache-write share).
  5. Total = ingest + query embeddings + generation + optional vector/hosting.

Results show a stacked monthly total, cost per query, and a generation-only model compare. USD, excluding tax.

What is not included

Rerankers, evaluation pipelines, human review, egress, dedicated RAG API SKUs we have not verified, and self-hosted GPU cost unless you put a figure in the hosting assumption. Unverified or discontinued models stay out of the generation picker.

API cost calculator · Chatbot cost calculator · Tokens explained · OpenAI API pricing · Anthropic API pricing

How we check prices

Generation rates come only from official vendor pricing pages in our dataset. Anything we have not verified is labelled Your assumption or Price not verified, never estimated. Corrections: [email protected]. See /methodology/.

USD, excluding tax. Prices come from each vendor’s official pricing page; plans or figures we couldn’t verify are shown as not calculable, never estimated.

Last checked (Re-check due)

More cost calculators