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 on Cloudflare Workers & Pages against full on Vercel, and the runtime model changes from edge+node to edge-only. At the category's default traffic scenario Cloudflare Workers & Pages is $15/mo cheaper.

Migration guide · Values last verified · Text reviewed · All vercel alternatives →

What moves cleanly

FieldVercelCloudflare Workers & Pages
Frameworksnextjs, nuxt, sveltekit, astro, remix, static, dockerfileZero-config frameworks per Vercel docs; a container runtime also deploys Dockerfile images.vercel.com · 2026-11-20nextjs, nuxt, sveltekit, astro, remix, staticGuides also exist for TanStack Start, Angular, Vue and others, outside this field options.developers.cloudflare.com · 2026-11-20
Preview deploysyesvercel.com · 2026-11-06yesPreview 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.developers.cloudflare.com · 2026-11-20
Rollbackinstantvercel.com · 2026-11-20instantA 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.developers.cloudflare.com · 2026-11-20
Cron jobsyesvercel.com · 2026-11-06yesdevelopers.cloudflare.com · 2026-11-20
Agent/CI deployyesAccess tokens authenticate the REST API and CLI (VERCEL_TOKEN) with no browser login.vercel.com · 2026-11-20yesWrangler deploys in CI with only an API token and account id. Provisioning and log reading with the same token were not separately sourced.developers.cloudflare.com · 2026-11-20
Sydney regionyesvercel.com · 2026-11-06yesSydney 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.cloudflare.com · 2026-11-20
Monorepo supportyesvercel.com · 2026-11-20yesPer-worker root directory and deploy command, plus build watch paths to skip unrelated changes.developers.cloudflare.com · 2026-11-20
WAF & DDoSyesDDoS mitigation is on every plan and Pro has up to 40 custom firewall rules. The managed OWASP core ruleset is Enterprise only.vercel.com · 2026-11-20yesDDoS managed rulesets cover layers 3/4 and 7. WAF custom rules are on every plan, and the Free plan gets a free managed ruleset.developers.cloudflare.com · 2026-11-20

What does not

  • The runtime. Vercel's runtime model is edge+node and Cloudflare Workers & Pages's is edge-only, so code that needs all of Node has to be checked against the compatibility layer first.
  • Next.js parity drops from full to most. The notes below say how each host runs Next.js.
  • Long requests: the function timeout is 5min on Vercel and 30s 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.
FieldVercelCloudflare Workers & Pages
Runtime modeledge+nodeEdge (V8 isolates) and Node.js runtimes; a container runtime for OCI images also exists.vercel.com · 2026-11-20edge-onlyV8 isolates with a Node compatibility layer; it is not Node itself.developers.cloudflare.com · 2026-11-20
Next.js parityfullVercel maintains Next.js; its docs cover ISR, streaming, PPR, image optimization and middleware natively.vercel.com · 2026-11-20mostCloudflare now recommends vinext, a Vite plugin that reimplements the Next.js API (in beta). The OpenNext adapter stays documented for existing apps.developers.cloudflare.com · 2026-11-20
Fn timeout5minvercel.com · 2026-11-0630sdevelopers.cloudflare.com · 2026-11-06
Exit friction4Framework code moves easily; ISR behaviour, image optimisation, Edge Config and cron routes do not.4Web-standard code ports fine. KV, D1, R2 bindings and Durable Objects have no drop-in equivalent anywhere.
Cold start0msThe 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.vercel.com · 2026-11-200msWorked 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.blog.cloudflare.com · 2026-11-20

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 on Vercel and partial on Cloudflare Workers & Pages.
  • Two services are re-pointed, not moved: image optimisation is billed as metered on Vercel and metered on Cloudflare Workers & Pages, and analytics costs $10/mo and $0/mo.
FieldVercelCloudflare Workers & Pages
Exit friction4Framework code moves easily; ISR behaviour, image optimisation, Edge Config and cron routes do not.4Web-standard code ports fine. KV, D1, R2 bindings and Durable Objects have no drop-in equivalent anywhere.
Self-hostablepartialPlatform is hosted only. Enterprise BYOC runs your functions as AWS Lambda in your account while Vercel runs routing and the control plane.vercel.com · 2026-11-20partialworkerd, the runtime, is open source; the global network, KV and Durable Objects are not available to self-host.github.com · 2026-11-20
Image opt billingmeteredBilled per image transformation, cache read and cache write; Hobby includes 5k transformations a month.vercel.com · 2026-11-20meteredCloudflare Images bills per unique transformation (the pricing example shows $2.50 for 5,000 billable). The Free plan includes transformations.developers.cloudflare.com · 2026-11-20
Analytics cost$10/moWeb Analytics Plus is a $10/mo Pro add-on (longer reporting window). Base Web Analytics on Pro is metered at $3 per 100k events.vercel.com · 2026-11-20$0/moCloudflare Web Analytics is free.cloudflare.com · 2026-11-20

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 and Cloudflare Workers & Pages to $5/mo: Cloudflare Workers & Pages is $15/mo cheaper.
  • Past the included allowance, bandwidth costs $150/TB on Vercel and $0/TB on Cloudflare Workers & Pages.
  • Overage behaviour is bill on Vercel and bill on Cloudflare Workers & Pages, so set a spend limit on whichever you run.
  • The free tier is rated 4 for Vercel and 5 for Cloudflare Workers & Pages.
FieldVercelCloudflare 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.vercel.com · 2026-11-20$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.developers.cloudflare.com · 2026-11-20
Bandwidth price$150/TBvercel.com · 2026-11-06$0/TBdevelopers.cloudflare.com · 2026-11-06
Overage behaviourbillPro 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.vercel.com · 2026-11-20billdevelopers.cloudflare.com · 2026-11-06
Free tier4Hobby is generous but explicitly non-commercial.vercel.com · 2026-06-155developers.cloudflare.com · 2026-11-06
Build minutes incl.0 min/moPro 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.vercel.com · 2026-11-206,000 min/moPaid plans get 6,000 build minutes per month, then $0.005 per minute. The Free plan gets 3,000.developers.cloudflare.com · 2026-11-20