Prompt
I'm building an LLM app and need a vector store with metadata filters
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
Sure — if you need a vector store for an LLM app with metadata filtering, here are the most common options and what to choose based on your needs.
Good vector stores with metadata filters
1) Postgres + pgvector
Best if you want:
- simple architecture
- SQL + vector search in one place
- strong metadata filtering
- easy ops if you already use Postgres
Pros
- Works well for hybrid use cases
- Easy to filter by JSON/columns
- Good for MVPs and many production apps
Cons
- Not as fast/scalable as specialized vector DBs at very large scale
2) Pinecone
Best if you want:
- managed service
- high scalability
- strong metadata filtering
- minimal infrastructure work
Pros
- Very straightforward API
- Excellent filtering support
- Good production experience
Cons
- Managed-only
- Cost can add up
3) Weaviate
Best if you want:
- open-source + managed options
- metadata filtering
- hybrid search
- flexible schema
Pros
- Good filter support
- Good for semantic + keyword hybrid search
- Nice developer experience
Cons
- More moving parts than Postgres
- Schema and ops are a bit more involved
4) Qdrant
Best if you want:
- strong filtering
- open-source
- good performance
- simple API
Pros
- Excellent payload/metadata filtering
- Easy to use
- Good performance and self-hosting option
Cons
- Less “all-in-one” than Postgres
- Some advanced features depend on setup
5) Milvus
Best if you want:
- very large-scale vector search
- open-source
- metadata filtering
Pros
- Scales well
- Popular in larger deployments
Cons
- More complex operationally
- Heavier than simpler options
My practical recommendation
If you’re building an MVP:
- Postgres + pgvector or Qdrant
If you want fully managed and easy scaling:
- Pinecone
If you want open-source with solid filtering:
- Qdrant or Weaviate
What “metadata filters” usually means
You’ll likely want filters like:
user_id = ...document_type IN (...)created_at > ...tags contains ...source = "slack"
Make sure the store supports:
- exact match
- range filters
- boolean filters
- array/tag contains
- nested metadata if needed
Quick decision guide
- Need SQL + vectors together? → Postgres + pgvector
- Need easiest managed scaling? → Pinecone
- Need open-source with great filters? → Qdrant
- Need hybrid search + schema flexibility? → Weaviate
- Need very large-scale distributed search? → Milvus
If you want, I can also give you:
- a comparison table,
- a recommendation based on your stack (Python/Node, cloud, scale), or
- example code for metadata filtering in one of these vector stores.