Skip to content

RAG Vector DB & Embedding Cost Calculator

Estimate RAG indexing and monthly query costs across OpenAI, Cohere and Voyage embeddings plus Pinecone, Supabase pgvector, Qdrant and Hetzner.

Your workflow in numbers

Enter your corpus size, chunking parameters, monthly updates and query volume. Compare one-time indexing against ongoing monthly costs across four vector database routes. Nothing leaves your browser.

docs
words

Converted at 1.35 tokens per word (English baseline). Hebrew documents often tokenize 2x heavier.

tokens

15% overlap applies only between consecutive chunks when a document exceeds one chunk.

%

Covers new uploads, edited articles and full refresh runs.

queries
ILS per USD

Used only for the shekel equivalent shown in the Hebrew edition. Enter your bank or card rate.

Your estimate

Ongoing monthly cost (Pinecone Serverless): $0.11 (12-month total incl. initial index: $1.51 · Starter Free (caps apply)). One-time initial indexing: $0.19. Monthly embedding API cost: $0.11. Monthly vector DB cost: $0. Vector storage and RAM footprint: 0.14 GB. Cost per 1,000 queries: $0.0022. 12-month total cost: $1.51. Chunk overlap (15% on subsequent chunks) and metadata bloat (1 KB per chunk modeled) add storage and write units. Avoid storing full document bodies inside vector metadata. Hebrew and non-Latin text typically uses 2x to 2.5x more tokens per word than English, increasing chunk count, embedding bills and vector storage. Free tiers suit prototypes only: Pinecone Starter enforces hard caps and Qdrant Free auto-suspends after one week of inactivity. This calculator models the retrieval layer only (embeddings plus vector DB) and excludes the LLM generation tokens used to write the final answer

Ongoing monthly cost (Pinecone Serverless)
$0.1112-month total incl. initial index: $1.51 · Starter Free (caps apply)
One-time initial indexing
$0.1920,000 chunks (9.25M tokens)
Monthly embedding API cost
$0.115.39M tokens (re-index + queries)
Monthly vector DB cost
$0Starter Free (caps apply)
Vector storage and RAM footprint
0.14 GBWith HNSW index: ~0.22 GB
Cost per 1,000 queries
$0.0022
12-month total cost
$1.51
Show comparison data
Results comparison
ItemValueNote
Pinecone Serverless$0.11Starter Free (caps apply) · 0.143 GB stored · 12,500 RU/mo (0.25 RU/query)
Supabase Postgres (pgvector)$25.11Pro + Micro (1 GB RAM) · 0.215 GB indexed disk (0 GB above 8 GB)
Self-hosted pgvector (Hetzner)$6.04Hetzner CX23 (4 GB RAM, server only) · 4 GB RAM, 40 GB NVMe · excludes ops time
Qdrant Cloud$0.11Free Forever (1 GB RAM / 4 GB disk) · Auto-suspends after 1 week idle (prototype only)
Vector database comparison at your workload
Vector DBPlan / tierInitial indexMonthly embeddingsMonthly DBMonthly total12 months
Pinecone Serverless (selected)Starter Free (caps apply)$0.19$0.11$0$0.11$1.51
Supabase Postgres (pgvector)Pro + Micro (1 GB RAM)$0.19$0.11$25$25.11$301.51
Self-hosted pgvector (Hetzner)Hetzner CX23 (4 GB RAM, server only)$0.19$0.11$5.93$6.04$72.67
Qdrant CloudFree Forever (1 GB RAM / 4 GB disk)$0.19$0.11$0$0.11$1.51

Chunk overlap (15% on subsequent chunks) and metadata bloat (1 KB per chunk modeled) add storage and write units. Avoid storing full document bodies inside vector metadata.

Hebrew and non-Latin text typically uses 2x to 2.5x more tokens per word than English, increasing chunk count, embedding bills and vector storage.

Free tiers suit prototypes only: Pinecone Starter enforces hard caps and Qdrant Free auto-suspends after one week of inactivity.

This calculator models the retrieval layer only (embeddings plus vector DB) and excludes the LLM generation tokens used to write the final answer.

Token and chunk billing: words x 1.35 tokens per word. A single-chunk document bills only its actual tokens (0 overlap, no padding to full chunk size); multi-chunk documents add 15% overlap only across subsequent chunks. Chunk footprint is (1536d x 4 bytes float32) + 1 KB metadata, scaled by 1.5x for HNSW overhead. Pinecone Serverless bills 1 RU per GB of searched namespace (0.25 RU minimum per query), 1x write units per KB for fresh initial inserts and 2x write units for monthly reindexing over existing records (per Pinecone upsert metering: https://docs.pinecone.io/guides/cost/understand-cost#upsert), across Starter ($0), Builder ($20/mo flat) and Standard ($50/mo minimum, absorbing Month-1 write units until Month-1 usage exceeds $50). Catalog checked on 2026-12-02.

Browse AI implementation specialists

Reviewed specialists

Browse source-backed specialists alphabetically

How the estimate works

Documents convert at 1.35 tokens per word. A single-chunk document bills only its actual tokens (0 overlap, no padding); multi-chunk documents add 15% overlap only across subsequent chunks. Each stored chunk uses float32 dimensions times 4 bytes plus 1 KB metadata, scaled by 1.5x for HNSW index overhead. Queries embed 80 tokens each. Pinecone Serverless bills 1 RU per GB of searched namespace (0.25 RU minimum), 1x write units per KB for initial inserts and 2x write units for monthly reindexing over existing records (per Pinecone upsert metering at docs.pinecone.io/guides/cost/understand-cost#upsert), across Starter ($0), Builder ($20/mo flat) and Standard ($50/mo minimum, absorbing Month-1 write units until Month-1 usage exceeds $50). Supabase pgvector uses Pro ($25/mo, 8 GB included disk, $10 compute credit) plus published Micro to XL compute tiers (with a compatibility warning above pgvector's 2,000-dimension standard HNSW limit). Self-hosted pgvector/Qdrant prices verified Hetzner Cloud NVMe servers (excluding ops time), and Qdrant Cloud shows its 1 GB free cluster or console sizing.

Pricing sources

Frequently asked questions

Why are embedding costs tiny compared to vector database hosting?

Embedding APIs charge fractions of a dollar per million tokens, so even millions of words cost only a few dollars to embed once. Keeping an HNSW vector index resident in RAM or paying a managed minimum ($25 to $50+ per month) usually dominates steady-state retrieval spend.

How does Hebrew text affect RAG costs?

Most tokenizers split Hebrew into roughly 2x to 2.5x more tokens per word than English. That creates more chunks per document, larger vector indexes and higher embedding bills, so double the word count or halve chunk size when modeling a Hebrew-heavy corpus.

Does this include LLM answer generation tokens?

No. This calculator covers the retrieval layer only (chunk embeddings and vector database storage/queries). Answer generation tokens usually cost far more than embeddings and should be budgeted separately.

Keep planning