Cloudflare Workers vs Vercel

Cloudflare Workers: APIs and full-stack apps that benefit from global, low-latency serverless.; Vercel: Frontend teams, especially on Next.js, who want zero-config deploys and previews.

FieldCloudflare WorkersVercel
PricingFree tierFree tier
Open sourceNoNo
Self-hostableNoNo
EcosystemJavaScript / TypeScript, RustJavaScript / TypeScript
CategoryHosting & deployHosting & deploy

Choose Vercel over Cloudflare Workers when

Choose it when the function code is part of a Next.js site and you want to deploy the framework's server features with the frontend.

Vercel documents Next.js deployment for applications with server rendering and server-side routes. Documentation A team can keep the UI and backend in the same framework project and use Vercel to host both parts of that project. Documentation

SourceChecked 28 November 2026

Choose Cloudflare Workers over Vercel when

Choose it when your frontend can deploy its static assets and request handlers as a Cloudflare Worker.

Workers can serve a project's static assets and execute application code in the same deployment. Documentation The static assets documentation covers attaching a directory of built files and choosing how asset requests reach the Worker script. Documentation

SourceChecked 28 November 2026

Cloudflare Workers

A serverless platform that runs JavaScript, TypeScript and WebAssembly on Cloudflare's global network, with storage like D1, KV and R2.

Choose Cloudflare Workers if

APIs and full-stack apps that benefit from global, low-latency serverless.

Why it’s here

Cloudflare Workers runs application code on Cloudflare's network, with an HTTP request handler as one way to start an invocation. Workers documentation

A deployment can include a directory of static assets and a Worker script, so the same application can serve built pages and handle requests that require application code. Static assets Bindings give the script access to Cloudflare services such as KV and D1 through the environment passed to the handler. Bindings

Pick it when

  • You have an HTTP API that fits the Workers execution model and want to deploy a request handler on Cloudflare's network. Workers documentation
  • You want to ship a frontend's static output alongside handlers for dynamic routes and control when requests go to the Worker script. Static assets

Skip it when

  • Your dependencies need a Node.js API outside the supported subset. Cloudflare lists full, partial and stubbed APIs, so verify the methods your dependencies call. Node.js compatibility
  • Your workload needs more memory or more CPU time per HTTP request than the platform allows. Workers limits

Current state

The Workers runtime changelog lists an update to V8 15.8 on 2026-11-05. Runtime changelog Cloudflare grants a limited right to use the hosted service under its terms. Cloudflare terms The separately distributed workerd runtime is Apache-2.0. workerd repository

Setup

Run npm create cloudflare@latest -- my-first-worker and select the Worker-only Hello World template. First Worker guide From the project directory, run npx wrangler dev to test locally and npx wrangler deploy to publish to your Cloudflare account. First Worker guide

Pricing

Workers Free includes 100,000 requests per day and allows 10 ms of CPU time per invocation. Workers pricing Workers Paid starts at US$5 per account per month, with 10 million requests and 30 million CPU milliseconds included under Standard usage. Workers pricing Overage is US$0.30 per million requests and US$0.02 per million CPU milliseconds, and Enterprise pricing follows the account contract. Workers pricing

Watch out for

Workers have a 128 MB memory limit. Workers limits The paid HTTP CPU limit defaults to 30 seconds and can be raised to five minutes. Workers limits Check runtime compatibility dates before advancing a project's date, since compatibility changes can alter the behavior of existing code. Compatibility dates

Vercel

A frontend cloud for deploying web apps with preview deployments on every push and first-class Next.js support.

Choose Vercel if

Frontend teams, especially on Next.js, who want zero-config deploys and previews.

Why it’s here

Vercel connects a web app to a Git repository and creates deployments from changes to the repository, with separate production and preview environments. Git deployments Environments Its Next.js deployment documentation covers server-side rendering and route handlers alongside the pages and assets in the same application. Next.js on Vercel

Pick it when

  • You want to share a deployment URL for a branch before the change is merged into the production branch. Git deployments
  • You have a Next.js application that uses server rendering or route handlers and want a deployment workflow that supports those features. Next.js on Vercel
  • You need separate values for environment variables in preview and production. Environments

Skip it when

  • Your HTTP handlers need to run without a deadline. Vercel Functions have a maximum duration and return a gateway timeout if a call exceeds it. Function limits
  • You need the free plan for commercial hosting. The Hobby terms limit use to personal or noncommercial purposes. Vercel terms

Current state

Vercel announced on 2026-11-25 that Standard builds for existing Pro teams had moved to usage-based billing. Standard build billing update The hosted service is available under a temporary use licence defined in Vercel's terms. Vercel terms

Setup

Open New Project in the dashboard, connect a Git provider, select the repository, and click Deploy. Vercel setup Subsequent pushes trigger deployments and the production branch determines which deploys go to production by default. Git deployments

Pricing

Hobby is US$0 per month. Vercel pricing Pro is US$20 per month and includes US$20 of usage credit. Vercel pricing Enterprise uses custom pricing. Vercel pricing Standard builds cost US$0.014 per build minute for Pro teams affected by the November billing change, with the monthly usage credit applicable to build usage. Standard build billing update

Watch out for

The default request body limit for Vercel Functions is 4.5 MB. Function limits A 20 MiB limit is in public beta for Node.js, Python and Bun, and requires enabling Fluid Compute, choosing the Performance memory setting, and opting in. Function limits Non-streamed response bodies still have a 4.5 MB limit. Function limits