Skip to content

Commit 3f74612

Browse files
[Vectorize] Vectorize available on Workers Free plan (#16855)
* [Vectorize] Vectorize available on Workers Free plan * Update src/content/docs/vectorize/platform/pricing.mdx Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com> --------- Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
1 parent ec347f0 commit 3f74612

File tree

4 files changed

+32
-28
lines changed

4 files changed

+32
-28
lines changed

src/content/changelogs/vectorize.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,26 @@ productLink: "/vectorize/"
55
productArea: Developer platform
66
productAreaLink: /workers/platform/changelog/platform/
77
entries:
8+
- publish_date: "2024-09-16"
9+
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+
815
- publish_date: "2024-08-14"
916
title: Vectorize v1 is deprecated
1017
description: |
1118
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+
1320
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+
1522
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.
1623
- publish_date: "2024-08-14"
1724
title: Vectorize v2 in public beta
1825
description: |-
1926
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+
2128
Specifically:
2229
- Indexes can now support up to 5 million vector dimensions each, up from 200,000 per index.
2330
- Metadata filtering now requires explicitly defining the metadata properties that will be filtered on.

src/content/docs/vectorize/get-started/intro.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ This guide will instruct you through:
1919

2020
## Prerequisites
2121

22-
:::note[Workers Paid plan required]
22+
:::note[Workers Free or Paid plans required]
2323

24-
Vectorize is available to all users on the [Workers Paid plan](/workers/platform/pricing/#workers).
24+
Vectorize is available to all users on the [Workers Free or Paid plans](/workers/platform/pricing/#workers).
2525

2626
:::
2727

src/content/docs/vectorize/platform/pricing.mdx

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,20 @@ pcx_content_type: concept
33
title: Pricing
44
sidebar:
55
order: 1
6-
76
---
87

9-
import { Render } from "~/components"
8+
import { Render } from "~/components";
109

1110
:::note
1211

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).
1613

1714
:::
1815

1916
Vectorize bills based on:
2017

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.
2320

2421
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.
2522

@@ -39,34 +36,36 @@ The following table defines a number of example use-cases and the estimated mont
3936
| Large | 768 | 250,000 vectors | 500,000 | `(250000+500000)*768*(0.040/1000000)` | $23.04 / mo |
4037
| XL | 1536 | 500,000 vectors | 1,000,000 | `(500000+1000000)*1536*(0.040/1000000)` | $92.16 / mo |
4138

42-
<sup>included</sup> All of this usage would fall into the Vectorize usage included in the Workers Free or Paid plan.
39+
<sup>included</sup> All of this usage would fall into the Vectorize usage
40+
included in the Workers Free or Paid plan.
4341

44-
<sup>most</sup> Most of this usage would fall into the Vectorize usage included within the Workers Paid plan.
42+
<sup>most</sup> Most of this usage would fall into the Vectorize usage included
43+
within the Workers Paid plan.
4544

4645
## Frequently Asked Questions
4746

4847
Frequently asked questions related to Vectorize pricing:
4948

50-
* When will Vectorize start charging me?
49+
- When will Vectorize start charging me?
5150

5251
We intend to enable billing for Vectorize usage in January 2024.
5352

54-
* Will Vectorize always have a free tier?
53+
- Will Vectorize always have a free tier?
5554

5655
Yes, the [Workers free tier](/workers/platform/pricing/#workers) will always include the ability to prototype and experiment with Vectorize for free.
5756

58-
* What happens if I exceed the monthly included reads, writes and/or storage on the paid tier?
57+
- What happens if I exceed the monthly included reads, writes and/or storage on the paid tier?
5958

6059
You will be billed for the additional reads, writes and storage according to [Vectorize's pricing](#billing-metrics).
6160

62-
* Does Vectorize charge for data transfer / egress?
61+
- Does Vectorize charge for data transfer / egress?
6362

6463
No.
6564

66-
* Do queries I issue from the HTTP API or the wrangler command-line count as billable usage?
65+
- Do queries I issue from the HTTP API or the Wrangler command-line count as billable usage?
6766

6867
Yes: any queries you issue against your index, including from the Workers API, HTTP API and CLI all count as usage.
6968

70-
* Does an empty index, with no vectors, contribute to storage?
69+
- Does an empty index, with no vectors, contribute to storage?
7170

7271
No. Empty indexes do not count as stored vector dimensions.
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
---
22
{}
3-
43
---
54

6-
| | [Workers Paid](/workers/platform/pricing/#workers) | [Workers Free](/workers/platform/pricing/#workers) <sup>1</sup> |
7-
| ------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
8-
| **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 |
5+
| | [Workers Paid](/workers/platform/pricing/#workers) | [Workers Free](/workers/platform/pricing/#workers) |
6+
| ----------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------- |
7+
| **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 |
109

11-
<sup>1</sup> Vectorize will be available to developers on the Workers Free plan in the future.
1210
### Calculating vector dimensions
1311

1412
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)`
1513

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

Comments
 (0)