# Limits

> Every limit in one place, next to Vercel’s where they differ. Most come from AWS Lambda, which runs your functions.

- Category: Reference
- URL: https://www.forkrail.com/docs/limits

## Functions and requests

| Limit | forkrail | Vercel Pro |
| --- | --- | --- |
| Function memory | 128 to 10,240 MB (default 640 MB) | Up to 4 GB |
| Max duration | 1 to 900 seconds (default 300) | Up to 800 seconds |
| Request body | 4.5 MB | 4.5 MB |
| Function size, unzipped | 250 MB | 250 MB |
| Env vars per environment | 64 KB | 64 KB |
| Header field | 32 KB (494 above) | 32 KB |
| Request headers in all | About 127.5 KB or 500 fields (431 above) | Similar |
| Middleware start | Its max duration, or 25 seconds | 25 seconds |
| Requests sharing one worker (concurrent compute) | 2 to 50 per worker (default 10), set per project; more workers start as needed | Set by Vercel |
| Workers per deployment | No cap by default (optional cap of 1 to 1,000); your account’s Lambda quota applies | Set by plan |

> **Your AWS account’s own limits:** Lambda limits apply per account and region: concurrency (1,000 by default) caps workers across all projects, and new accounts can start lower, including less memory per function. The installer adapts to what your account allows, and the dashboard’s function settings show the cap. Raise them in the AWS console under **Service Quotas → AWS Lambda**.

## Builds and deployments

| Limit | forkrail | Vercel Pro |
| --- | --- | --- |
| Build time | 15 minutes | 45 minutes |
| Build memory | 4 GB, then 8 GB for large builds | 8 GB |
| Upload | 100,000 files, 1 GB | By plan |
| Build cache kept | 30 days | By plan |
| Deployments kept | 30 days by default for each kind, configurable; production and recent ones always | By plan |
| Restore a deleted deployment | Within 30 days | Within 30 days |
| Deploy hooks | 5 a project, 60 calls an hour | By plan |

## Routing, caching and images

| Limit | forkrail |
| --- | --- |
| Items in each `vercel.json` routing key | 2,048, as on Vercel |
| Bulk redirects | 1,000,000 a project, as on Vercel |
| Cron schedules | 100 a project |
| Cached function answer | 10 MB |
| ISR page | 20 MB |
| Router disk cache | 2 GB per router |
| Source image | 8,192 pixels a side; 4 MB from a function, 50 MB from another site |
| Skew protection allowed domains | 12 |

## Firewall and protection

| Limit | forkrail |
| --- | --- |
| Firewall rules | 1,000, of which 100 rate limits |
| Rate limit window | 10 to 3,600 seconds |
| Attack mode | 1, 6 or 24 hours |
| Connections per address | 256 (owners can change it) |
| Requests per address | 5,000 in 10 seconds, then blocked 10 minutes (owners can change it) |
| System bypasses | 100 |
| Webhooks | 20 per install |

There’s no limit on projects, team members, domains, bandwidth or requests: you pay AWS for what you use, and [spend limits](https://www.forkrail.com/docs/spend-budgets) keep that in check.
