aiAI Calculator Pro

RAG Cost Calculator

Estimate ingestion, storage and query costs for a RAG system.

Results update automatically as you type.

Result
$337.53/month
+ $0.0205 one-time ingestion · $0.0113 per query
Total chunks
2,000
Ingestion (one-time)
$0.0205
Vector storage
0.01 GB
Storage / month
$0.00343
Per query
$0.0113
Queries / month(1,000/day)
$337.52
Total / month
$337.53

Estimate the full cost of a Retrieval-Augmented Generation system: one-time embedding ingestion, monthly vector storage, and per-query generation cost. Enter your corpus size, chunking, and query volume to see where the money goes.

How this is calculated

This calculator uses the rag formulas described in our methodology. All figures are estimates for planning; verify current pricing with each provider before relying on them.

Worked example (defaults)

With the default inputs above, here is the result:

Result
$337.53/month
+ $0.0205 one-time ingestion · $0.0113 per query
Total chunks
2,000
Ingestion (one-time)
$0.0205
Vector storage
0.01 GB
Storage / month
$0.00343
Per query
$0.0113
Queries / month(1,000/day)
$337.52
Total / month
$337.53

Frequently asked questions

What drives RAG cost the most?+

Usually per-query generation, because every query resends retrieved context to a chat model. Embedding and storage are often small by comparison.

How do chunk size and overlap affect cost?+

Smaller chunks and larger overlap create more chunks, increasing embedding and storage cost, and can increase retrieved tokens per query.

Related calculators