# Differences from Vercel

> forkrail follows Vercel’s behavior wherever it can, down to headers and error codes. This page lists where it differs on purpose, and what isn’t built yet.

- Category: Get started
- URL: https://www.forkrail.com/docs/vercel-differences

## What works the same

- Git previews, branch URLs, production branch deploys, pull request comments, deploy hooks, `ignoreCommand` and `git.deploymentEnabled`.
- Promote, Instant Rollback, Redeploy, staged production deployments and deployment retention.
- `vercel.json` routing (redirects, rewrites, headers, `cleanUrls`, `trailingSlash`, `routes`), bulk redirects, project routing rules, crons, Image Optimization, ISR, skew protection and Routing Middleware.
- Environment variables per environment and per branch, with Vercel’s system variable names and the 64 KB limit.
- The firewall: custom rules, IP blocks, rate limits, Attack Mode, and a Vercel firewall export imports as it is.
- Response headers (`x-vercel-cache`, `x-vercel-id`), error codes (`FUNCTION_INVOCATION_TIMEOUT`, `FUNCTION_PAYLOAD_TOO_LARGE`) and request limits.

## What works differently

| Area | Vercel | forkrail |
| --- | --- | --- |
| Where it runs | Vercel’s cloud | Your AWS account |
| Billing | Vercel plans, seats and usage | Free software; AWS bills you at its prices |
| Team sign-in | Vercel accounts, SSO on Enterprise | GitHub, through your install’s own GitHub App; unlimited members |
| Concurrency | Fluid compute | [Concurrent compute](https://www.forkrail.com/docs/concurrent-compute): up to 10 requests share one worker by default (2 to 50, set per project). More workers start as traffic grows, with no cap of forkrail’s own. |
| A deployment’s functions | Each function runs on its own | All of a deployment’s functions share one Lambda function at the largest memory any of them asks for |
| Edge functions and middleware | Edge runtime | Run on Node.js in the deployment’s own function (Vercel now recommends Node for both) |
| Build time limit | 45 minutes | 15 minutes in the builder (Lambda’s limit); longer builds can run on your machine with `--local` |
| Compression | The CDN compresses text | The router compresses text (Brotli, else gzip); answers your app compressed go as they are |
| POST caching | Some POST answers can be cached | POST responses are never cached |
| Function regions | `regions` in vercel.json | The same setting, plus routers you can add in any AWS region |
| Edge network | Points of presence worldwide | A router in your install’s region; functions in any of 20 AWS regions |
| Spend control | Spend Management | [Spend limits](https://www.forkrail.com/docs/spend-budgets) that pause a project within about a second, plus an AWS Budget backstop |
| Logs | Kept per plan | Kept in your own ClickHouse for as long as you keep them |

## Not built yet

- **WebSockets.** Functions don’t accept WebSocket connections.
- **Edge regions.** The router runs in your install’s region, not at points of presence around the world. More router regions are coming to the installer.
- **Sign-in other than GitHub** for the dashboard.
- **Next.js** is in beta: it builds, deploys and shares one cache across workers, but isn’t recommended for critical production yet.
- **Cache tag invalidation** of optimized images by source image.
- **Functions over 250 MB** unzipped (Lambda’s limit; container images aren’t supported yet).
- **Vercel services that use OIDC** (AI Gateway without a key, Blob without a token, Queues, Sandbox without a token). See [Moving from Vercel](https://www.forkrail.com/docs/moving-from-vercel#vercel-only-services).

For the full picture of features and plans, see [forkrail vs Vercel](https://www.forkrail.com/compare/vercel). For hard numbers, see [Limits](https://www.forkrail.com/docs/limits).
