· Retrieval/ Head to head

pgvector vs Chroma

Both are open source retrieval options with comparable terms, so the choice comes down to which model of the problem you prefer — compare the descriptions below rather than the licence.

pgvector

Vector search inside the Postgres you already run.

Open source · can be self-hosted

Correct default under roughly ten million vectors. Reach for a dedicated store when it stops being.

Chroma

Embedded vector store that runs in-process. Ideal first index.

Open source · can be self-hosted · SDKs for Python and TypeScript

· Side by side/ 2 of 6 differ
pgvectorChroma
LicenceOpen sourceOpen source
Pricingopen sourceopen source
Self-hostableYesYes
LanguagesAny languagePython, TypeScript
Installpip install chromadb
Keys requiredNoneNone
· Common questions/ FAQ

What is the difference between pgvector and Chroma?

Both are open source retrieval options with comparable terms, so the choice comes down to which model of the problem you prefer — compare the descriptions below rather than the licence. pgvector: Vector search inside the Postgres you already run. Chroma: Embedded vector store that runs in-process. Ideal first index.

Can pgvector and Chroma be self-hosted?

pgvector can run on your own infrastructure. Chroma can run on your own infrastructure.

Are pgvector and Chroma open source?

pgvector is open source (open source). Chroma is open source (open source).

Build a stack with pgvectorAll retrieval options
· For agents/ This page, machine-readable

Every page here answers to Accept: text/markdown and returns the same content at roughly a tenth the tokens. No separate site, no toggle — same URL.

curl -s -H "Accept: text/markdown" https://newagent.build/compare/pgvector-vs-chroma