Skip to content

Automation & Cost

Also worth it

Vector Database & RAG Monthly Cost Calculator

Expose the hidden RAG bill: vector RAM, read units, re-embedding and ops time — then compare four stacks over 36 months.

Reviewed$0 · No login

TL;DR

Sogoh prices the whole RAG stack, not just embeddings: pages become chunks and vectors, storage drives Pinecone read units, dimensions drive Qdrant RAM, and self-hosting carries an hourly ops cost. At 200,000 pages and 500,000 queries/day, Pinecone’s per-read bill reaches about $700/month while Qdrant’s 4 GiB-equivalent cluster stays near $40. Below 500,000 vectors and 20,000 queries/day, pgvector or the free tier is enough.

Vector memory · read units · embedding bill

Knowledge base

Chunks per page: 2

Pages are converted to tokens, chunks and vectors with the same formula every provider uses.

pages

Embedding tokens

130,000,000

Total vectors

400,000

Pinecone storage

2.87 GB

Embedding model & dimensions

Dimensions decide RAM. Doubling dimensions roughly doubles the vector bill.

Traffic & change rate

Queries drive read units; updated documents drive re-embedding and upserts.

q/day
5%

Hidden engineering cost

Self-hosting is not free. Price the hours you actually spend on backups, upgrades and incidents.

Everything runs in your browser. Inputs never leave the page.

The five lines in the bill

Most estimates only count storage. Reads and re-embedding are the two lines that grow with traffic.

StorageRead unitsWrite unitsEmbeddingOps time

TCO = first index build + 35 × (infrastructure + embedding + ops)

Estimates use public list prices and the assumptions above. Your invoice can differ with region, egress, replication and discounts.

NotesResults come from public data and the formulas or rules shown on this page: calculators compare scale and direction, while parsers and path builders follow each tool’s documented syntax, which can change between versions. Neither is financial, tax, legal or medical advice; check the official source or a qualified professional before acting.

Method & sourcesFull disclaimer

Share

Email updates

Told when this page’s prices change

The formula stays the same. Prices do not. When a plan changes, one short email with the difference.

Submitting means you agree to receive occasional Sogoh updates and have read the privacy policy. Unsubscribe any time.

How the numbers are derived

  1. 01

    Turn pages into tokens, chunks and vectors

    One page is about 500 words, or 650 tokens. With 512-token chunks and 10% overlap the stride is 460.8 tokens, so a 650-token page becomes two chunks. That is why 20,000 pages is 40,000 vectors, not 20,000 — and why storage estimates that count documents instead of chunks are always low.

  2. 02

    Price reads separately from storage

    Pinecone charges one read unit per GB of the namespace searched, with a 0.25 minimum. A 10 GB namespace at 1 million queries a month is 10 million read units; the same workload on a 10 GB Qdrant cluster is a flat RAM price. This is the single biggest reason a per-read bill can pass a RAM-sized cluster without the dataset growing.

  3. 03

    Add upserts and re-embedding from your change rate

    A 5% monthly change rate means 5% of the corpus is embedded and upserted again every month. Pinecone bills writes by request KB with a 5-unit minimum, so batching 100 records cuts the per-record cost sharply. Qdrant and Supabase include writes; the embedding API bill still applies to all four.

  4. 04

    Compare first month, recurring and 36-month payback

    The first month includes the full index build; later months include only the change rate. Migration hours are a one-time cost in the self-hosted column, and ops hours recur. The verdict compares 36-month TCO, then shows the payback month only when self-hosting actually wins after engineering time.

FAQ

Is Pinecone’s free tier enough for production?

Starter includes up to 2 GB storage, 2 million writes and 1 million reads per month, with 5 indexes and no SLA. It is fine for a prototype or an internal wiki. The calculator switches to Builder at $20/month when the workload exceeds those caps, and to Standard with a $50 minimum when storage passes 10 GB or reads pass 2 million.

Why is Qdrant Cloud priced by RAM instead of queries?

HNSW keeps the vector graph and payload indexes in memory, so RAM is the binding resource. Qdrant sizes a cluster from vectors × dimensions × 4 bytes × 1.5 for the HNSW graph, then rounds up to its node sizes. Queries are included, which makes the bill predictable when traffic spikes.

When should I use pgvector instead of a dedicated vector database?

Below roughly 500,000 vectors and 20,000 queries/day, a separate cluster is usually over-engineering. If you already run Postgres, pgvector avoids a second backup, auth and monitoring stack. The calculator prices Supabase Pro with the compute tier that can hold the index, so you can see the exact upgrade point.

Do I really need 3072-dimension embeddings?

For most RAG, 1536 dimensions are enough; 3072 dimensions double vector memory and cost 6.5× more per token. If you need the extra recall, Matryoshka truncation to 1024 dimensions usually keeps most of it while cutting the Qdrant RAM bill sharply. The verdict banner shows the saving for your current inputs.

What costs are not included?

Tax, egress beyond the included allowance, multi-region replication, object-storage backups, enterprise discounts and the LLM tokens that read the retrieved chunks. The calculator isolates the vector layer so you can add those separately; the token and agent-loop calculators cover the generation side.

How accurate is the result?

Prices are public list prices checked on the date shown, and every formula is exposed. Qdrant’s quote was verified against its official capacity calculator for 2, 8, 12, 20 and 96 GiB clusters. Your invoice can still differ with region, tier, reserved capacity or negotiated discounts, so treat this as a sizing model rather than a quote.

← Back to calculators