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
Copy file name to clipboardExpand all lines: src/content/docs/workflows/reference/pricing.mdx
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,20 +14,52 @@ Workflows is included in both the Free and Paid [Workers plans](/workers/platfor
14
14
15
15
:::
16
16
17
-
Workflows pricing is identical to [Workers Standard pricing](/workers/platform/pricing/#workers) and are billed on two dimensions:
17
+
Workflows pricing is identical to [Workers Standard pricing](/workers/platform/pricing/#workers) and are billed on three dimensions:
18
18
19
19
***CPU time**: the total amount of compute (measured in milliseconds) consumed by a given Workflow.
20
20
***Requests** (invocations): the number of Workflow invocations. [Subrequests](/workers/platform/limits/#subrequests) made from a Workflow do not incur additional request costs.
21
+
***Storage**: the total amount of storage (measured in GB) persisted by your Workflows.
21
22
22
23
A Workflow that is waiting on a response to an API call, paused as a result of calling `step.sleep`, or otherwise idle, does not incur CPU time.
23
24
25
+
### Workflows Pricing
26
+
27
+
| Unit | Workers Free | Workers Paid |
28
+
|------|--------------|--------------|
29
+
| Requests (millions) | 100,000 per day ([shared with Workers requests](/workers/platform/pricing/#workers)| 10 million included per month + $0.30 per additional million |
30
+
| CPU time (ms) | 10 milliseconds of CPU time per invocation | 30 million CPU milliseconds included per month + $0.02 per additional million CPU milliseconds |
31
+
| Storage (GB-mo) | 1GB | 1GB included per month + $0.20/ GB-month |
32
+
33
+
::note[CPU limits]
34
+
35
+
You can increase the CPU limit available to your Workflow instances up to 5 minutes per Workflow by [setting the `limits.cpu_ms` property](/workers/wrangler/configuration/#limits) in your Wrangler configuration.
36
+
37
+
:::
38
+
39
+
### Storage Usage
40
+
41
+
:::Note
42
+
43
+
Storage billing for Workflows will go live on September 15th, 2025.
44
+
45
+
:::
46
+
47
+
Storage is billed using gigabyte-month (GB-month) as the billing metric, identical to [Durable Objects SQL storage](/durable-objects/platform/pricing/#sqlite-storage-backend). A GB-month is calculated by averaging the peak storage per day over a billing period (30 days).
48
+
49
+
* Storage is calculated across all instances, and includes running, errored, sleeping and completed instances.
50
+
* By default, instance state is retained for [3 days on the Free plan](/workflows/reference/limits/) and [7 days on the Paid plan](/workflows/reference/limits/).
51
+
* When creating a Workflow instance, you can set a shorter state retention period if you do not need to retain state for errored or completed Workflows.
52
+
* Deleting instances via the [Workers API](/workflows/build/workers-api/), [wrangler CLI](/workers/wrangler/commands/#workflows), REST API or dashboard will free up storage. Note that it may take a few minutes for storage limits to update.
53
+
54
+
An instance that attempts to store state when your have reached the storage limit on the Free plan will cause an error to be thrown.
55
+
24
56
## Frequently Asked Questions
25
57
26
58
Frequently asked questions related to Workflows pricing:
27
59
28
60
### Are there additional costs for Workflows?
29
61
30
-
No. Workflows are priced based on the same compute (CPU time) and requests (invocations) as Workers.
62
+
No. Workflows are priced based on the same compute (CPU time), requests (invocations) as Workers, as well as storage (state from a Workflow).
31
63
32
64
### Are Workflows available on the [Workers Free](/workers/platform/pricing/#workers) plan?
0 commit comments