Skip to content

Commit 87abc12

Browse files
authored
Update pricing.mdx
improve pricing clarity. -reference browser hours consistently -update table to be easier to understand -link to workers plans
1 parent 08cce1d commit 87abc12

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

src/content/docs/browser-rendering/pricing.mdx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,32 @@ sidebar:
66
---
77
import { DashButton } from "~/components"
88

9+
Browser Rendering requires a Workers plan. Learn more about [Workers plans](/workers/platform/pricing/).
10+
911
There are two ways to use Browser Rendering. Depending on the method you use, here is how billing works:
10-
- [**REST API**](/browser-rendering/rest-api/): Charged for **Duration** only ($/browser hour)
11-
- [**Workers Bindings**](/browser-rendering/workers-bindings/): Charged for both **Duration** and **Concurrency** ($/browser hour and # of concurrent browsers)
12+
- [**REST API**](/browser-rendering/rest-api/): Charged for **browser hours** only
13+
- [**Workers Bindings**](/browser-rendering/workers-bindings/): Charged for both **browser hours** and **concurrent browsers**
14+
15+
Browser hours are shared across both methods (REST API and Workers Bindings).
1216

13-
| Plan | Included duration | Included concurrency | Price (beyond included) |
14-
|----------------|---------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|----------|
15-
| **Workers Free** | 10 minutes per day | 3 concurrent browsers | N/A |
16-
| **Workers Paid** | 10 hours per month | 10 concurrent browsers (averaged monthly) | **1. REST API**: $0.09 per additional browser hour <br />**2. Workers Bindings**: $0.09 per additional browser hour <br /> $2.00 per additional concurrent browser |
17+
| | Workers Free | Workers Paid |
18+
|--------------------------------------------------------|-----------------------------|--------------|
19+
| Browser hours | 10 minutes per day | 10 hours per month, then $0.09 per additional hour |
20+
| Concurrent browsers (Workers Bindings only) | 3 browsers | 10 browsers ([averaged monthly](#how-is-the-number-of-concurrent-browsers-calculated)), then $2.00 per additional browser |
1721

1822
## Examples of Workers Paid pricing
1923
<br/>
2024
#### Example: REST API pricing
2125
If a Workers Paid user uses the REST API for 50 hours during the month, the estimated cost for the month is as follows.
2226

23-
For **browser duration**:
27+
For **browser hours**:
2428
<br/>50 hours - 10 hours (included in plan) = 40 hours
2529
<br/>40 hours × $0.09 per hour = $3.60
2630

2731
#### Example: Workers Bindings pricing
28-
If a Workers paid user uses the Workers Bindings method for 50 hours during the month, and uses 10 concurrent browsers for the first 15 days and 20 concurrent browsers the last 15 days, the estimated cost for the month is as follows.
32+
If a Workers Paid plan user uses the Workers Bindings method for 50 hours during the month, and uses 10 concurrent browsers for the first 15 days and 20 concurrent browsers the last 15 days, the estimated cost for the month is as follows.
2933

30-
For **browser duration**:
34+
For **browser hours**:
3135
<br/>50 hours - 10 hours (included in plan) = 40 hours
3236
<br/>40 hours × $0.09 per hour = $3.60
3337

@@ -37,7 +41,7 @@ For **concurrent browsers**:
3741
<br/>15 browsers (averaged monthly) − 10 (included in plan) = 5 browsers
3842
<br/>5 browsers × $2.00 per browser = $10.00
3943

40-
For **browser duration** and **concurrent browsers**:
44+
For **browser hours** and **concurrent browsers**:
4145
<br/>$3.60 + $10.00 = $13.60
4246

4347
## Pricing FAQ
@@ -60,7 +64,7 @@ You can monitor Browser Rendering usage in two ways:
6064
const browserMsUsed = parseInt(contentRes.headers.get('X-Browser-Ms-Used') || '');
6165
```
6266

63-
Then, you can use [the pricing page](/browser-rendering/pricing/) to estimate your costs based on your usage.
67+
You can then use the tables above to estimate your costs based on your usage.
6468

6569
### Do failed API calls, such as those that time out, add to billable browser hours?
6670
No. If a request to the Browser Rendering REST API fails with a `waitForTimeout` error, the browser session is not charged.

0 commit comments

Comments
 (0)