Supabase Vector (pgvector)
Supabase · Ranked #4 of 7 in Vector Database APIs
pgvector bundled free into the Supabase Postgres stack, ideal for teams keeping embeddings beside relational data.
Postgres-native embeddings, no separate service

Overview
Supabase Vector is not a standalone vector database but pgvector, the open-source Postgres extension, exposed and managed within Supabase's hosted Postgres platform, surrounded by Auth, Storage, Realtime, auto-generated REST APIs, and Edge Functions. Its core thesis is architectural simplicity: you store embeddings in a `vector` column right next to your relational data, query with familiar SQL distance operators (`<=>` cosine, `<#>` inner product, `<->` L2), and avoid running a separate vector service that must be synced with your source-of-truth database. For RAG and semantic-search workloads that already live in Postgres, this collapses two systems into one and lets you combine vector similarity with ordinary WHERE filters, joins, and row-level security in a single query. Supabase layers on developer ergonomics that raw pgvector lacks: a Python `vecs` client, an "automatic embeddings" pattern built from triggers + pgmq queues + Edge Functions, first-class LangChain/OpenAI/Hugging Face integrations, and one-click extension enablement.
On performance, Supabase has invested heavily in pgvector and publishes its own benchmarks. Since pgvector 0.5.0 added HNSW indexing, their tests on a 1,000,000-vector OpenAI (1536-dim) DBpedia set reached accuracy@10 of 0.99 and, on equivalent compute, beat Qdrant, a credible result that undercuts the assumption that you must leave Postgres for a dedicated engine at low-to-mid scale. Subsequent releases (0.6.x parallel index builds, 0.7.0 halfvec/sparsevec/bit-vector quantization) cut index memory and build time dramatically, with Supabase claiming "over 100x speedup compared to one year ago." For typical web-app query volumes (under ~50 QPS) the experience is effectively indistinguishable from Pinecone or Qdrant for end users.
The honest caveats are about scale and operations. HNSW index builds are memory-bound and can take hours on a 10M-row, 1536-dim table, with the index running into tens of GB; good query latency depends on the working set fitting in RAM, so you're effectively buying a larger (and pricier) compute add-on to hold the index resident. Above roughly 5–50M vectors on a single node, performance degrades and you start fighting `maintenance_work_mem` and p99 tail latency as pages spill to disk, territory where a purpose-built, horizontally-sharded vector DB pulls ahead. Add Supabase's usage-based billing (compute, storage, egress billed separately and prone to overages) and the fact that a real uptime SLA only exists on the Enterprise tier, and the picture is clear: Supabase Vector is an excellent default for teams already on Postgres at small-to-mid scale, less so for billion-vector, latency-critical search at the high end.
How this score is derived
The APIbenchmarks Index is a weighted sum of four dimensions, each scored on an absolute 0–100 reference scale. See the methodology for every mapping.
| Dimension | Score | Weight | Contribution |
|---|---|---|---|
| Documentation & DXExtensive first-party docs cover pgvector, HNSW/IVFFlat index tuning, the vecs Python client, automatic embeddings, and RAG patterns, backed by detailed engineering blog posts with reproducible benchmarks. | 86 | 30% | 25.8 |
| ReliabilityHas a public status page and per-project deployment, but a contractual 99.9% uptime SLA with service credits is offered only to Enterprise customers, Free/Pro/Team get no uptime guarantee. | 80 | 25% | 20.0 |
| Ecosystem & SDKsStrong: official SDKs in TypeScript/JS, Python, Swift, Kotlin, Dart/Flutter, a dedicated vecs vector client, and first-class LangChain, OpenAI, and Hugging Face integrations on top of the broader Postgres extension ecosystem. | 84 | 25% | 21.0 |
| AccessibilityVery approachable, a generous free tier, one-click extension enablement in the dashboard, SQL-native querying, and the ability to reuse existing Postgres/relational skills lower the barrier versus learning a new vector-DB API. | 92 | 20% | 18.4 |
| APIbenchmarks Index (ABI) | 85.2 | ||
Table 1. Derivation of the ABI for Supabase Vector (pgvector). Contribution = score × weight; the index is their sum.
At a glance
- Vendor
- Supabase
- Pricing model
- Bundled in Postgres plan (storage-based)
- Free tier
- Free project: 500MB DB, pgvector included
- Official SDKs
- 7 languages
Pricing
| Free | $0/mo | 2 active projects, 500 MB database storage each, 50,000 MAU; pgvector available; projects paused after 1 week of inactivity. No uptime SLA. |
| Pro | $25/mo per org | 8 GB database, 100 GB storage, 100K MAU included; includes $10/mo compute credits (covers one Micro instance); usage-based overages; daily backups. |
| Team | $599/mo per org | Pro features plus SOC2 / ISO 27001, SSO, audit logs, 14-day PITR backup retention, and priority support. |
| Enterprise | Custom | Custom pricing with designated support, HIPAA, BYO-cloud options, and the 99.9% uptime SLA with service credits. |
Key features
- •pgvector extension with vector, halfvec (16-bit), sparsevec, and bit vector data types
- •HNSW and IVFFlat approximate-nearest-neighbor indexes
- •Cosine, inner-product, L2, L1, Hamming, and Jaccard distance operators
- •vecs Python client for managing and querying vector collections
- •Automatic embeddings via Postgres triggers, pgmq queues, and Edge Functions
- •Hybrid search combining vector similarity with full-text/relational SQL filters and RLS
- •Binary quantization for fast pre-filtering before fine-grained search
- •Parallel HNSW index builds (pgvector 0.6.2+)
- •Integrations with OpenAI, Hugging Face, and LangChain
Official SDKs
Strengths & trade-offs
- +Embeddings live in the same Postgres as relational data, no separate vector service to provision or keep in sync
- +Combine vector similarity with SQL WHERE filters, joins, and row-level security in a single query
- +HNSW indexing (pgvector 0.5.0+) reaches accuracy@10 of 0.99 at 1M vectors and beat Qdrant on equivalent compute in Supabase's benchmarks
- +pgvector 0.7.0 halfvec/sparsevec/bit-vector quantization roughly halves index memory and enables fast binary pre-filtering
- +Generous free tier and one-click extension enablement make it trivial to start
- +Strong tooling: vecs Python client, automatic-embeddings pattern (triggers + queue + Edge Functions), LangChain/OpenAI/Hugging Face integrations
- –HNSW index builds are memory-bound and can take hours on a 10M-row, 1536-dim table, producing tens-of-GB indexes
- –Good query latency requires the index to fit in RAM, pushing you to larger, costlier compute add-ons
- –Performance degrades and p99 tail latency grows beyond roughly 5–50M vectors on a single node, not ideal for billion-scale search
- –A real 99.9% uptime SLA is Enterprise-only; lower tiers get no contractual guarantee
- –Usage-based billing (compute, storage, egress charged separately) makes costs hard to predict and prone to overages
- –Index tuning (m, ef_construction, ef_search, maintenance_work_mem) is largely manual versus a managed dedicated vector DB
What developers say
G2 4.7/5 (~47 reviews)
Developers love consolidating embeddings into Postgres alongside Auth/Storage/Realtime and praise the SQL-native, fast-start experience, while critiques center on scaling limits, index build cost, and usage-based billing overages.
“I have experimented with both pgvector (through supabase) and elasticsearch. Both are great from a dev UX perspective and let you get the ball rolling quickly... if you already use PostgreSQL or Elasticsearch in your stack they're very decent solutions and better than adding new infrastructure.”
Key figures
| Accuracy@10 (1M vectors, OpenAI 1536-dim, HNSW) | 0.99 | Supabase engineering blog (pgvector v0.5.0) ↗ |
| HNSW vs IVFFlat throughput (1M DBpedia vectors) | 6x+ better QPS at same accuracy | Supabase engineering blog (pgvector v0.5.0) ↗ |
| QPS gain scaling 2XL → 4XL compute (accuracy@10 0.99) | +69% QPS | Supabase engineering blog (pgvector v0.5.0) ↗ |
| halfvec HNSW index memory (pgvector 0.7.0) | ~50% reduction (16-bit vs 32-bit) | Supabase engineering blog (pgvector v0.7.0) ↗ |
| Cumulative speedup vs one year prior (0.7.0) | >100x | Supabase engineering blog (pgvector v0.7.0) ↗ |
| Enterprise uptime commitment | 99.9% per calendar month | Supabase SLA ↗ |
| Pro plan starting price | $25/mo per org | Supabase pricing page ↗ |
Compare Supabase Vector (pgvector) head to head
Sources
- https://supabase.com/docs/guides/database/extensions/pgvector
- https://supabase.com/blog/increase-performance-pgvector-hnsw
- https://supabase.com/blog/pgvector-0-7-0
- https://supabase.com/pricing
- https://supabase.com/sla
- https://supabase.com/docs/guides/ai/vecs-python-client
- https://www.g2.com/products/supabase-supabase/reviews
- https://news.ycombinator.com/item?id=35554045
- https://supabase.com/docs/guides/ai/automatic-embeddings
Figures last verified 2026-06-27. Spotted an error? corrections@apibenchmarks.com
