Skip to content

Commit 5d70728

Browse files
committed
thomasgauvin: update hyperdrive pricing and limits for free plan
1 parent 2422c65 commit 5d70728

File tree

4 files changed

+62
-19
lines changed

4 files changed

+62
-19
lines changed

src/content/docs/hyperdrive/platform/limits.mdx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ pcx_content_type: concept
33
title: Limits
44
sidebar:
55
order: 2
6-
76
---
87

98
The following limits apply to Hyperdrive configuration, connections, and queries made to your configured origin databases.
109

11-
| Feature | Limit |
12-
| ---------------------------------------------- | ------------------------------------------------------------------------------------- |
13-
| Maximum configured databases | 25 per account |
14-
| Initial connection timeout | 15 seconds |
15-
| Idle connection timeout | 10 minutes |
16-
| Maximum cached query response size | 50 MB |
17-
| Maximum query (statement) duration | 60 seconds |
18-
| Maximum username length | 63 characters (bytes) [^1] |
19-
| Maximum database name length | 63 characters (bytes) [^1] |
20-
| Maximum potential origin database connections | approx. \~100 connections [^2] |
10+
| Feature | Free | Paid |
11+
| -------------------------------------------------- | ------------------------ | ------------------------- |
12+
| Maximum configured databases | 10 per account | 25 per account |
13+
| Initial connection timeout | 15 seconds | 15 seconds |
14+
| Idle connection timeout | 10 minutes | 10 minutes |
15+
| Maximum cached query response size | 50 MB | 50 MB |
16+
| Maximum query (statement) duration | 60 seconds | 60 seconds |
17+
| Maximum username length [^1] | 63 characters (bytes) | 63 characters (bytes) |
18+
| Maximum database name length [^1] | 63 characters (bytes) | 63 characters (bytes) |
19+
| Maximum potential origin database connections [^2] | approx. \~20 connections | approx. \~100 connections |
2120

2221
:::note
23-
Hyperdrive does not have a hard limit on the number of concurrent *client* connections made from your Workers.
22+
Hyperdrive does not have a hard limit on the number of concurrent _client_ connections made from your Workers.
2423

2524
As many hosted databases have limits on the number of unique connections they can manage, Hyperdrive attempts to keep number of concurrent pooled connections to your origin database lower.
2625
:::
@@ -31,4 +30,4 @@ As many hosted databases have limits on the number of unique connections they ca
3130

3231
:::note
3332
You can request adjustments to limits that conflict with your project goals by contacting Cloudflare. Not all limits can be increased. To request an increase, submit a [Limit Increase Request](https://forms.gle/ukpeZVLWLnKeixDu7) and we will contact you with next steps.
34-
:::
33+
:::

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

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

9-
**Hyperdrive is free and included in every [Workers Paid](/workers/platform/pricing/#workers) plan**.
8+
import { Render } from "~/components";
9+
10+
<Render file="hyperdrive_pricing" product="workers" />
11+
12+
Hyperdrive limits are automatically adjusted when subscribed to a Workers Paid plan. Hyperdrive's [connection pooling and query caching](/hyperdrive/configuration/how-hyperdrive-works/) are included in Workers Paid plan, so do not incur any additional charges.
13+
14+
## Pricing FAQ
15+
16+
### Does connection pooling or query caching incur additional charges?
17+
18+
No. Hyperdrive's built-in cache and connection pooling are included within the stated plans above. There are no hidden limits other than those [published](/hyperdrive/platform/limits/).
19+
20+
### Are cached queries counted the same as uncached queries?
21+
22+
Yes, any query made through Hyperdrive, whether cached or uncached, whether query or mutation, is counted according to the limits above.
23+
24+
### Does Hyperdrive charge for data transfer / egress?
1025

11-
Hyperdrive is automatically enabled when subscribed to a Workers Paid plan, and does not require you to pay any additional fees to use. Hyperdrive's [connection pooling and query caching](/hyperdrive/configuration/how-hyperdrive-works/) do not incur any additional charges, and there are no hidden limits other than those [published](/hyperdrive/platform/limits/).
26+
No.
1227

1328
:::note
1429

1530
For questions about pricing, refer to the [pricing FAQs](/hyperdrive/reference/faq/#pricing).
1631

17-
:::
32+
:::

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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ description: Workers plans and pricing information.
99

1010
import { GlossaryTooltip, Render } from "~/components";
1111

12-
By default, users have access to the Workers Free plan. The Workers Free plan includes limited usage of Workers, Pages Functions and Workers KV. Read more about the [Free plan limits](/workers/platform/limits/#worker-limits).
12+
By default, users have access to the Workers Free plan. The Workers Free plan includes limited usage of Workers, Pages Functions, Workers KV and Hyperdrive. Read more about the [Free plan limits](/workers/platform/limits/#worker-limits).
1313

14-
The Workers Paid plan includes Workers, Pages Functions, Workers KV, and Durable Objects usage for a minimum charge of $5 USD per month for an account. The plan includes increased initial usage allotments, with clear charges for usage that exceeds the base plan.
14+
The Workers Paid plan includes Workers, Pages Functions, Workers KV, Hyperdrive, and Durable Objects usage for a minimum charge of $5 USD per month for an account. The plan includes increased initial usage allotments, with clear charges for usage that exceeds the base plan.
1515

1616
All included usage is on a monthly basis.
1717

@@ -150,6 +150,16 @@ To learn more about KV, refer to the [KV documentation](/kv/).
150150

151151
:::
152152

153+
## Hyperdrive
154+
155+
<Render file="hyperdrive_pricing" />
156+
157+
:::note[KV documentation]
158+
159+
To learn more about Hyperdrive, refer to the [Hyperdrive documentation](/hyperdrive/).
160+
161+
:::
162+
153163
## Queues
154164

155165
<Render file="queues_pricing" />
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
{}
3+
---
4+
5+
import { Markdown } from "~/components";
6+
7+
Hyperdrive is included in both the Free and Paid [Workers plans](/workers/platform/pricing/).
8+
9+
| | Free plan<sup>1</sup> | Paid plan |
10+
| ---------------------------- | --------------------- | --------- |
11+
| Database queries<sup>2</sup> | 100,000 / day | Unlimited |
12+
13+
<sup>1</sup> The Workers Free plan includes limited Hyperdrive usage. All limits
14+
reset daily at 00:00 UTC. If you exceed any one of these limits, further
15+
operations of that type will fail with an error.
16+
17+
<sup>2</sup> Database queries refers to any database statement made via
18+
Hyperdrive, whether a query (`SELECT`), a modification (`INSERT`,`UPDATE`, or
19+
`DELETE`) or a schema change (`CREATE`, `ALTER`, `DROP`).

0 commit comments

Comments
 (0)