Skip to content

Updated

Vector bucket limits

Look up the capacity and query limits for vector buckets during the alpha. Supabase can adjust them on a case-by-case basis for production workloads. Check this page when you do any of the following:

  • Plan how many buckets and indexes to create
  • Set topK or page through results with nextToken in a queryVectors call
  • Compare hosted and local vector buckets

Storage limits

The following table lists the capacity limits for vector buckets.

LimitValueNotes
Buckets per project10Maximum number of vector buckets per Supabase project
Indexes per bucket10Maximum number of indexes per bucket
Vector dimensionsMax 4096Maximum dimension size for embeddings
Batch size1000 vectorsMaximum vectors per single insert/update request

Query limits

The following table lists the queryVectors limits, which differ between hosted and local vector buckets.

LimitHosted vector bucketsLocal vector buckets
Maximum topK10,000100
Maximum results per response100100
nextToken query paginationSupportedNot supported

The bucket types differ in the following ways:

  • Hosted vector buckets use Amazon S3 Vectors. When a response includes a nextToken, send the same query again with that token to retrieve the next page.
  • Local vector buckets use pgvector and return the requested results in one response.

To work with vector buckets within these limits, see the following pages: