DEV Community

Alex Spinov
Alex Spinov

Posted on

Cloudflare Pages Has a Free Hosting Platform — Unlimited Bandwidth, Zero Config

Cloudflare Pages gives you unlimited bandwidth, 500 builds per month, and global edge deployment in 300+ cities. Deploy static sites and full-stack apps for free.

Why Cloudflare Pages

Vercel: 100GB bandwidth free, then pay. Netlify: 100GB bandwidth free, then pay.

Cloudflare Pages: unlimited bandwidth. Always. For free.

What You Get for Free

  • Unlimited bandwidth — no overage charges ever
  • 500 builds/month — deploy on every push
  • Unlimited sites — no project limit
  • Edge deployment — 300+ cities worldwide
  • Preview deployments — every PR gets a unique URL
  • Custom domains — free SSL, auto-renewal
  • Functions — server-side code at the edge (Cloudflare Workers)
  • KV, D1, R2 — database, SQL, and storage at the edge

Quick Start

npm create cloudflare@latest my-app
Enter fullscreen mode Exit fullscreen mode

Or connect your GitHub repo:

  1. Go to dash.cloudflare.com/pages
  2. Connect GitHub repository
  3. Select framework (auto-detected)
  4. Deploy

Every push to main = automatic deployment. Every PR = preview URL.

Full-Stack with Functions

// functions/api/hello.ts
export const onRequestGet: PagesFunction = async (context) => {
  return new Response(JSON.stringify({ message: 'Hello from the edge!' }), {
    headers: { 'Content-Type': 'application/json' },
  });
};
Enter fullscreen mode Exit fullscreen mode

File-based API routes that run on Cloudflare's edge network.

Framework Support

Auto-detected build settings for: Next.js, Astro, Nuxt, SvelteKit, Remix, Gatsby, Hugo, Jekyll, Eleventy, and more.

vs Vercel and Netlify

Feature Cloudflare Pages Vercel Netlify
Bandwidth (free) Unlimited 100GB 100GB
Builds (free) 500/mo 6,000 min 300 min
Edge locations 300+ ~20 ~10
Functions Workers (edge) Serverless Functions

If bandwidth costs are a concern — Cloudflare Pages eliminates them entirely.


Need web scraping or data extraction? Check out my tools on Apify — get structured data from any website in minutes.

Custom solution? Email spinov001@gmail.com — quote in 2 hours.

Top comments (0)