// Posted 2026-12-01

Vector Database 2026: How It Works + When to Use One

Four tools, one decision. pgvector, Pinecone, Weaviate, and Chroma mapped against stack, cost, and sprint deadline to land the right pick in 14 days.

Four glowing database clusters in indigo and amber arranged in a decision matrix on a near-black field, with pink selection paths leading to one lit node

Your CTO opened the Slack thread Monday at 8:14 AM. Four engineers, three vendors, two hours of back-and-forth, and a decision that boiled down to one question nobody answered: which vector database the team uses. Pinecone was the name in the vendor deck. pgvector was the name on the DBA's reply. Weaviate was the name on the blog post the ML engineer shared Friday. Chroma was the name in the prototype the intern shipped during the sprint.

The question is not what a vector database is. The question is which one runs against your stack on day 14 and reads clean on the Monday brief to the CFO. The answer depends on three variables: where your data already lives, how much engineering bandwidth the sprint can commit, and whether you need multi-modal search or text only. The wrong pick reads a re-embedding pass and a schema rebuild six months from now.

pgvector: use it when you already run Postgres

pgvector is a Postgres extension. It runs on the same box the office already pays for. The install reads two lines in a migration file. The query syntax reads one SQL statement with a <-> operator that returns the 42 nearest neighbors in 42 milliseconds against a corpus of 1 million rows on a mid-tier Postgres instance.

The cost reads $0 on top of the Postgres bill. A Supabase free tier handles 500K vectors. A production Postgres instance on RDS running $400 a month handles 10 to 20 million vectors against a standard HNSW index without an additional line item. The engineering team reads one new operator in the SQL codebase and nothing else changes in the deployment stack.

pgvector reads cleanly against three shapes: an internal knowledge base under 5 million rows, a support-ticket similarity search, and an RFP-retrieval layer where the corpus is static and the query volume stays under 100K a day. The constraint is that pgvector does not scale horizontally without engineering work. A corpus that grows past 50 million rows against a query volume above 1 million a day reads Pinecone or Weaviate, not a single Postgres box. Our guide to vector database unit economics covers the full cost breakdown against each vendor.

Pinecone: use it when engineering bandwidth is the constraint

Pinecone is a managed vector database with a REST API. No deployment, no infrastructure, no migration files, no tuning of HNSW parameters before the index returns its first query. The API key lands in the sprint codebase on day 1 and the index returns neighbors in 20 to 100 milliseconds against any corpus size the managed tier supports.

The starter tier costs $70 a month against a 100K-vector index with 100 reads per second. The standard tier scales to 100 million vectors. A production deployment serving 42K daily queries against a 2 million-vector corpus lands $280 to $420 a month all in, which is 60 to 90 times the pgvector line on the same Postgres bill. The services page covers how the sprint team picks and deploys the right stack against the owning exec brief.

Pinecone reads cleanly against one shape: a team with two engineers and a 14-day sprint deadline that cannot afford to debug a Postgres HNSW configuration under production load. The tradeoff is vendor lock. The index format is proprietary, the data lives outside your infrastructure, and a migration off Pinecone later reads a re-embedding pass and a schema rebuild. If the business carries a data-residency or SOC 2 audit requirement that blocks third-party storage, Pinecone reads a conversation with legal before day 1 of the sprint.

Weaviate: use it when you need control or multi-modal

Weaviate is open source with a managed cloud option. The self-hosted path runs on Docker or Kubernetes and costs what your cloud compute costs, with no per-query fee. The managed cloud path reads $0 for the serverless tier on the first 1 million vectors, then $0.025 per 100K additional vectors stored. The Apache 2.0 license means no vendor negotiation before the prototype ships and no licensing clause in the SOC 2 audit.

The two shapes that land on Weaviate and not the other options: multi-modal search and teams that need the index running in their own VPC. Weaviate ships native vectorizers for image and text in one index, which Pinecone does not, and runs inside your Kubernetes cluster, which pgvector cannot do at scale. The tradeoff is operational overhead. The managed tier removes that overhead at the cost of the per-vector pricing line, and the sprint team reads the deployment brief against the engineering bench that owns the cluster on day 1.

Three architectural diagrams side by side on a dark field: Postgres box in indigo, Pinecone cloud node in pink, Weaviate cluster in blue-amber, each with a sprint-day counter overlay

The decision in three questions

Question one: does your stack already run Postgres? If yes, pgvector is the first answer. Ship the HNSW extension on the existing box, run the sprint, and revisit scale when query volume passes 1 million a day. No new vendor, no new invoice, no new deployment to debug on day 7 of the sprint.

Question two: is engineering bandwidth the constraint, not cost? If yes, Pinecone is the second answer. The API key lands on day 1, the sprint ships on day 14, and the CFO reads the Monday brief on day 15. The $280 monthly line is the cost of not hiring the DBA hour the alternative path requires.

Question three: do you need multi-modal, self-hosted, or enterprise-grade isolation? If yes, Weaviate is the third answer. The self-hosted path reads your Kubernetes team's first week, not a 14-day sprint. The managed path reads the serverless tier at $0 for the first prototype.

Chroma does not appear on this list for production. The local developer experience is clean, the production story is not. The maintainer documentation is thin above 1 million records, the concurrent-load performance is undocumented, and the engineering team that ships a Chroma index on a Series B scale-up rewrites it inside two quarters against a sprint nobody planned for.

How to scope the sprint

The sprint opens with one corpus, one query shape, one owning exec, and one of the three tools above. The pgvector path reads two migration lines and one SQL query in the codebase the team already maintains. The Pinecone path reads one API key, one index name, and one upsert loop against the corpus the office already stores. The Weaviate path reads one Docker Compose file and one schema definition on day 1.

Day 7 reads the first query returning 42 nearest neighbors against the live corpus. Day 14 reads the agent-drafted answer landing in the owning exec inbox at 7:02 AM against the Monday cadence the office already runs. The 14-day sprint process covers the governance layer, the write-access scope, and the escalation path against each of the three stack paths.

If the Monday brief still reads a 42-minute retrieval task against a corpus the office already paid to collect, the sprint reads one decision between three tools and 14 days to production. Scope it on the contact form against the corpus the team already owns and the query shape the owning exec reads on Monday.

// Related notes