Sanora.

Cloudflare vs Vercel: How We Actually Decide Where to Deploy

Key takeaways

  • Vercel optimizes for developer experience, especially with Next.js. Cloudflare optimizes for cost, edge reach and owning the whole request path.
  • The runtime is the real fork in the road. Cloudflare Workers run on V8 isolates, not Node — some npm packages simply will not work there.
  • Bandwidth is where Cloudflare wins decisively. If you serve heavy assets or unpredictable traffic, the bill difference is not marginal.
  • For a static or prerendered marketing site, either is fine — pick the one your team already knows and move on.

This is not a "which is better" post, because the answer is neither and the question is lazy. Both platforms are excellent at what they were built for. The useful question is: what is your app actually made of, and where will each platform hurt?

The one difference that matters most

Cloudflare Workers do not run Node.js. They run on V8 isolates with a Web-standard runtime — fetch, Request, Response, Web Crypto — plus a growing compatibility layer for Node APIs.

The upside is real: no cold starts worth measuring, tiny per-request overhead, and your code running in hundreds of locations by default. The cost is equally real: any npm package that reaches for native bindings, the filesystem, or deep Node internals will not run there. You find out at deploy time, or worse, at runtime.

Vercel functions give you a real Node environment. Whatever you found on npm, works. That is worth a great deal when your API depends on a PDF library, an image processing package, or an SDK written in 2019.

So the first question is not about price or performance. It is: does your backend depend on the Node ecosystem, or is it mostly fetch, JSON and a database?

Where each one clearly wins

Vercel, when…

Cloudflare, when…

The comparison, honestly

VercelCloudflare
Next.js supportNative, first-classGood via adapter, occasionally behind
RuntimeNode.js (and an edge runtime)V8 isolates, Web-standard APIs
Cold startsPresent, mitigatedEffectively none
Bandwidth pricingMetered — watch itNot metered on hosting
Object storage egressChargedFree (R2)
Stateful edge primitivesDurable Objects
Developer experienceExceptionalGood, sharper edges
Best fitNext.js apps, Node-heavy APIsStatic + API, high bandwidth, edge state

What we actually do

Our default split, after shipping on both:

The mistake to avoid

Do not pick a platform and then discover halfway through that a load-bearing dependency does not run on it. Spend twenty minutes at the start of the project doing the boring thing: list every dependency your backend needs, and check that each one runs on your target runtime.

Twenty minutes at the start, or a rewrite in week five. That is the actual choice, and it has nothing to do with which platform has the nicer dashboard.

Deploying something and not sure where?

We ship on both, and we will happily tell you which one your project wants — before you have built on the wrong one.

Ask us →
Cloudflare Pages Cloudflare Workers Vercel Next.js hosting edge computing deployment serverless

FAQ

Common questions

Is Cloudflare cheaper than Vercel?

Usually, and the gap widens with traffic. Cloudflare does not meter bandwidth on its hosting products the way Vercel does, so bandwidth-heavy or spiky sites see the largest difference. For a small site with modest traffic, both are likely free or near-free and cost should not drive the decision.

Can I run Next.js on Cloudflare?

Yes — via the OpenNext adapter for Cloudflare, and support has improved substantially. But Vercel builds Next.js, and the newest features land there first and work there best. If Next.js is the core of your app and you want zero friction, deploy it on Vercel.

What is the difference between Cloudflare Workers and serverless functions?

Workers run on V8 isolates rather than containers, which means effectively no cold start and very low per-request overhead — but a Web-standard runtime, not Node.js. Traditional serverless functions give you a full Node environment at the cost of cold starts and higher per-invocation overhead.

Sanora Technologies

Got a product to build?

We build web apps, mobile apps, SaaS platforms and AI agents for founders and businesses — MVPs in as little as a week, and you work directly with the person writing the code.