Skip to main content
Calcimator

RAG System Cost Calculator

Estimate vector DB storage, embedding, and query costs for a Retrieval-Augmented Generation system.

Inputs

Results

Total chunks

50,000

Total monthly cost ($)

$347.04

One-time embedding cost ($)$2.56
Vector storage (GB)0.29
Vector DB monthly cost ($)$3.5
Daily query cost ($)$11.45
Monthly query cost ($)$343.54
Embedding tokens (millions)25.6
How to Use This Calculator
  1. Enter Document Count and average Tokens per Document for your knowledge base (a page is ~500 tokens).
  2. Set Chunk Size (512 tokens is common) and Chunk Overlap to control how documents are split for retrieval.
  3. Enter Embedding Dimensions (1536 for OpenAI ada-002) and expected Queries per Day.
  4. Set Top-K Retrieved Chunks to control how many context chunks are injected per LLM call.
  5. Review Total Chunks, One-time Embedding Cost, Vector Storage (GB), Monthly Query Cost, and Total Monthly Cost to design your RAG system budget.
Ad Placeholder

Related Calculators

Ad Placeholder