EN

Language

Our editions

Written for each audience, not translated word for word.

Vector database comparison: pgvector, Pinecone, Qdrant, Weaviate, Milvus and Chroma

ComparisonBy Lucas Matías García TorresUpdated Data checked 5 min read

Reviewed on . How we work.

Leer en español

A data center aisle with streams of small orange data packets flowing between server racks

Short answer

pgvector, Qdrant, Milvus and Chroma are open source, Weaviate is open source except its enterprise features, and Pinecone is a managed service only. All five managed services have a free tier or credits: Pinecone Starter stores up to 2 GB, Weaviate's free cluster holds 100,000 objects and Pinecone Builder costs a flat $20 a month. One million vectors of 1,536 dimensions take about 6.15 GB in pgvector before indexes, so free tiers suit prototypes.

Prices and limits change often: check the vendor's page before you pay. How we make money.

A vector database stores embeddings, the lists of numbers that represent the meaning of a text or an image, and finds the ones closest to a query. This vector database comparison covers the six names that come up most often: pgvector, Pinecone, Qdrant, Weaviate, Milvus and Chroma. We compare their licenses, where each one runs, the free tiers and entry prices published on October 28, 2026, how much space your vectors need and the search features that decide most projects. Prices are in US dollars. If embeddings are new to you, start with our explainer on what embeddings are.

In a RAG system, the vector database is the part that finds the passages the model reads before it answers. That makes it a long-term choice: moving millions of vectors later is possible, but it is work.

Licenses and where each one runs

Table: vector databases by license and deployment (official repositories and pricing pages, checked October 28, 2026)

Database What it is License Run it yourself Managed service
pgvector Extension for PostgreSQL 13 and later PostgreSQL License Yes, inside your own Postgres Depends on your Postgres host
Pinecone Managed vector database Not open source No; Bring Your Own Cloud on Enterprise Pinecone
Qdrant Vector search engine Apache 2.0 Yes Qdrant Cloud, plus Hybrid Cloud on your own infrastructure
Weaviate Vector database BSD-3-Clause, except enterprise features under a separate license Yes Weaviate Cloud
Milvus Vector database Apache 2.0 Yes, from Milvus Lite to Kubernetes clusters Zilliz Cloud
Chroma Open-source search database Apache 2.0 Yes Chroma Cloud

Weaviate's repository explains its split: code outside a directory called "wl" is BSD-3-Clause, while the code inside it needs a separate enterprise license and is enabled with a license key. Milvus Lite runs as a local file from Python, and the full Milvus is built to run distributed on Kubernetes.

Free tiers and entry prices

Table: managed plans, free tier and first paid step (pricing pages, checked October 28, 2026)

Service Free tier First paid step How usage is billed
Pinecone Starter: up to 2 GB of storage, 2 million write units and 1 million read units a month Builder, $20 a month flat, with 10 GB, 5 million write units and 2 million read units Standard: $50 a month minimum, then $0.33 per GB per month, $4 to $4.50 per million write units and $16 to $18 per million read units
Qdrant Cloud One node with 0.5 vCPU, 1 GB of RAM and 4 GB of disk, free forever Standard tier, usage-based vCPU, memory, storage and backups actually used
Weaviate Cloud 100,000 objects, 1 GB of memory and 10 GB of disk, in 1 collection Flex, from $45 a month Pay as you go; Premium on a prepaid contract
Zilliz Cloud (Milvus) 5 GB of storage, 2.5 million vCUs a month and up to 5 collections Standard, from $0 a month on serverless Enterprise from $197 a month on dedicated clusters
Chroma Cloud Starter: $0 a month plus usage, with $5 in free credits Team, $250 a month plus usage, with $100 in credits $2.50 per GiB written, $0.33 per GiB stored per month and $0.0075 per TiB queried

Read units, write units, vCUs and GiB queried are each provider's own measures, so the rows are not directly comparable: the only reliable comparison is to put your own volume through each provider's calculator. Two practical differences stand out. Pinecone's Builder plan costs a flat $20 within fixed limits, which caps the bill. Chroma pauses the service when a usage limit is reached, whether you set it or Chroma did, until the limit is changed. pgvector adds no fee of its own: you pay for the Postgres server it runs on.

How much space your vectors need

Storage is the part of the bill you can estimate before signing up. A vector of single-precision numbers takes 4 bytes per dimension, and pgvector documents the exact size as 4 × dimensions + 8 bytes; its half-precision type, halfvec, takes 2 bytes per dimension plus 8.

Table: raw size of one million vectors in pgvector, before indexes and metadata

Dimensions vector (4 bytes per value) halfvec (2 bytes per value)
384 1.54 GB 0.78 GB
768 3.08 GB 1.54 GB
1,536 6.15 GB 3.08 GB
3,072 12.30 GB 6.15 GB

Indexes and metadata come on top, so treat these figures as a floor. They also show what the free tiers are for: at 1,536 dimensions, the 2 GB of Pinecone Starter holds about 325,000 vectors before anything else, and Weaviate's free cluster stops at 100,000 objects whatever their size.

One detail matters with large embeddings. pgvector's HNSW and IVFFlat indexes accept the vector type up to 2,000 dimensions and halfvec up to 4,000, so 3,072-dimension embeddings have to be stored or cast as halfvec to be indexed.

Search features that decide most projects

Similarity search is common to all six. What separates them is how they combine it with keyword search, indexes and the rest of your data:

  • Hybrid search, meaning plus keywords. pgvector does it together with Postgres full-text search, merging the two result lists with methods such as Reciprocal Rank Fusion. Pinecone offers dense, sparse and full-text indexes on every plan, Weaviate includes hybrid search on all its cloud plans, Qdrant 1.20 added BM25 hybrid search without sparse vectors, Milvus supports full-text search with BM25 and learned sparse embeddings, and Chroma describes itself as vector, full-text and metadata search.
  • Index types. pgvector offers HNSW, which answers queries faster, and IVFFlat, which builds faster and uses less memory. Milvus lists HNSW, IVF, FLAT, SCANN and DiskANN, among others.
  • Data next to the vectors. With pgvector, embeddings live in the same tables as the rest of your data, so one SQL query can filter by customer, date or permissions and rank by similarity. Milvus stores vectors together with scalar fields such as integers, strings and JSON objects.

How to choose

  • You already run PostgreSQL: start with pgvector. It adds no new service and keeps the vectors next to your data; look at a dedicated engine when you measure a limit, not before.
  • You want no servers at all: Pinecone, Qdrant Cloud, Weaviate Cloud, Zilliz Cloud and Chroma Cloud are all managed. Price your own volume in each calculator.
  • You want open source with a managed option later: Qdrant, Weaviate, Milvus and Chroma let you start on your own machine and move to their cloud.
  • You need a small, predictable bill: Pinecone Builder is a flat $20 a month within its limits.
  • You are only testing: every service above has a free tier or free credits, sized for a prototype rather than for production.

The database is only part of the running cost of a search or chat feature. For the model side, see our estimate of chatbot cost per month, and for when retrieval beats retraining a model, our guide to RAG vs fine-tuning.

How we checked

On October 28, 2026 we read the pricing pages of Pinecone, Qdrant, Weaviate, Zilliz and Chroma, the pgvector and Milvus README files and the license files in the pgvector, Qdrant, Weaviate, Milvus and Chroma repositories. We did not benchmark speed or recall, so this guide does not rank the databases by performance. The storage figures come from pgvector's documented formula, and the free tier capacity is our own arithmetic.

What we checked

  • pgvector README: open-source vector similarity search for Postgres, for Postgres 13 and later; each vector takes 4 × dimensions + 8 bytes and each halfvec 2 × dimensions + 8 bytes; HNSW and IVFFlat indexes support vector up to 2,000 dimensions and halfvec up to 4,000; HNSW has better query performance than IVFFlat but slower build times and more memory use; hybrid search works together with Postgres full-text search, combining results with Reciprocal Rank Fusion or a cross-encoder. (pgvector, )
  • pgvector is distributed under the PostgreSQL License text. (pgvector, )
  • Pinecone pricing: Pinecone runs on fully managed infrastructure; Starter is free with up to 2 GB of storage, 2 million write units and 1 million read units a month and dense, sparse and full-text indexes; Builder costs $20 a month flat with up to 10 GB, 5 million write units and 2 million read units; Standard has a $50 monthly minimum, then $0.33 per GB per month, $4 to $4.50 per million write units and $16 to $18 per million read units depending on cloud and region; Enterprise has a $500 monthly minimum and includes Bring Your Own Cloud. (Pinecone, )
  • Qdrant Cloud pricing: the free tier is free forever, a single-node cluster with 0.5 vCPU, 1 GB of RAM and 4 GB of disk; the Standard tier is usage-based and bills compute, memory, storage and backups; Hybrid Cloud runs managed Qdrant clusters on your own infrastructure; Qdrant 1.20 added BM25 hybrid search without sparse vectors. (Qdrant, )
  • Qdrant is licensed under the Apache License 2.0. (Qdrant, )
  • Weaviate pricing: the free plan costs $0, one cluster per user with 100,000 objects, 1 GB of memory, 10 GB of disk and 1 collection; Flex starts at $45 a month, pay as you go; Premium is a prepaid contract; hybrid search is included in every plan. (Weaviate, )
  • Weaviate license: source code outside the wl directory is under the BSD-3-Clause License; code inside it is available only under a separate enterprise license, with features enabled by a license key. (Weaviate, )
  • Milvus README: a high-performance vector database built for scale with a distributed, Kubernetes-native architecture; Milvus Lite runs locally from Python; supports index types including HNSW, IVF, FLAT, SCANN and DiskANN; supports full-text search with BM25 and learned sparse embeddings; stores vectors together with scalar data such as integers, strings and JSON objects. (Milvus, )
  • Milvus is licensed under the Apache License 2.0. (Milvus, )
  • Zilliz Cloud pricing: the free plan includes 5 GB of storage, 2.5 million vCUs a month and up to 5 collections of managed Milvus; Standard starts at $0 a month on serverless; Enterprise starts at $197 a month on dedicated clusters. (Zilliz, )
  • Chroma Cloud pricing: Starter is $0 a month plus usage with $5 in free credits; Team is $250 a month plus usage with $100 in credits; usage costs $2.50 per GiB written, $0.33 per GiB stored per month, $0.0075 per TiB queried and $0.09 per GiB returned; reaching a usage limit pauses the service until the limit is changed; Chroma offers vector, full-text and metadata search. (Chroma, )
  • Chroma is licensed under the Apache License 2.0. (Chroma, )

What may change

  • Vector database plans, free tiers and usage prices change often. This page is reviewed monthly.

Frequently asked questions

What is the best vector database?

There is no single best one. If you already use PostgreSQL, pgvector is the simplest start because it adds no new service. For a fully managed option, Pinecone, Qdrant Cloud, Weaviate Cloud, Zilliz Cloud and Chroma Cloud all have free tiers or credits. Choose by license, hosting, hybrid search and the price of your own volume.

Is there a free vector database?

Yes. pgvector is under the PostgreSQL License, Qdrant, Milvus and Chroma under Apache 2.0, and Weaviate's core under BSD-3-Clause, so you can run them yourself without a license fee. The managed services also have free tiers, from Pinecone Starter's 2 GB to Weaviate Cloud's 100,000 objects, as of October 28, 2026.

Do I need a separate vector database for RAG?

Not always. A RAG system needs somewhere to store embeddings and search them by similarity, and pgvector inside an existing PostgreSQL database can do that. A dedicated engine or a managed service is worth comparing when the collection or the query traffic grows, or when you would rather not run the database yourself.

How much storage do embeddings need?

About 4 bytes per dimension for each vector at single precision. In pgvector, one million vectors of 1,536 dimensions take about 6.15 GB before indexes and metadata, or 3.08 GB with the half-precision halfvec type. Indexes and metadata add to that, so treat the raw size as a minimum when you compare plans.

What is hybrid search?

Hybrid search combines similarity search over embeddings with keyword search, so a query can match both the meaning and exact terms such as product codes or names. pgvector does it with Postgres full-text search, Milvus with BM25 full-text search, and Pinecone, Weaviate, Qdrant and Chroma offer their own versions.

Is pgvector cheaper than Pinecone?

pgvector has no fee of its own: you pay for the PostgreSQL server it runs on. Pinecone is free up to 2 GB on Starter, a flat $20 a month on Builder and at least $50 a month on Standard, as of October 28, 2026. Which is cheaper depends on whether you already pay for a Postgres server with room to spare.

Sources

  1. pgvector: open-source vector similarity search for Postgres, pgvector. Accessed October 28, 2026.
  2. pgvector license, pgvector. Accessed October 28, 2026.
  3. Pinecone pricing, Pinecone. Accessed October 28, 2026.
  4. Qdrant Cloud pricing, Qdrant. Accessed October 28, 2026.
  5. Qdrant license, Qdrant. Accessed October 28, 2026.
  6. Weaviate pricing, Weaviate. Accessed October 28, 2026.
  7. Weaviate license, Weaviate. Accessed October 28, 2026.
  8. Milvus: high-performance vector database built for scale, Milvus. Accessed October 28, 2026.
  9. Milvus license, Milvus. Accessed October 28, 2026.
  10. Zilliz Cloud pricing, Zilliz. Accessed October 28, 2026.
  11. Chroma Cloud pricing, Chroma. Accessed October 28, 2026.
  12. Chroma license, Chroma. Accessed October 28, 2026.

Spotted an error or an outdated price? Tell us and we will fix it.

Change history

  • : First published. Checked against the pricing pages of Pinecone, Qdrant, Weaviate, Zilliz and Chroma, the pgvector and Milvus documentation and the license files of each open-source project on October 28, 2026.

Next review: .

Part of our LLM APIs & Costs guide.

Other topics