This guide describes limits of Layer0 platform as applied to all projects running on it.

  • Kb stands for kilobytes and means 1,024 bytes (2^10 bytes)
  • Mb stands for megabytes and means 1,024 kilobytes (2^20 bytes)
  • Gb stands for gigabytes and means 1,024 megabytes (2^30 bytes)

ValueLimitDescription
Response body size from static2GbThe maximum size of a response body of Layer0 static assets.
Response body size from custom origin2GbThe maximum size of a response body from a custom origin.
Response body size from Layer0 serverless6MbThe maximum size of a response body from Layer0 serverless.
Path and query string size8KbThe maximum bytes (not characters) that Layer0 will accept in path and query string.
Cookie size32KbThe maximum bytes that Layer0 will accept in request or response cookies.
HTTP header size64KbThe maximum bytes that Layer0 will accept in request or response HTTP headers.
HTTP header count70The maximum number of developer-controlled headers Layer0 will accept in HTTP request or response. Exceeding this will result in 542 status code.
Scheduling timeout60 secondsThe number of seconds Layer0 will try to schedule a request processing before timing out. Exceeding this will result in 541 status code.
Worker timeout20 secondsThe number of seconds Layer0 will wait for project code to process the request before timing out. Exceeding this will result in 539 status code.
Prerender concurrency200
Total number of prerendered requests25,000 per deployment

ValueLimitDescription
SizeUnlimitedAll access logs will always be logged.
Time2 hoursThe minimum time that Layer0 guarantees that access logs will be available for reading.