Skip to content
Free 20-minute strategy call with a senior engineer: AI, payments, eLearning or custom software

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

  1. 1Send a short brief: what you need and by when (two minutes).
  2. 2Or book a free 20-minute call with a senior engineer.
  3. 3Get a written plan and fixed price within one business day.
Send your enquiry

Or WhatsApp +91 70161 48402

At a glance

Four vector databases compared

PineconepgvectorWeaviateQdrant
What it isManaged vector database serviceExtension for PostgreSQLOpen-source vector database plus cloudOpen-source vector database plus cloud
LicenceProprietary servicePostgreSQL-style permissive licenceBSD-3-Clause (some folders commercial-only)Apache-2.0
Self-hostingNo public self-hosted editionYes, anywhere PostgreSQL runsYes: Docker, KubernetesYes: Docker (no authentication by default)
Hybrid searchYes: dense, sparse and full-text (BM25) rankingYes, with PostgreSQL full-text searchYes: BM25F plus vector, with tunable weightingYes: dense plus sparse or BM25, fused with RRF or DBSF
Index typesManaged by PineconeHNSW and IVFFlatHNSW, flat, dynamic and HFreshFilterable HNSW plus payload indexes
Best forTeams who want no infrastructureApps already on PostgreSQLBuilt-in hybrid search and multi-tenancyFast 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)

OptionFreePaid entryUsage prices
PineconeStarter: 2 GB storage, 1 million read and 2 million write units a month, 5 indexes; AWS us-east-1 onlyBuilder $20 a month; Standard $50 a month minimum; Enterprise $500 a month minimumStandard: storage $0.33 per GB a month; $16–18 per million read units; $4–4.50 per million write units
pgvectorFree extensionYour PostgreSQL hostingNone beyond your database
Weaviate CloudFree forever: 1 cluster, 100,000 objects, 1 GB memory, 10 GB disk; no cardFlex $45 a month, pay-as-you-go; Premium from $400 a monthFlex: from $0.00465 per million vector dimensions; $0.12 per GiB storage
Qdrant CloudFree forever: one node, 0.5 vCPU, 1 GB RAM, 4 GB diskStandard: 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 engineer

Last updated by the Vibidsoft engineering team.

Is pgvector good enough for production RAG?
For many applications, yes. pgvector adds HNSW and IVFFlat indexes to PostgreSQL, indexes vectors up to 2,000 dimensions (4,000 with half precision), and combines with PostgreSQL full-text search for hybrid search. Very large or very busy indexes may suit a dedicated vector database better.
How much does Pinecone cost?
Pinecone has a free Starter plan with 2 GB of storage, 1 million read units and 2 million write units a month. Builder costs $20 a month; Standard has a $50 monthly minimum, with storage at $0.33 per GB a month and read units from $16 per million; Enterprise has a $500 monthly minimum.
Is Weaviate free?
Weaviate’s core is open source under BSD-3-Clause and can be self-hosted. Weaviate Cloud has a free plan with one cluster and 100,000 objects, no card required; Flex costs from $45 a month and Premium from $400 a month.
Is Qdrant free?
Qdrant is open source under Apache-2.0 and runs with Docker; note the default setup has no authentication. Qdrant Cloud has a free-forever single-node cluster with 1 GB of RAM and 4 GB of disk; paid plans are usage-based.
Do vector databases support keyword search?
Yes, all four support hybrid search. Pinecone ranks by dense, sparse or full-text fields; pgvector combines with PostgreSQL full-text search; Weaviate fuses BM25F and vector scores; Qdrant combines dense and sparse or BM25 queries with RRF or DBSF.
Can we switch vector databases later?
Yes. Vectors can be re-imported, though you may need to re-create indexes and test search quality again. Keeping your source documents and embedding process separate from the database makes switching easier.
How much does Vibidsoft charge to build a RAG assistant?
We start with a fixed-price AI Opportunity Audit from $1,500 that recommends the model, vector database and data plan, then a fixed-price proof of concept on your own documents. Builds are priced as fixed milestones, never by the hour.

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.

Book a callWhatsApp