---
title: Migrate from Vercel to Cloudflare Workers
slug: vercel-to-cloudflare-workers
url: "https://toolweight.com/migrate/vercel-to-cloudflare-workers"
status: published
from: vercel
to: cloudflare-workers
category: vercel-alternatives
last_verified: 2026-11-20
text_reviewed: 2026-11-21
dataset_version: 4fc06b2e
license: CC-BY-4.0
---

# Vercel to Cloudflare Workers

> What does it take to move a Next.js app from Vercel to Cloudflare Workers?

Most of a Next.js app moves from Vercel to Cloudflare Workers & Pages, and some of it does not: Next.js parity is [**most**](https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/) on Cloudflare Workers & Pages against [**full**](https://vercel.com/docs/frameworks/full-stack/nextjs) on Vercel, and the runtime model changes from [**edge+node**](https://vercel.com/docs/functions/runtimes) to [**edge-only**](https://developers.cloudflare.com/workers/reference/how-workers-works/). At the category's default traffic scenario **Cloudflare Workers & Pages is $15/mo cheaper**.

Tools: [Vercel](https://toolweight.com/tools/vercel) to [Cloudflare Workers & Pages](https://toolweight.com/tools/cloudflare-workers), both compared in [Vercel alternatives](https://toolweight.com/compare/vercel-alternatives).

## What moves cleanly

- The framework. Vercel supports [**nextjs, nuxt, sveltekit, astro, remix, static, dockerfile**](https://vercel.com/docs/frameworks/full-stack/); Cloudflare Workers & Pages supports [**nextjs, nuxt, sveltekit, astro, remix, static**](https://developers.cloudflare.com/workers/framework-guides/).
- The release workflow has a counterpart: preview deploys are [**yes**](https://vercel.com/docs/deployments/environments) on Vercel and [**yes**](https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/) on Cloudflare Workers & Pages, and rollback is [**instant**](https://vercel.com/docs/instant-rollback) and [**instant**](https://developers.cloudflare.com/workers/configuration/versions-and-deployments/rollbacks/).
- Cron jobs are [**yes**](https://vercel.com/docs/cron-jobs) on Vercel and [**yes**](https://developers.cloudflare.com/workers/configuration/cron-triggers/) on Cloudflare Workers & Pages.
- Deploys from CI or an agent are [**yes**](https://vercel.com/docs/rest-api) on Vercel and [**yes**](https://developers.cloudflare.com/workers/ci-cd/external-cicd/github-actions/) on Cloudflare Workers & Pages.
- A Sydney region is [**yes**](https://vercel.com/docs/edge-network/regions) on Vercel and [**yes**](https://www.cloudflare.com/network/) on Cloudflare Workers & Pages.
- Monorepo support is [**yes**](https://vercel.com/docs/monorepos) on Vercel and [**yes**](https://developers.cloudflare.com/workers/ci-cd/builds/advanced-setups/) on Cloudflare Workers & Pages.

| Field | Vercel | Cloudflare Workers & Pages |
| --- | --- | --- |
| Frameworks | nextjs, nuxt, sveltekit, astro, remix, static, dockerfile. Zero-config frameworks per Vercel docs; a container runtime also deploys Dockerfile images. ([source](https://vercel.com/docs/frameworks/full-stack/)) | nextjs, nuxt, sveltekit, astro, remix, static. Guides also exist for TanStack Start, Angular, Vue and others, outside this field options. ([source](https://developers.cloudflare.com/workers/framework-guides/)) |
| Preview deploys | yes ([source](https://vercel.com/docs/deployments/environments)) | yes. Preview builds are switched on once per project, then each pull request gets its own preview URL in a comment. Cleanup on merge is not stated in the docs. ([source](https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/)) |
| Rollback | instant ([source](https://vercel.com/docs/instant-rollback)) | instant. A rollback re-points 100% of traffic to a retained version (no rebuild). The docs say the change takes time to reach every location but give no figure, so the speed is inferred. ([source](https://developers.cloudflare.com/workers/configuration/versions-and-deployments/rollbacks/)) |
| Cron jobs | yes ([source](https://vercel.com/docs/cron-jobs)) | yes ([source](https://developers.cloudflare.com/workers/configuration/cron-triggers/)) |
| Agent/CI deploy | yes. Access tokens authenticate the REST API and CLI (VERCEL_TOKEN) with no browser login. ([source](https://vercel.com/docs/rest-api)) | yes. Wrangler deploys in CI with only an API token and account id. Provisioning and log reading with the same token were not separately sourced. ([source](https://developers.cloudflare.com/workers/ci-cd/external-cicd/github-actions/)) |
| Sydney region | yes ([source](https://vercel.com/docs/edge-network/regions)) | yes. Sydney is a Cloudflare city, and Workers run in the data center closest to the request by default. Smart Placement can instead pin execution near your data. ([source](https://www.cloudflare.com/network/)) |
| Monorepo support | yes ([source](https://vercel.com/docs/monorepos)) | yes. Per-worker root directory and deploy command, plus build watch paths to skip unrelated changes. ([source](https://developers.cloudflare.com/workers/ci-cd/builds/advanced-setups/)) |
| WAF & DDoS | yes. DDoS mitigation is on every plan and Pro has up to 40 custom firewall rules. The managed OWASP core ruleset is Enterprise only. ([source](https://vercel.com/docs/security/ddos-mitigation)) | yes. DDoS managed rulesets cover layers 3/4 and 7. WAF custom rules are on every plan, and the Free plan gets a free managed ruleset. ([source](https://developers.cloudflare.com/ddos-protection/)) |

## What does not

- The runtime. Vercel's runtime model is [**edge+node**](https://vercel.com/docs/functions/runtimes) and Cloudflare Workers & Pages's is [**edge-only**](https://developers.cloudflare.com/workers/reference/how-workers-works/), so code that needs all of Node has to be checked against the compatibility layer first.
- Next.js parity drops from [**full**](https://vercel.com/docs/frameworks/full-stack/nextjs) to [**most**](https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/). The notes below say how each host runs Next.js.
- Long requests: the function timeout is [**5min**](https://vercel.com/docs/functions/limits) on Vercel and [**30s**](https://developers.cloudflare.com/workers/platform/pricing/) on Cloudflare Workers & Pages.
- The lock-in changes kind and does not go away: exit friction is rated **4** for Vercel and **4** for Cloudflare Workers & Pages.

| Field | Vercel | Cloudflare Workers & Pages |
| --- | --- | --- |
| Runtime model | edge+node. Edge (V8 isolates) and Node.js runtimes; a container runtime for OCI images also exists. ([source](https://vercel.com/docs/functions/runtimes)) | edge-only. V8 isolates with a Node compatibility layer; it is not Node itself. ([source](https://developers.cloudflare.com/workers/reference/how-workers-works/)) |
| Next.js parity | full. Vercel maintains Next.js; its docs cover ISR, streaming, PPR, image optimization and middleware natively. ([source](https://vercel.com/docs/frameworks/full-stack/nextjs)) | most. Cloudflare now recommends vinext, a Vite plugin that reimplements the Next.js API (in beta). The OpenNext adapter stays documented for existing apps. ([source](https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/)) |
| Fn timeout | 5min ([source](https://vercel.com/docs/functions/limits)) | 30s ([source](https://developers.cloudflare.com/workers/platform/pricing/)) |
| Exit friction | 4. Framework code moves easily; ISR behaviour, image optimisation, Edge Config and cron routes do not. | 4. Web-standard code ports fine. KV, D1, R2 bindings and Durable Objects have no drop-in equivalent anywhere. |
| Cold start | 0ms. The field defines zero as instances that stay warm and do not scale to zero by default. On Pro, the lowest paid tier, Vercel keeps one instance of the current production deployment running by default (scale to one) as long as it was invoked in the last 14 days, so the first request after an ordinary idle period is warm. A deployment idle for over 14 days, preview deployments, and traffic beyond the warm instance can still cold start. ([source](https://vercel.com/blog/scale-to-one-how-fluid-solves-cold-starts)) | 0ms. Worked out, not stated. Isolates are evicted when idle, so Workers do scale to zero; but Cloudflare pre-warms the isolate during the TLS handshake, and a cold start that finishes before the handshake adds zero visible delay. A trivial handler warms in about 5 ms, well under a TLS round trip, so the added p50 latency for the field's trivial handler is about 0. Large scripts can exceed the handshake and show some delay (Cloudflare 2025). Vendor figures, not measured by us. ([source](https://blog.cloudflare.com/eliminating-cold-starts-2-shard-and-conquer/)) |

## The data export path

- A host holds little data of its own. The code is in your repository, so the export is configuration, environment variables and whatever sits in the platform's own storage.
- Exit friction, rated **4** for Vercel, is the measure of that work, and its note lists the parts with no counterpart.
- Self-hosting is not a fallback on either side: it is [**partial**](https://vercel.com/kb/guide/can-i-use-vercel-to-deploy-to-a-private-cloud) on Vercel and [**partial**](https://github.com/cloudflare/workerd) on Cloudflare Workers & Pages.
- Two services are re-pointed, not moved: image optimisation is billed as [**metered**](https://vercel.com/pricing) on Vercel and [**metered**](https://developers.cloudflare.com/images/pricing/) on Cloudflare Workers & Pages, and analytics costs [**$10/mo**](https://vercel.com/pricing) and [**$0/mo**](https://www.cloudflare.com/web-analytics/).

| Field | Vercel | Cloudflare Workers & Pages |
| --- | --- | --- |
| Exit friction | 4. Framework code moves easily; ISR behaviour, image optimisation, Edge Config and cron routes do not. | 4. Web-standard code ports fine. KV, D1, R2 bindings and Durable Objects have no drop-in equivalent anywhere. |
| Self-hostable | partial. Platform is hosted only. Enterprise BYOC runs your functions as AWS Lambda in your account while Vercel runs routing and the control plane. ([source](https://vercel.com/kb/guide/can-i-use-vercel-to-deploy-to-a-private-cloud)) | partial. workerd, the runtime, is open source; the global network, KV and Durable Objects are not available to self-host. ([source](https://github.com/cloudflare/workerd)) |
| Image opt billing | metered. Billed per image transformation, cache read and cache write; Hobby includes 5k transformations a month. ([source](https://vercel.com/pricing)) | metered. Cloudflare Images bills per unique transformation (the pricing example shows $2.50 for 5,000 billable). The Free plan includes transformations. ([source](https://developers.cloudflare.com/images/pricing/)) |
| Analytics cost | $10/mo. Web Analytics Plus is a $10/mo Pro add-on (longer reporting window). Base Web Analytics on Pro is metered at $3 per 100k events. ([source](https://vercel.com/pricing)) | $0/mo. Cloudflare Web Analytics is free. ([source](https://www.cloudflare.com/web-analytics/)) |

## Cost at the default scenario

- The category's default scenario is one small production app on the cheapest paid tier. Vercel comes to [**$20/mo**](https://vercel.com/docs/plans/pro-plan) and Cloudflare Workers & Pages to [**$5/mo**](https://developers.cloudflare.com/workers/platform/pricing/): **Cloudflare Workers & Pages is $15/mo cheaper**.
- Past the included allowance, bandwidth costs [**$150/TB**](https://vercel.com/pricing) on Vercel and [**$0/TB**](https://developers.cloudflare.com/workers/platform/pricing/) on Cloudflare Workers & Pages.
- Overage behaviour is [**bill**](https://vercel.com/pricing) on Vercel and [**bill**](https://developers.cloudflare.com/workers/platform/pricing/) on Cloudflare Workers & Pages, so set a spend limit on whichever you run.
- The free tier is rated [**4**](https://vercel.com/docs/limits/fair-use-guidelines) for Vercel and [**5**](https://developers.cloudflare.com/workers/platform/pricing/) for Cloudflare Workers & Pages.

| Field | Vercel | Cloudflare Workers & Pages |
| --- | --- | --- |
| Price @ 1 TB | $20/mo. $20/mo Pro seat; the included flat-rate CDN tier covers 1M requests and 1 TB a month. Compute and image transformations are extra. ([source](https://vercel.com/docs/plans/pro-plan)) | $5/mo. $5 Workers Paid subscription; 1M requests are inside the 10M included and there is no egress charge. Assumes CPU time stays inside the 30M ms included. ([source](https://developers.cloudflare.com/workers/platform/pricing/)) |
| Bandwidth price | $150/TB ([source](https://vercel.com/pricing)) | $0/TB ([source](https://developers.cloudflare.com/workers/platform/pricing/)) |
| Overage behaviour | bill. Pro usage past the included credit is billed on demand, uncapped. New Pro teams get a default $200 on-demand budget that only notifies; pausing production deployments at the budget is an opt-in setting. ([source](https://vercel.com/pricing)) | bill ([source](https://developers.cloudflare.com/workers/platform/pricing/)) |
| Free tier | 4. Hobby is generous but explicitly non-commercial. ([source](https://vercel.com/docs/limits/fair-use-guidelines)) | 5 ([source](https://developers.cloudflare.com/workers/platform/pricing/)) |
| Build minutes incl. | 0 min/mo. Pro bills builds per minute from the first minute (basic machines $0.007/min); the $20 monthly credit can be spent on them. No separate minute allowance. ([source](https://vercel.com/docs/pricing)) | 6,000 min/mo. Paid plans get 6,000 build minutes per month, then $0.005 per minute. The Free plan gets 3,000. ([source](https://developers.cloudflare.com/workers/ci-cd/builds/limits-and-pricing/)) |

## Licence and attribution

Data from Toolweight (https://toolweight.com), licensed CC-BY-4.0.

- Licence: [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
- Canonical HTML: https://toolweight.com/migrate/vercel-to-cloudflare-workers
- Machine-readable: https://toolweight.com/migrate/vercel-to-cloudflare-workers.md · https://toolweight.com/api/v1 · https://toolweight.com/mcp
- Toolweight takes no affiliate revenue and sells no placements.
