CIOPages

pgvector vs Pinecone

pgvector is an open-source extension that adds vector search to PostgreSQL. Pinecone is a managed vector database service. This page sets them side by side on deployment, indexes, filtering, data handling, security and cost, and says which fits which situation.

With pgvector, embeddings sit in ordinary Postgres tables, next to the rows they describe. Pinecone stores them in its own indexes on AWS, Azure or Google Cloud, or in your cloud account through its bring-your-own-cloud option. pgvector costs nothing to license. Pinecone charges by storage, reads and writes, with a free tier.

Prices and other facts are as of October 29, 2026. Vendors change prices; confirm them on the vendor’s own pricing page. Independent analysis: neither project nor any vendor named here paid for or reviewed this page.

Which to choose

Choose pgvector when

  • your application data already lives in PostgreSQL
  • a query must join vectors with relational data or run inside a transaction
  • you want no new vendor or service to run

Choose Pinecone when

  • you want vector search without running a database
  • embeddings need more than 4,000 indexed dimensions
  • you need many isolated tenants in one index through namespaces

How they compare

Compared as of pgvector 0.8.7 and Pinecone documentation and list prices in October 2026.

Deployment

pgvector

Installed into a PostgreSQL server you run, or enabled on a managed Postgres service. Amazon RDS for PostgreSQL 17 and 18 offer pgvector 0.8.2. Azure Database for PostgreSQL requires adding it to an allowlist first.

Pinecone

A managed service on AWS, Azure and Google Cloud. The free Starter plan runs only in AWS us-east-1. Bring Your Own Cloud runs Pinecone inside your own cloud account and VPC.

On a managed Postgres service, the pgvector version is the provider's choice and can trail the latest release.

Index types and limits

pgvector

HNSW and IVFFlat indexes. The vector type stores up to 16,000 dimensions and indexes up to 2,000. The half-precision halfvec type indexes up to 4,000. Sparse vectors index up to 1,000 non-zero elements, with HNSW only.

Pinecone

Indexing is handled by the service. Dense vectors go up to 20,000 dimensions. Sparse vectors go up to 2,048 non-zero values.

Embedding models with more than 4,000 dimensions need Pinecone, or dimension reduction before pgvector.

Filtering and hybrid search

pgvector

A WHERE clause filters results after the approximate index scan, which can return fewer rows than asked for. Iterative index scans, added in 0.8.0, keep scanning until enough rows match. Keyword search comes from Postgres full-text search, merged with the vector results in SQL.

Pinecone

Metadata fields are indexed for filtering by default. A document index can declare a text field for full-text search and embed the same field for semantic search. Sparse and dense vectors can also share one index.

pgvector filters after the index scan, so selective filters may need iterative scans; Pinecone filters on indexed metadata as it searches.

Data and transactions

pgvector

Vectors get the PostgreSQL features: ACID transactions, JOINs, point-in-time recovery and replication through the write-ahead log.

Pinecone

Each write is logged and acknowledged as durable, then indexed in the background. New writes are searchable immediately. Records are partitioned into namespaces, created on first write. Backups need the Standard or Enterprise plan.

pgvector keeps vectors consistent with the rows they describe; Pinecone holds a copy you keep in step with your system of record.

Security and compliance

pgvector

Inherits the controls and certifications of the Postgres server or managed service it runs on.

Pinecone

SOC 2 Type II and HIPAA with a business associate agreement on request. Data is encrypted with AES-256 at rest and TLS 1.2 in transit. Customer-managed keys use AWS KMS. Private Endpoints and a 99.95% uptime SLA come with Enterprise.

With pgvector, the security review is the one your database already passed; Pinecone needs its own.

Pricing

pgvector

Free under the PostgreSQL License. The cost is the Postgres server or managed service that runs it.

Pinecone

US list price as of October 2026: Starter is free, Builder is $20 a month, Standard has a $50 monthly minimum and Enterprise a $500 monthly minimum. On Standard, storage is $0.33 per GB a month, writes $4 to $4.50 per million units and reads $16 to $18 per million units. Bring Your Own Cloud is contact sales.

pgvector cost grows with database size; Pinecone cost grows with storage and query volume.

Which is faster?

That depends on data size, dimensions, filters, index settings and the hardware behind each. pgvector speed depends on how you tune HNSW or IVFFlat and size the server. Pinecone speed depends on its plan and whether you buy dedicated read nodes. Load a sample of your own vectors into both and run your real queries.

Who makes each

pgvector is developed in the open on GitHub and released under the PostgreSQL License. The current release is 0.8.7, from October 1, 2026. It supports Postgres 13 and later. The next version, 0.9.0, drops support for Postgres 13 and 14.

Pinecone is a company based in New York. Ash Ashutosh became its CEO in September 2025. Founder Edo Liberty moved to the role of Chief Scientist at the same time. Pinecone has raised $138 million from investors including Andreessen Horowitz, ICONIQ, Menlo Ventures and Wing Venture Capital.

Common situations

A RAG feature in an application already on Postgres

pgvector. Embeddings live in the same tables, and one query can filter by user, tenant or date with SQL.

A SaaS product with thousands of customers, each with private data

Pinecone fits well. Namespaces isolate each tenant, and Standard allows 100,000 namespaces per index.

Embeddings with more than 4,000 dimensions

Pinecone indexes up to 20,000 dense dimensions. pgvector indexes up to 4,000 with halfvec.

Data must stay in your own cloud account

Either. pgvector runs wherever your Postgres runs. Pinecone Bring Your Own Cloud runs in your account and VPC, priced by quote.

Frequently asked

Is pgvector free?

Yes. It is released under the PostgreSQL License. You pay only for the server or managed service that runs Postgres.

Does Pinecone have a free plan?

Yes. Starter is free, with up to 2 GB of storage, 2 million write units and 1 million read units a month, on AWS us-east-1 only.

Which index should I use in pgvector?

HNSW gives a better speed and recall trade-off but builds slower and uses more memory. IVFFlat builds faster with less memory, and should be created only after the table has data.

Sources

Keep reading

Buyer Guide
Self-Hosted and Managed Vector Databases
Executive Forum
Publish under your own byline

Senior technology leaders write for CIOPages in the Executive Forum.

Research
Pricing transparency in enterprise software

Which vendors publish their prices, and what that tells a buyer.