Skip to content

Commit 427521c

Browse files
authored
[Vectorize] Fix pricing documentation for Vectorize (#17422)
1 parent 5b2fa46 commit 427521c

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { Render } from "~/components";
99

1010
<Render file="vectorize-ga" />
1111

12-
Vectorize bills based on:
12+
Vectorize bills are based on:
1313

14-
- **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.
15-
- **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.
14+
- **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 3.878 million (`(10000 + 100) * 384`).
15+
- **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 would sum to 1.536 million (`1000 * 1536`).
1616

1717
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.
1818

@@ -24,13 +24,13 @@ You are not billed for CPU, memory, "active index hours", or the number of index
2424

2525
The following table defines a number of example use-cases and the estimated monthly cost for querying a Vectorize index. These estimates do not include the Vectorize usage that is part of the Workers Free and Paid plans.
2626

27-
| Workload | Dimensions per vector | Stored dimensions | Queries per month | Calculation | Estimated total |
28-
| ---------- | --------------------- | ----------------- | ----------------- | ---------------------------------------------------------------- | ------------------------------ |
29-
| Experiment | 384 | 5,000 vectors | 10,000 | `(10000*384*(0.01/1000000)) + (5000*384*(0.05/100000000))` | $0.04 / mo <sup>included</sup> |
30-
| Scaling | 768 | 25,000 vectors | 50,000 | `(50000*768*(0.01/1000000)) + (25000*768*(0.05/100000000))` | $0.39 / mo <sup>partial</sup> |
31-
| Production | 768 | 50,000 vectors | 200,000 | `(200000*768*(0.01/1000000)) + (50000*768*(0.05/100000000))` | $1.56 / mo |
32-
| Large | 768 | 250,000 vectors | 500,000 | `(500000*768*(0.01/1000000)) + (250000*768*(0.05/100000000))` | $3.94 / mo |
33-
| XL | 1536 | 500,000 vectors | 1,000,000 | `(1000000*1536*(0.01/1000000)) + (500000*1536*(0.05/100000000))` | $15.74 / mo |
27+
| Workload | Dimensions per vector | Stored dimensions | Queries per month | Calculation | Estimated total |
28+
| ---------- | --------------------- | ----------------- | ----------------- | ------------------------------------------------------------------------- | ------------------------------ |
29+
| Experiment | 384 | 5,000 vectors | 10,000 | `((10000+5000)*384*(0.01/1000000)) + (5000*384*(0.05/100000000))` | $0.06 / mo <sup>included</sup> |
30+
| Scaling | 768 | 25,000 vectors | 50,000 | `((50000+25000)*768*(0.01/1000000)) + (25000*768*(0.05/100000000))` | $0.59 / mo <sup>most</sup> |
31+
| Production | 768 | 50,000 vectors | 200,000 | `((200000+50000)*768*(0.01/1000000)) + (50000*768*(0.05/100000000))` | $1.94 / mo |
32+
| Large | 768 | 250,000 vectors | 500,000 | `((500000+250000)*768*(0.01/1000000)) + (250000*768*(0.05/100000000))` | $5.86 / mo |
33+
| XL | 1536 | 500,000 vectors | 1,000,000 | `((1000000+500000)*1536*(0.01/1000000)) + (500000*1536*(0.05/100000000))` | $23.42 / mo |
3434

3535
<sup>included</sup> All of this usage would fall into the Vectorize usage
3636
included in the Workers Free or Paid plan.

src/content/partials/vectorize/vectorize-pricing.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
{}
33
---
44

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.01 per million | 30 million queried vector dimensions / month |
8-
| **Total stored vector dimensions** | First 10 million stored vector dimensions + $0.05 per 100 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.01 per million | 30 million queried vector dimensions / month |
8+
| **Total stored vector dimensions** | First 10 million stored vector dimensions + $0.05 per 100 million | 5 million stored vector dimensions |
99

1010
### Calculating vector dimensions
1111

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. The formula is defined as `(queried vectors * dimensions * ($0.01 / 1000000) + (stored vectors + dimensions * ($0.05 / 100000000)`
12+
To calculate your potential usage, calculate the queried vector dimensions and the stored vector dimensions, and multiply by the unit price. The formula is defined as `((queried vectors + stored vectors) * dimensions * ($0.01 / 1,000,000)) + (stored vectors + dimensions * ($0.05 / 100,000,000))`
1313

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 * 768 * ($0.01 / 1,000,000) + (10,000 * 768 * ($0.05 / 100,000,000)` and sum to $0.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 `((30,000 + 10,000) * 768) = 30,720,000` queried dimensions and `(10,000 * 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.01 / 1,000,000) + (10,000 * 768 * ($0.05 / 100,000,000))` and sum to $0.31 per month.

0 commit comments

Comments
 (0)