Comparison · Vector databases
Pinecone vs pgvector vs Weaviate vs Qdrant: which vector database for your AI?
AI assistants that answer from your documents (retrieval-augmented generation, or RAG) store text as vectors and search them by meaning. You can use a managed service such as Pinecone, an open-source vector database such as Weaviate or Qdrant, or add pgvector to the PostgreSQL database you already run. All four support hybrid keyword and vector search. They differ in price, licence and who runs it. This guide uses each vendor’s pricing pages, documentation and GitHub repositories.
- Checked 25 Nov 2026
- Official pricing and docs
- We build RAG on all four
Quick answer
Which vector database should I use for RAG?
If you already run PostgreSQL, start with pgvector: it is free, permissively licensed and keeps vectors beside your data, with HNSW indexes up to 2,000 dimensions. Choose Pinecone if you want a fully managed service with no servers: a free Starter plan (2 GB), Builder at $20 a month and Standard from a $50 monthly minimum. Choose Weaviate (BSD-3 core; cloud Flex from $45 a month) or Qdrant (Apache-2.0; free 1 GB cloud cluster) if you want open source you can self-host or run in their cloud, with built-in hybrid search.
Start from: AI Opportunity Audit from $1,500
- Ahmedabad, India, since 2014
- 450+ projects in 15+ countries
- Fixed price, never hourly
- NDA and full code ownership
Start in three steps
- 1Send a short brief: what you need and by when (two minutes).
- 2Or book a free 20-minute call with a senior engineer.
- 3Get a written plan and fixed price within one business day.
Or WhatsApp +91 70161 48402
At a glance
Four vector databases compared
| Pinecone | pgvector | Weaviate | Qdrant | |
|---|---|---|---|---|
| What it is | Managed vector database service | Extension for PostgreSQL | Open-source vector database plus cloud | Open-source vector database plus cloud |
| Licence | Proprietary service | PostgreSQL-style permissive licence | BSD-3-Clause (some folders commercial-only) | Apache-2.0 |
| Self-hosting | No public self-hosted edition | Yes, anywhere PostgreSQL runs | Yes: Docker, Kubernetes | Yes: Docker (no authentication by default) |
| Hybrid search | Yes: dense, sparse and full-text (BM25) ranking | Yes, with PostgreSQL full-text search | Yes: BM25F plus vector, with tunable weighting | Yes: dense plus sparse or BM25, fused with RRF or DBSF |
| Index types | Managed by Pinecone | HNSW and IVFFlat | HNSW, flat, dynamic and HFresh | Filterable HNSW plus payload indexes |
| Best for | Teams who want no infrastructure | Apps already on PostgreSQL | Built-in hybrid search and multi-tenancy | Fast filtered search, self-hosted or cloud |
From pinecone.io, docs.pinecone.io, github.com/pgvector/pgvector, weaviate.io, docs.weaviate.io, qdrant.tech and the projects’ GitHub repositories, 25 November 2026.
Published prices
Free tiers and paid entry prices (25 November 2026)
| Option | Free | Paid entry | Usage prices |
|---|---|---|---|
| Pinecone | Starter: 2 GB storage, 1 million read and 2 million write units a month, 5 indexes; AWS us-east-1 only | Builder $20 a month; Standard $50 a month minimum; Enterprise $500 a month minimum | Standard: storage $0.33 per GB a month; $16–18 per million read units; $4–4.50 per million write units |
| pgvector | Free extension | Your PostgreSQL hosting | None beyond your database |
| Weaviate Cloud | Free forever: 1 cluster, 100,000 objects, 1 GB memory, 10 GB disk; no card | Flex $45 a month, pay-as-you-go; Premium from $400 a month | Flex: from $0.00465 per million vector dimensions; $0.12 per GiB storage |
| Qdrant Cloud | Free forever: one node, 0.5 vCPU, 1 GB RAM, 4 GB disk | Standard: usage-based, billed hourly (no price published) | Premium has a minimum spend (amount not published) |
From pinecone.io/pricing, weaviate.io/pricing and qdrant.tech/pricing, 25 November 2026. Prices vary by cloud, region, index type and compression.
How to choose
Six questions that decide it
Do you already run PostgreSQL?
pgvector keeps vectors, permissions and data in one database, often the simplest start.
How many vectors and queries?
A few million vectors fit pgvector or any free tier; very large, busy indexes favour a dedicated vector database.
Who runs it?
Pinecone needs no servers. Self-hosted Weaviate or Qdrant need backups, upgrades and security.
Do you need keyword search too?
Product codes, names and acronyms need keyword matching; all four support hybrid search.
Multiple customers in one app?
Plan tenant isolation early: per-tenant collections, namespaces or row-level filters.
Does the licence matter?
pgvector, Weaviate’s core and Qdrant are open source; Pinecone is a proprietary service.
Getting RAG right
What matters more than the database
Clean source content
Out-of-date or duplicated documents produce wrong answers whatever database you use.
Chunking and metadata
How documents are split and tagged decides what the assistant can find and filter.
Permissions
Search must respect who may see each document, enforced in the query, not the prompt.
Measured quality
A test set of real questions shows whether changes improve answers.
Migrations
Moving between pgvector, Pinecone, Weaviate and Qdrant, with results checked before switching.
Fixed price, never hourly
A fixed-price AI Opportunity Audit from $1,500 recommends the stack and scopes the build.
FAQ
Vector database questions, answered.
Ask an engineerLast updated by the Vibidsoft engineering team.
Is pgvector good enough for production RAG?
How much does Pinecone cost?
Is Weaviate free?
Is Qdrant free?
Do vector databases support keyword search?
Can we switch vector databases later?
How much does Vibidsoft charge to build a RAG assistant?
Building an AI assistant on your documents?
Tell us how many documents you have, where they live and who may see them. You get a recommended stack and a fixed price within one business day.
