Skip to content

Overview

Amazon S3 Vectors is the first cloud object storage with native support for storing and querying vectors at scale. It delivers purpose-built, cost-optimized vector storage for AI agents, RAG, inference, and semantic search, supporting up to 2 billion vectors per index with sub-100ms query latency and up to 90% cost reduction compared to dedicated vector databases.

The S3 Vectors Wrapper brings your vector indexes into Postgres as queryable foreign tables. Insert, query, and delete vectors with plain SQL, perform approximate nearest neighbor (ANN) similarity search using the <=> operator, and filter results by metadata. Works with Supabase Vault for secure credential management and uses the same two-secret pattern as the S3 and Iceberg wrappers.

Supported Operations

ObjectSelectInsertUpdateDelete
Vector Indexes✅✅✅

Supported Data Types

Postgres TypeS3 Vectors Type
textString
booleanBoolean
smallintInt16
integerInt32
bigintInt64
realFloat32
double precisionFloat64
jsonbJSON object
s3vecFloat32 array (vector)

Resources

Details

DeveloperAmazon Web Services
DocumentationLearn

Third-party integrations and docs are managed by Supabase partners.

Amazon Web ServicesS3 Vectors Wrapper
Install integration

Interested in partnering with Supabase?

Become a partner