Skip to content
Menu

Workflow Pricing and Limits

Vercel bills Workflows usage across three resources:

  • Workflow Events: Every state transition in a workflow run is persisted as an event. See Events for more details.
  • Workflow Data Written: The amount of data written to managed persistence for workflow state and event logs, including stream data.
  • Workflow Data Retained: The amount of data stored per month in managed persistence.

Vercel bills each resource based on usage. Each plan has an included allotment. See the Hobby plan limits for included usage.

ResourceHobby IncludedOn-demand Rates
Workflow StepsFirst 50,000 Steps$2.50 per 100K Steps
Workflow Data Retained$0.00069 per GB per hour

Functions invoked by Workflows continue to be charged at the existing compute rates. We recommend using Fluid compute with Workflow for reduced costs and higher performance.

Workflow uses Vercel Queues to orchestrate workflow runs. Vercel bills Queues usage at standard rates, see Vercel Queues pricing for more details.

Every state transition in a workflow run is persisted as an event. The full list of events is available in the Workflow SDK documentation.

As an example, a normal step function execution produces three events: step_created, step_started, and step_completed. For every time a step re-tries due to a transient error, a step_retrying event is also created.

Storage for managed persistence is retained based on your team plan:

PlanRetention after run completion
Hobby1 day
Pro7 days
Enterprise30 days

Storage retention is not configurable by default. You can request a custom retention period by contacting support.

The following limits apply to all Workflow runs.

LimitValueDetails
Run creations per second1,000
Events per run25,000 limit
Steps per run10,000
Event creations per run per second200
Hook creations per second200
Max payload size50 MB
Maximum total entity storage per run2 GB
Max workflow replay duration240s
Maximum run durationNo limit
Maximum sleep durationNo limit
Max runtime of individual stepsee Vercel Functions limits
Max stream storage sizeUnlimited
Max stream chunk size10 MB
Max stream chunks per second per stream1,000
Hook token size255 bytes
Workflow name255 bytes
Step name255 bytes

Runs that exceed 2,000 events or 1 GB of total entity storage have slower replay times. To maintain high performance, we recommend creating child workflows to break long-running workflows into smaller pieces.

LimitValueDetails
Concurrencyup to 100,000, see Vercel Functions limits
Queued runsNo limit, see Vercel Queues limits
Schedules/cronNo limit
ProjectsUnlimited
Real-time connectionsNo limit
Observability retentionSee Observability
Compute resourcesSee Vercel Functions limits
Maximum total bundle size250MB, see Vercel Functions limits

Requests include any event creation or stream write operation, as well as any operation for reading events, stream chunks, metadata, or event data. For any request made from your deployment, exceeding the rate limit will automatically re-try with backoff. This includes the initial request to start the workflow. If the call to start() does not throw an error, the workflow will eventually start and run to completion or failure. This means hitting the rate limit will not cause your workflow to fail, but it will slow down the rate at which your workflows run.

PlanRequests per minute
Hobby100,000
Pro1,000,000
Enterprise5,000,000

Was this helpful?

supported.