Dev Tools

Vector Database Cost Calculator

Estimate Pinecone, Weaviate, Qdrant, and self-hosted vector DB cost by records, dimensions, and queries.

Quick Answer

Storage for 1M 1536-dim vectors is ~6GB. Pinecone Serverless: ~$2/month storage + query cost. Weaviate Cloud: ~$25/month for the same. Self-hosted Qdrant or pgvector: under $10/month at this scale. Costs scale linearly with dimensions and record count.

Storage size: 5.72 GB · 6144.0 MB raw vectors (excl. metadata + indexes)
ProviderStorageQueriesTotal / mo
Pinecone Serverless
Pay per use
$1.89$16.50$18.39
Weaviate Cloud
Per-vector tier
$25.00$95.00$120.00
Qdrant Cloud
Storage-priced; queries included
$389.10$0.00$389.10
Self-hosted (Qdrant/pgvector)
DIY infra cost
$5.72$0.00$5.72

Estimates use published list rates as of April 2026 — Pinecone Serverless ($0.33/GB + $8.25/M RUs at ~2 RU per query), Weaviate Cloud (~$25/M vectors + $0.095/M queries), Qdrant Cloud (~$68/GB managed), self-hosted (~$1/GB amortized infra). Real bills depend on replicas, tiers, and traffic patterns.

About This Tool

The Vector Database Cost Calculator gives you back-of-envelope monthly cost across Pinecone, Weaviate, Qdrant, and self-hosted options. Plug in record count, embedding dimensions, and query volume — the tool does the storage math (records × dims × 4 bytes for float32) and applies each provider's pricing model.

How vector storage scales

Each float32 dimension is 4 bytes. A 1536-dim vector consumes 6KB; a 3072-dim vector takes 12KB. Multiply by record count to get raw storage. Real indexes carry overhead — HNSW graphs add 30-50%, payload metadata varies — but the float storage is the dominant term.

Pricing models compared

Pinecone Serverless prices storage at $0.33/GB-month and queries via “read units” (~50 vectors per RU at default top-K). Predictable for read-heavy small-to-mid workloads. Weaviate Cloud prices by million vectors stored and million queries — simpler math but pricier at scale. Qdrant Cloud uses pod-hour pricing that translates to roughly $68/GB-month for managed clusters; queries are included. Self-hosted Qdrant or pgvector on your own infra has near-zero marginal cost but adds DevOps overhead.

When to switch from managed to self-hosted

The break-even sits around $500-$1000/month. Below that, the time saved on infra outweighs the rental premium. Above it, you're paying a 5-10x markup for managed convenience — at which point a single $200/month VM running Qdrant often handles 100M vectors with sub-100ms p99 latency. Plan a 4-6 week migration window when you cross the threshold.

Hidden costs

Watch for: bandwidth charges (egress can dominate at high QPS), filter index overhead (metadata-filtered queries consume more compute), reranker API calls (often added downstream of vector retrieval), and re-embedding when you upgrade models. Budget 20-30% above raw vector DB pricing for total stack cost.

Combine with the embeddings cost calculator for full RAG indexing budget. Compare RAG vs fine-tuning at RAG vs fine-tune. For overall AI spend planning, see AI monthly budget calculator. Estimate query cost downstream with LLM cost comparison.

Frequently Asked Questions

Which vector DB is cheapest at scale?
Self-hosted Qdrant or pgvector on your own Postgres wins on raw cost — near-zero per query. Pinecone Serverless is the cheapest managed option for read-heavy small datasets ($0.33/GB-month + $8.25/M reads). Weaviate Cloud sits in the middle.
When does pgvector beat dedicated vector DBs?
Below ~10M vectors and when you already run Postgres. The simplicity of having vectors next to your relational data wins until query latency or recall starts hurting. Past that, dedicated DBs (Qdrant, Pinecone) outperform on filtered HNSW queries.
How do dimensions affect cost?
Storage scales linearly with dimensions. A 3072-dim vector takes 12KB vs 6KB for 1536-dim. For 10M records, that's 120GB vs 60GB. On Pinecone Serverless at $0.33/GB-month, you're paying $40/month vs $20/month just for storage.
What are read units and how do I count queries?
Pinecone read units (RU) bundle ~50 vectors retrieved per RU at default settings. A top-K=10 query on a 10K-record namespace might consume 1-3 RUs. At $8.25/M RUs, 10M queries/month at 2 RU each = $165/month.
Do hybrid (vector + keyword) queries cost more?
Yes. Hybrid search runs both a vector search and a sparse keyword index, doubling compute on each query. Pinecone, Weaviate, and Qdrant all support hybrid but charge more. Budget 1.5-2x the cost of pure vector search for hybrid workloads.