Limits
Vector deploys to Cloudflare Vectorize in your Cloudflare account. Index shape and query behavior follow Cloudflare’s platform limits.
Dimensions
Section titled “Dimensions”Dimensions are fixed when the index is created.
- Range:
1—1536 - Type: integer
Batch Size
Section titled “Batch Size”A single insert, upsert, or delete call accepts 1 to 1000 vector records.
Metrics
Section titled “Metrics”Three similarity metrics are available:
| Metric | Code Value |
|---|---|
| Cosine similarity | "cosine" (default) |
| Euclidean distance | "euclidean" |
| Dot product | "dot_product" |
Metadata Indexes
Section titled “Metadata Indexes”- Metadata indexes support
string,number, andbooleanfield types. - Metadata is intended for small filtering fields such as tenant, source, type, or timestamps.
- Add metadata indexes for fields you filter frequently.
Immutability
Section titled “Immutability”Changing dimensions or metric requires creating a new index and re-ingesting data. These values are set at creation and cannot be modified on an existing index.