From demo to production · Group post

Vercel or Cloudflare? First tell me what you're building.

After "is it secure?", the question I get most is "Vercel or Cloudflare?". And my answer always starts with the same question back: what are you building?

The post as it was published in the group. Beside it, the lines I want to stay with you after reading.

The question behind the question

"Where should I host" sounds like a question about tools. In practice it's a question about the system. A site that needs to show up on Google, an app behind a login, and a system that money passes through are three different answers, even if all three were built with the same tool.

So before you compare prices, write one sentence: what the system does, on one foot. "Selling a slot in time." "Whoever paid sees the content, whoever didn't, doesn't." "A page that brings in leads." The walls follow from the sentence, and what you need from hosting follows from the walls.

You choose the tool by the system's sentence, not the other way around.

What's a pipe and what's a wall

Hosting is usually a pipe. It serves the site, and the connection to Supabase works the same way on either one. If you want to move tomorrow, you'll move.

The heavy decisions sit somewhere else:

  • Where the data is stored, and how the tables are built.
  • Who sees what. RLS, permissions.
  • Where the money logic runs: confirming a payment, activating a subscription, what happens when a payment fails.
  • What was promised to the user.

And no hosting provider holds those for you. If RLS is open, it's open on Vercel and on Cloudflare alike.

There's one moment when hosting becomes a wall: when the system's logic starts leaning on a service that only one provider has. Queues, objects that hold state, the provider's own database. That isn't bad, and sometimes it's exactly right. But it's a decision, and it should be made on purpose.

As long as you only host there, moving is easy. Once the logic leans on one provider's service, the pipe becomes a wall.

Four questions that decide it

  1. Do Google and AI need to read it? If so, server rendering matters, and that's where Next.js really gives you something.
  2. Does money pass through here? Then the money logic runs on the server, not in the browser, and there are provider rules worth knowing. More on those below.
  3. What framework is it built with? That decides where it runs without a translation layer.
  4. Who will debug it when it breaks? If there's someone technical, you can afford more. If it's just you and the AI, every extra layer between the code and where it runs is another place where "it worked for me" stops working.

The map

A brochure site or a landing page. Cloudflare. If it's built with Next.js, first run the compatibility check of vinext, the tool that runs Next.js on Cloudflare. Passes? Cloudflare. Doesn't? Vercel. And after a big change to the site, run it again. Note: a site you built for a client is commercial use. If it's on Vercel, that's the paid plan, and it's worth knowing before you quote.

An app or SaaS behind a login. Here every consideration flips. Most of the system sits behind a login, and Google isn't supposed to see it at all. And most complex apps aren't SEO. In that case Next.js mostly gives you more decisions you don't need: what renders where, what gets cached, which code runs on the server and which in the browser. Each of them is a place where the AI can quietly get it wrong for you, and in a system with money, those are exactly the mistakes that cost the most. So: a simple client side, Supabase behind it, and hosting on Cloudflare. The money logic runs in a Supabase function. And SEO stays with the landing page, which is separate from the app.

So what do you build with? TanStack Start, in a mode where the app runs in the browser, with server rendering only for the pages that need it: a public page that should show up on Google, or a link people share and want to look good. It runs on Cloudflare Workers with no translation layer, it's been stable since October, and Lovable already builds on it. Two things to remember: every server function is an address anyone can call from outside, so check permissions in it, like any endpoint. And it's young, so pin versions and upgrade on purpose. And if there's no public page and no server code at all, TanStack Router with Vite is enough.

And Workers. The app is served from Workers, and static assets are free. Server code that doesn't belong in Supabase, like a webhook from your payment provider, an AI model key that must never reach the browser, or a scheduled job, runs in a Worker next to it. Just decide on one home for the money logic: either Supabase or Workers. Not half here and half there.

You already built with Next.js. It's not a disaster. Vercel is the simplest place for it, because there's no translation layer there. Want Cloudflare? vinext, with the compatibility check before every deploy.

You built with Lovable. New Lovable apps are built on TanStack Start and run on Cloudflare's infrastructure, so that's their natural home. Vercel can work, but sometimes you need to change a setting for the pages to load. Older projects, from before May 2026, are static, and there's almost no difference.

What each one is strong at

Vercel is a frontend platform. It's strongest at serving sites and at Next.js: every feature works from day one, and the developer experience is excellent. It has its own file storage, queues and long running workflows, and you connect the database through its marketplace.

Cloudflare is a network with a computer inside it. Beyond hosting, it has most of a system's building blocks, and most of them on the free plan too: server code that runs close to the user, file storage with no charge for downloads, queues, objects that hold state in real time, and fast key value storage.

The billing model is different too. On Vercel you pay per user, and beyond that by several meters at once. On Cloudflare you pay per account, and there's no charge for data transfer. In a growing system, Cloudflare is usually cheaper and easier to predict.

But Cloudflare's power is also its price. Every one of their building blocks you use deepens your dependence on them. With your eyes open.

How much you can build for free on Cloudflare

Cloudflare's free plan isn't a trial. You can run a real system on it, with real users, for a long time.

  • The site itself is free, with no limit. Requests for static assets don't count. Everything in the app that runs in the browser is served free, even if tens of thousands of people visit a day.
  • 100,000 requests to server code a day, about three million a month. Only requests that run code count: an API, server rendering, a webhook.
  • A database: 5 million rows read and 100,000 rows written a day, up to 500MB per database and 5GB per account.
  • File storage: 10GB a month, with no charge for downloads.
  • Queues, KV, Hyperdrive and objects that hold state are included, each with its own daily allowance. Queues, for example, get 10,000 operations a day.
  • Email: sending to the verified addresses in your account is free, for development, testing and alerts to yourself. Sending to customers needs the paid plan.

How much is that in practice? As a rough estimate: if an active user makes about 50 server requests a day, 100,000 requests is about 2,000 active users every day, without paying for hosting. For most systems built with AI, that's more than they'll have in their first year.

What usually runs out first: not the traffic. CPU time, 10 milliseconds per request, and sending email to customers.

And what happens when it runs out: on the free plan, nobody bills you. It just stops. Once you pass a daily allowance, operations of that type fail until the allowance resets at midnight UTC. No surprise bill, but a system that returns errors.

And what the 5 dollars buys: 10 million requests a month, CPU time of 30 seconds per request by default and up to 5 minutes, much larger monthly database allowances, and email to any address, with 3,000 emails a month included.

On the free plan, when the allowance runs out, the system stops. At 5 dollars, it keeps going.

So the decision isn't "how much traffic do I have", it's "what happens if the system stops in the middle of the day". As long as nobody depends on it, the free plan is excellent. The day there are paying customers, or something that must not stop, 5 dollars a month is the cheapest insurance in the system.

What nobody tells you

  • Vercel's free plan is for personal, non commercial use. A site for a client, or a SaaS that charges, is commercial.
  • On Cloudflare's free plan, collecting credit card details on the site is not allowed. A SaaS that charges? Send people to your payment provider's checkout page, and don't embed a form in the site. I'm not a lawyer, but that's the safe path.
  • Cloudflare's free plan gives you 10 milliseconds of CPU time per request. For a regular site that's enough. For an app that does a lot of work on the server, it runs out fast.
  • vinext's compatibility check tells you what's known today. Tomorrow the AI will add a new feature, and it may not be supported yet.

A check tells you whether you can move today. It doesn't tell you whether you can stay.

The facts, and when I checked them

The method above doesn't change. The facts do: in the last half year alone Lovable switched frameworks, vinext and TanStack Start reached version 1.0, and the Deno team joined Cloudflare. So every fact here comes with its source. I checked all of them on November 25, 2026, and I update the list when something significant changes.

  • Vercel's free plan, Hobby, is restricted to personal, non commercial use. Vercel Fair Use Guidelines
  • Vercel Pro: 20 dollars per user per month. 1TB of transfer is included, and beyond that you pay per GB. Vercel Pricing
  • Cloudflare Workers: free, 100,000 requests a day and 10 milliseconds of CPU per request. Paid, 5 dollars a month per account, including 10 million requests. Requests to static assets are free and unlimited, and there's no charge for data transfer. Cloudflare Workers Pricing
  • R2, Cloudflare's file storage: no charge for data transfer, and the first 10GB each month are free. Cloudflare R2 Pricing
  • Durable Objects, the objects that hold state, are available on the free plan since April 2025. Cloudflare Changelog
  • Cloudflare's queues are available on the free plan, with 10,000 operations a day, where a message is kept for up to 24 hours. Cloudflare Changelog
  • Workers free plan: 100,000 requests a day and 10 milliseconds of CPU per request. Past the allowance, requests fail until midnight UTC. Paid, CPU time goes up to 5 minutes. Cloudflare Workers Limits
  • D1, Cloudflare's database: free, 5 million rows read and 100,000 written a day, and since September 2026 queries past the allowance fail. Cloudflare D1 Pricing
  • Email: sending to verified addresses in the account is free on every plan. Sending to any address needs the paid plan, with 3,000 emails a month included. Cloudflare Email Service Pricing
  • The ban on collecting credit card details on a web property that receives free services, section 2.2.1. Cloudflare Self Serve Subscription Agreement
  • vinext targets Next.js 16 only, and according to its team it has known compatibility gaps. vinext on GitHub
  • TanStack Start reached a stable 1.0 on October 13, 2026, and its server side runs on Cloudflare Workers without changes. TanStack Start 1.0, Cloudflare Learning Center
  • Lovable apps created from May 13, 2026 are built on TanStack Start and run server code. Older ones are built on React and Vite. Lovable Docs

When to ask someone

When the choice touches a wall: there's money, there's sensitive data about people, or you're about to hand the system to a client. And when you can't write the system's sentence. In that case, the question isn't where to host at all.

The smaller questions, the Compass answers in a conversation, for free. It's on the tools page.

The question I asked in the group

What did you choose, and what decided it in the end?

Did a post meet you in your system?

Half an hour, the system open, free. You leave with your open decisions.

or on WhatsApp, if it's a single question. Nothing is stored on the site.