Menu

Vercel Sandbox pricing and limits

Last updated November 26, 2025

Vercel Sandbox usage is metered across several dimensions. This page explains how billing works for each plan, what limits apply, and how to estimate costs.

Hobby
(Included)
Pro
(Per month)
Enterprise
(Per month)
Sandbox Active CPU5 hours/month$0.128/hour$0.128/hour
Sandbox Provisioned Memory420 GB-hours/month$0.0212/GB-hour$0.0212/GB-hour
Sandbox Creations5,000/month$0.60/1M$0.60/1M
Sandbox Data Transfer20 GB/month$0.15/GB$0.15/GB
Sandbox Storage15 GB (lifetime)$0.08/GB-month$0.08/GB-month
Concurrent Sandboxes102,0002,000
Max Runtime Duration45 minutes5 hours5 hours
vCPU Allocation Rate40/10 min200/min400/min

On each billing cycle, Hobby plans receive a monthly allotment of Sandbox usage at no cost. Pro and Enterprise plans are charged based on usage.

Once you exceed your included limit on Hobby, sandbox creation is paused until the next billing cycle. Pro and Enterprise usage is charged against your account.

Sandbox is free for Hobby users within the usage limits detailed above.

Vercel sends you notifications as you approach your usage limits. You will not be charged for any additional usage. Once you exceed the limits, sandbox creation is paused until 30 days have passed since you first used the feature.

To continue using Sandbox after exceeding your limits, upgrade to Pro.

All Sandbox usage on Pro plans is charged against your $20/month credit. After the credit is exhausted, usage is billed at the rates shown above.

To control costs, configure Spend Management to receive alerts or pause projects when you reach a specified amount.

Enterprise plans use the same list pricing as Pro. Contact your account team for volume discounts or higher limits.

Contact sales for custom pricing.

Vercel tracks Sandbox usage across five metrics. Select a metric in the pricing table above to jump to its description.

The amount of time your code actively uses the CPU, measured in hours. Time spent waiting for I/O (such as network requests, database queries, or AI model calls) does not count toward Active CPU.

The memory allocated to your sandbox (in GB) multiplied by the time it runs (in hours). Each vCPU includes 2 GB of memory. For example, a 4 vCPU sandbox with 8 GB of memory running for 30 minutes uses:

8 GB × 0.5 hours = 4 GB-hours

The number of times you call Sandbox.create(). Each creation counts as one, regardless of how long the sandbox runs.

The total data transferred in and out of your sandbox, measured in GB. This includes package downloads, API calls, and traffic through exposed ports.

The storage used by snapshots, measured in GB per month. Snapshots automatically expire after 7 days.

The following examples show estimated costs for common scenarios on Pro/Enterprise plans.

ScenarioDurationvCPUsMemoryActive CPU CostMemory CostTotal
Quick test2 min12 GB$0.004$0.001~$0.01
AI code validation5 min24 GB$0.02$0.007~$0.03
Build and test30 min48 GB$0.26$0.08~$0.34
Long-running task2 hr816 GB$2.05$0.68~$2.73

These estimates assume 100% CPU utilization. Actual Active CPU costs are often lower because time spent waiting for I/O is not billed.

Sandbox creation costs are minimal at $0.60 per million creations ($0.0000006 per creation).

ResourceLimit
Maximum vCPUs per sandbox8
Memory per vCPU2 GB
Maximum memory per sandbox16 GB
Open ports per sandbox4

The default timeout is 5 minutes. You can configure this using the timeout option when creating a sandbox, and extend it using sandbox.extendTimeout(). See Working with Sandbox for details.

PlanMaximum duration
Hobby45 minutes
Pro5 hours
Enterprise5 hours
PlanConcurrent sandboxes
Hobby10
Pro2,000
Enterprise2,000

The number of vCPUs you can allocate to new sandboxes is rate-limited by plan.

PlanvCPU allocation limit
Hobby40 vCPUs per 10 minutes
Pro200 vCPUs per minute
Enterprise400 vCPUs per minute

For example, with the Pro plan limit of 200 vCPUs per minute, you can create 25 sandboxes with 8 vCPUs each, or 100 sandboxes with 2 vCPUs each, every minute.

Contact sales if you need higher rate limits.

Snapshots automatically expire after 7 days. Plan to recreate snapshots if you need them beyond this window.

Currently, Vercel Sandbox is only available in the iad1 region.

To optimize your Sandbox costs:

  • Set appropriate timeouts: Use the shortest timeout that works for your task
  • Right-size resources: Start with fewer vCPUs and scale up only if needed
  • Stop sandboxes promptly: Call sandbox.stop() when done rather than waiting for timeout
  • Monitor usage: Check the Usage dashboard to track your sandbox consumption

For more details on sandbox lifecycle management, see Working with Sandbox.


Was this helpful?

supported.