Speak to an Expert

Engineering

We Migrated from Vercel to Cloudflare Pages. Real Cost Breakdown.

Why we moved a content-heavy site from Vercel to Cloudflare Pages, what broke, what got better, and the real monthly bill: about $1,400 before, about $60 after.

Jul 17, 2026 · 5 min read
Cover titled 'Vercel to Cloudflare: the real bill' showing a monthly bill falling from $1,400 to $60, a two-week migration, and payback in about six months.

Most Vercel to Cloudflare migration write-ups are thinly veiled marketing. This one is a retrospective of an actual move we made for one of our customer projects, written for engineering leads and founders who are looking at a rising hosting bill and wondering whether switching is worth the work. You will get the real monthly bill on both sides, what broke, what got better, the payback math, and the traffic level where we think the move stops making sense.

Key takeaways from the Vercel to Cloudflare migration

  • Vercel bill before migration: about $1,400/month at the project's traffic.

  • Cloudflare Pages bill after: about $60/month for the same workload.

  • Migration took about 2 weeks; it was not free.

  • Two real friction points: image optimization and middleware. Everything else worked.

  • Would we do it again at this traffic? Yes. Below 50K monthly visitors? Probably not worth the effort.

Why we moved off Vercel: the bill

The trigger was simply the bill. The project is a content-heavy marketing site with about 800K monthly visits, and it was racking up bandwidth and image-optimization costs on Vercel that no longer matched its strategic value to the business.

That framing matters. Nothing was wrong with Vercel as a platform; the cost had grown out of proportion to what the site was doing. If your project's hosting cost is still in line with its value, the rest of this post is mostly a reference for later.

What worked immediately on Cloudflare Pages

  • Static Next.js routes rendered fine via Cloudflare Pages.

  • Cache hit rates went up, because Cloudflare's edge is broader.

  • Build times were comparable.

For a site that is mostly static content, this is the bulk of the workload, which is a large part of why the move was so lopsided in cost terms.

What broke during the migration, and how we fixed it

Three areas needed real work. Each one is a feature Vercel provides as part of the platform for Next.js, so it is worth checking how heavily your own app depends on them before you plan a move.

Area

On Vercel

On Cloudflare Pages

What we did

next/image optimization

Handled by the platform

Not handled natively

Integrated Cloudflare Images, a separate paid product

Middleware

Runs as written

Some patterns did not translate cleanly

Most worked; a few required rewrites

ISR (Incremental Static Regeneration)

Built in

Not done the way Vercel does it

Moved to on-demand revalidation via Workers

Image optimization

Vercel optimizes images served through next/image; Cloudflare Pages does not do this natively. We integrated Cloudflare Images, which is priced at about $5/mo per 100K images stored and $1 per 100K delivered. For an image-heavy content site this was the single largest new line item, so price it against your own image counts before you commit.

Middleware

Some Next.js middleware patterns did not translate cleanly. Most worked as they were; a few required rewrites. Inventory your middleware early, because it is the part of the migration that is hardest to estimate until you try it.

ISR and revalidation

Incremental Static Regeneration rebuilds a static page in the background after it goes stale. Cloudflare Pages does not do ISR the way Vercel does, so we moved to on-demand revalidation via Workers: pages are refreshed when content actually changes rather than on a timer.

The cost numbers: Vercel vs Cloudflare Pages

Here is the monthly bill for the same workload, before and after.

Line item

Before (Vercel Pro)

After (Cloudflare)

Base + bandwidth + image optimization

$1,400/mo

n/a

Cloudflare Pages (Pro plan)

n/a

$20/mo

Cloudflare Images

n/a

about $30/mo

Workers + KV

n/a

$10/mo

Total

$1,400/mo

about $60/mo

The payback math

Figure

Value

Monthly savings

$1,340/mo

Annual savings ($1,340 x 12)

about $16,000/year

Migration cost

about 2 weeks of engineering time (about $8,000 internal)

Payback

about 6 months

If you are weighing hosting cost against infrastructure more broadly, our write-up on keeping Kubernetes costs under ₹50K a month for early-stage SaaS applies the same discipline to a different part of the stack.

When the math doesn't work

Below 50K monthly visitors, Vercel's free/hobby tier is still likely free for you, and the migration friction is not worth it. Two weeks of engineering time buys a lot of product work, and a saving of zero never pays it back.

The same logic applies to spreading across providers for its own sake; we make the broader case in why multi-cloud is almost always a mistake. Move when the numbers say so, not because a platform is fashionable.

What we recommend: stay or migrate

Your situation

Our recommendation

Under 50K monthly visitors

Stay on Vercel; the free/hobby tier likely covers you

Under 100K monthly visitors, or heavy use of Vercel-specific features

Stay on Vercel

Spending more than $500/month, stack mostly static + a few API routes

Migrate to Cloudflare Pages

Whichever way you go, measure the user-facing result as well as the bill. Our study of real Core Web Vitals scores across 50 Indian websites is a useful baseline for what good looks like after a hosting change.

FAQs

What about Netlify?

Comparable to Vercel pricing; it is a similar story.

What about AWS Amplify?

Cheaper than Vercel, but with more operational overhead.

Can we self-host instead?

Yes, but factor in your own CDN, build infrastructure, and the on-call burden that comes with running it yourself.

How long does a Vercel to Cloudflare migration take?

For this content-heavy marketing site, about two weeks of engineering time. Most of that went into image optimization, a handful of middleware rewrites and replacing ISR with on-demand revalidation.


Weighing a hosting move or a rising cloud bill? Talk to Techpuvi about cloud and DevOps work, or get in touch and we will help you run the numbers for your own stack.

Niranjana serves as a Senior Architect at Techpuvi. She brings more than 15 years of experience in software development, having built several products from the ground up. Choosing to specialize as a full-stack engineer, she maintains a strong commitment to continuous learning.