Best Vector Databases for RAG and AI Agents
Retrieval-augmented generation (RAG) and agent memory both need somewhere to store embeddings and search them fast. These are 9 vector databases worth considering, split into managed services and open-source engines, with free tiers and prices from each vendor's own page. Checked Nov 23, 2026.
Quick Picks
- Already on Postgres: pgvector. One less system to run.
- Least operations: Pinecone.
- Open source you can self-host or rent: Qdrant or Weaviate.
- Fastest prototype: Chroma or LanceDB, running inside your app.
- Billions of vectors: Milvus or Zilliz Cloud.
- Apps on Cloudflare Workers: Vectorize.
Managed Services
| Name | Type | Open Source | Free Start | Paid | Pick It If |
|---|---|---|---|---|---|
| Pinecone Swarmnest Listing | Fully managed, serverless indexes with built-in embedding and reranking | No | Starter plan, free | Builder: $20 a month flat. Standard: $50 a month minimum, then usage. | You want zero operations and are happy with a closed service |
| Turbopuffer Swarmnest Listing | Serverless vector and full-text search on object storage | No | None | Usage-based with a $16 a month minimum; Scale tier from $256 a month | You have many tenants or very large, mostly cold data and want low storage cost |
| Cloudflare Vectorize Swarmnest Listing | Vector index built into Cloudflare Workers | No | Workers Free: 5 million stored and 30 million queried vector dimensions a month | Workers Paid: larger included usage, then $0.01 per million queried dimensions | Your app already runs on Workers |
Open-Source Engines
| Name | Type | Open Source | Free Start | Paid | Pick It If |
|---|---|---|---|---|---|
| Qdrant Swarmnest Listing | Vector search engine written in Rust, self-hosted or Qdrant Cloud | Yes, Apache-2.0 | Free forever cloud cluster (0.5 vCPU, 1 GB RAM, 4 GB disk), or self-host | Cloud Standard: usage-based | You want strong filtering and the option to move between cloud and self-hosting |
| Weaviate Swarmnest Listing | Vector database with hybrid (vector plus keyword) search and built-in vectorizers | Yes, BSD-3-Clause | Free cloud cluster up to 100,000 objects, or self-host | Flex from $45 a month; Premium from $400 a month | You want hybrid search and embeddings handled by the database |
| Milvus / Zilliz Cloud Swarmnest Listing | Distributed vector database for billions of vectors; Zilliz Cloud is the managed version | Yes, Apache-2.0 | Zilliz Cloud free tier with 5 GB storage, or self-host Milvus | Zilliz Serverless is usage-based; Dedicated clusters from $126 a month | You expect very large scale |
| Chroma Swarmnest Listing | Embedding database that runs in-process, as a server, or in Chroma Cloud | Yes, Apache-2.0 | Free locally; Chroma Cloud Starter is $0 plus usage, with $5 of free credit | Cloud usage: $2.50 per GiB written, $0.33 per GiB stored a month. Team: $250 a month plus usage. | You are prototyping in Python or JavaScript and want the fastest start |
| pgvector Swarmnest Listing | Postgres extension that adds vector columns, HNSW and IVFFlat indexes | Yes, PostgreSQL License | Free; runs anywhere Postgres runs, including Supabase, Neon and Amazon RDS | Your Postgres hosting only | Your data already lives in Postgres and you want vectors next to it |
| LanceDB Swarmnest Listing | Embedded vector database on the open Lance columnar format, also for images and video | Yes, Apache-2.0 (lancedb/lancedb) | Free embedded library, no server | LanceDB Cloud and Enterprise are priced separately | You want a file-based database inside your app, like SQLite for vectors |
How to Choose
- Start with where your data lives. Keeping vectors in the same database as the source rows avoids sync bugs.
- Test filtering, not just similarity. Real RAG queries filter by user, tenant, date or permissions. Benchmark with your filters on.
- Plan for re-embedding. When you change embedding models you rebuild the index, so keep the source text and know what a full rewrite costs.
- Pricing models differ. Some charge for storage and queries, some for cluster size, some set a monthly minimum. Estimate with your own vector count and dimensions.
See all Vector Databases, plus Embeddings and Rerankers and Agent Memory tools.
FAQ
What is the best vector database for RAG?
There is no single best one. pgvector is the easiest choice if you already run Postgres. Pinecone is the least work if you want a managed service. Qdrant and Weaviate are strong open-source options that you can run yourself or in their clouds. Chroma and LanceDB are the quickest way to prototype, because they run inside your app.
Is there a free vector database?
Yes. Qdrant, Weaviate, Milvus, Chroma, pgvector and LanceDB are open source and free to self-host. For managed services, Pinecone Starter, Qdrant Cloud, Weaviate Cloud, Zilliz Cloud and Cloudflare Vectorize all have free tiers.
Do I need a vector database, or is Postgres enough?
For most apps with up to a few million chunks, Postgres with pgvector and an HNSW index is enough, and it keeps your vectors next to the rows they describe. Move to a dedicated vector database when you need very large scale, heavy filtering at high query rates, or features like built-in hybrid search.
What is hybrid search and why does it matter for RAG?
Hybrid search combines vector similarity with keyword (BM25) matching. It helps when users search for exact names, codes or rare terms that embeddings handle poorly. Weaviate, Qdrant, Milvus, Pinecone and Turbopuffer support it.
Can agents use a vector database through MCP?
Yes. Qdrant, Pinecone, Chroma, Milvus and others publish MCP servers, so an agent can store and search embeddings as tools. Search the MCP Servers directory for the one you use.
Sources (Checked Nov 23, 2026)
- Pinecone pricing
- Turbopuffer pricing
- Cloudflare Vectorize pricing
- Qdrant pricing
- Weaviate pricing
- Zilliz Cloud pricing
- Chroma pricing
- pgvector on GitHub
- LanceDB on GitHub
Updated Nov 23, 2026. Prices and limits come from each provider's site on that day and can change. Sponsorship never affects which tools appear in a guide or their order. Questions or corrections: hello@swarmnest.ai.