Skip to content

Limits

Some limits are monthly amounts, covered in Plans. The ones below apply on the spot, on every plan.

Builds

FreeStandardProPlatformEnterprise
Build timeout10 min20 min30 min15 min45 min
Concurrent builds1241010
Queued builds31025100100
Deployments / day10UnlimitedUnlimitedUnlimitedUnlimited
Build machinesstandard-1standard-1, standard-2standard-1, standard-2, standard-3standard-1, standard-2, standard-3, standard-4standard-1, standard-2, standard-3, standard-4
  • A build past its timeout fails.
  • Builds past the concurrent builds wait in the build queue; past the queued builds, a new one is refused.
  • Deployments per day only limits Free.
  • A CLI upload is limited to 25 MB. See Ignoring files.

Projects and environments

FreeStandardProPlatformEnterprise
New projects / hour530601,000120
Environments per project123112
Deployments kept for rollback3301005500
  • Creating projects past the hourly rate is refused with HTTP 429 and a Retry-After header.
  • Environments per project is a hard limit on every plan.
  • Only the most recent successful deployments can be rolled back to.

Each request

Each request your code handles has a budget, set by your plan:

FreeStandardProPlatformEnterprise
CPU per request15 ms30 ms50 ms50 ms50 ms
Subrequests per request1050505050
  • CPU per request: the time your code may spend computing for one request. Waiting on I/O doesn't count.
  • Subrequests per request: the number of fetch calls your code may make while handling one request.

A request over either fails with an error, and your code can't catch it. Static files aren't affected.

Environment variables

  • Keys: uppercase letters, digits and underscores, not starting with a digit.
  • Values: up to 4,096 characters.

When a limit refuses something

The API answers HTTP 402 with a message naming the limit and what raises it; the CLI and the dashboard show that message. Rate limits answer 429.