You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Vectorize is available on Workers Free plan
10
+
description: |-
11
+
Developers with a Workers Free plan can:
12
+
* Query up to 30 million queried vector dimensions / month per account.
13
+
* Store up to 5 million stored vector dimensions per account.
14
+
8
15
- publish_date: "2024-08-14"
9
16
title: Vectorize v1 is deprecated
10
17
description: |
11
18
With the new Vectorize storage engine, which supports substantially larger indexes (up to 5 million vector dimensions) and reduced query latencies, we are deprecating the original "legacy" (v1) storage subsystem.
12
-
19
+
13
20
To continue interacting with legacy (v1) indexes in [wrangler versions after `3.71.0`](https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.71.0), pass the `--deprecated-v1` flag.
14
-
21
+
15
22
For example: 'wrangler vectorize --deprecated-v1' flag to `create`, `get`, `list`, `delete` and `insert` vectors into legacy Vectorize v1 indexes. There is no currently no ability to migrate existing indexes from v1 to v2. Existing Workers querying or clients to use the REST API against legacy Vectorize indexes will continue to function.
16
23
- publish_date: "2024-08-14"
17
24
title: Vectorize v2 in public beta
18
25
description: |-
19
26
Vectorize now has a new underlying storage subsystem (Vectorize v2) that supports significantly larger indexes, improved query latency, and changes to metadata filtering.
20
-
27
+
21
28
Specifically:
22
29
- Indexes can now support up to 5 million vector dimensions each, up from 200,000 per index.
23
30
- Metadata filtering now requires explicitly defining the metadata properties that will be filtered on.
Copy file name to clipboardExpand all lines: src/content/docs/vectorize/platform/pricing.mdx
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,23 +3,20 @@ pcx_content_type: concept
3
3
title: Pricing
4
4
sidebar:
5
5
order: 1
6
-
7
6
---
8
7
9
-
import { Render } from"~/components"
8
+
import { Render } from"~/components";
10
9
11
10
:::note
12
11
13
-
14
-
Vectorize is currently in public beta and is free to use on [Workers Paid plans](/workers/platform/pricing/#workers).
15
-
12
+
Vectorize is currently in public beta and is free to use on [Workers Free or Paid plans](/workers/platform/pricing/#workers).
16
13
17
14
:::
18
15
19
16
Vectorize bills based on:
20
17
21
-
***Queried Vector Dimensions**: The total number of vector dimensions queried. If you have 10,000 vectors with 384-dimensions in an index, and make 100 queries against that index, your total queried vector dimensions would sum to (`(10000 + 100) * 384`) 3.878 million.
22
-
***Stored Vector Dimensions**: The total number of vector dimensions stored. If you have 1,000 vectors with 1536-dimensions in an index, your stored vector dimensions sum to 1.56 million.
18
+
-**Queried Vector Dimensions**: The total number of vector dimensions queried. If you have 10,000 vectors with 384-dimensions in an index, and make 100 queries against that index, your total queried vector dimensions would sum to (`(10000 + 100) * 384`) 3.878 million.
19
+
-**Stored Vector Dimensions**: The total number of vector dimensions stored. If you have 1,000 vectors with 1536-dimensions in an index, your stored vector dimensions sum to 1.56 million.
23
20
24
21
You are not billed for CPU, memory, "active index hours", or the number of indexes you create. If you are not issuing queries against your indexes, you are not billed for queried vector dimensions.
25
22
@@ -39,34 +36,36 @@ The following table defines a number of example use-cases and the estimated mont
39
36
| Large | 768 | 250,000 vectors | 500,000 |`(250000+500000)*768*(0.040/1000000)`| $23.04 / mo |
|**Total queried vector dimensions**| First 50 million queried vector dimensions / month included + $0.040 per million | 30 million queried vector dimensions / month |
9
-
|**Total stored vector dimensions**| First 10 million stored vector dimensions + $0.040 per million | 5 million stored vector dimensions |
|**Total queried vector dimensions**| First 50 million queried vector dimensions / month included + $0.040 per million | 30 million queried vector dimensions / month |
8
+
|**Total stored vector dimensions**| First 10 million stored vector dimensions + $0.040 per million | 5 million stored vector dimensions|
10
9
11
-
<sup>1</sup> Vectorize will be available to developers on the Workers Free plan in the future.
12
10
### Calculating vector dimensions
13
11
14
12
To calculate your potential usage, calculate the sum of your stored + queried vectors, multiply by the dimension size, and multiply by the unit price (divided by 1 million). The formula is defined as `(stored vectors + queried vectors) * dimensions * ($0.040 / 1000000)`
15
13
16
-
* For example, inserting 10,000 vectors of 768 dimensions each, and querying those 1,000 times per day (30,000 times per month) would be calculated as `(30000 * 768) = 23,040,000` queried dimensions and `(10000 * 768) = 7,680,000` stored dimensions (within the included monthly allocation)
17
-
* Separately, and excluding the included monthly allocation, this would be calculated as `(30,000+10,000) * 768 * ($0.040 / 1,000,000)` and sum to $1.23 per month.
14
+
- For example, inserting 10,000 vectors of 768 dimensions each, and querying those 1,000 times per day (30,000 times per month) would be calculated as `(30000 * 768) = 23,040,000` queried dimensions and `(10000 * 768) = 7,680,000` stored dimensions (within the included monthly allocation)
15
+
- Separately, and excluding the included monthly allocation, this would be calculated as `(30,000+10,000) * 768 * ($0.040 / 1,000,000)` and sum to $1.23 per month.
0 commit comments