Cloudflare and Netlify both take a site from a Git repository to a global network in minutes, and both have free plans. The difference shows up later: in how each one charges for traffic and deploys, how forms and serverless code work, and what happens when a site gets busy. This guide compares them on current 2026 pricing and limits, so you can choose the right host for a marketing site, a content site or an Astro build.
We build and host Astro, Webflow and custom sites for clients, and we have shipped production sites on both platforms. Here is how they compare in practice.
Cloudflare vs Netlify at a glance
| Cloudflare (Workers) | Netlify | |
|---|---|---|
| Pricing model | Free plan, then $5 a month for Workers Paid | Credits: Free 300, Personal $9 for 1,000, Pro $20 for 3,000 |
| Static bandwidth | Free, no cap | 20 credits per GB |
| Production deploys | Included | 15 credits each |
| Builds | 3,000 minutes a month free, 1 at a time | Metered through credits, 1 concurrent build on Free |
| Serverless functions | 100,000 requests a day free | Compute and requests use credits |
| Built-in forms | No, use a Worker and an email API | Yes, Netlify Forms |
| Deploy previews | Preview URLs per version | Unlimited deploy previews, not metered |
| DNS and security | Included (DNS, DDoS protection, WAF rules) | Netlify DNS, basic protection |
Pricing in 2026
Netlify’s credit-based plans
Netlify moved new accounts to credit-based pricing. Every plan gets a monthly pool of credits, and each kind of usage draws from it:
- Production deploy: 15 credits
- Bandwidth: 20 credits per GB
- Web requests: 2 credits per 10,000 requests
- Compute (functions): 10 credits per GB-hour
The Free plan includes 300 credits with a hard limit, so a busy month can pause every project on the team until the next cycle. That is 20 production deploys if nothing else used credits. Personal costs $9 a month for 1,000 credits, and Pro costs $20 a month for 3,000 credits with unlimited team members. Paid plans can buy extra credit packs, for example 1,500 credits for $10 on Pro.
Deploy previews, branch deploys and failed deploys are not metered, which is good news for teams that review every change before it goes live.
Cloudflare’s free tier and Workers Paid
Cloudflare charges for code, not for files. Requests for static assets such as HTML, CSS, JavaScript and images are free and unlimited. You only pay when a request runs a Worker, the serverless code that handles things like forms or APIs.
- Free plan: 100,000 Worker requests a day, 10 ms of CPU time per request, and 3,000 build minutes a month.
- Workers Paid: $5 a month minimum, with 10 million requests and 30 million CPU milliseconds included, then $0.30 per extra million requests. Builds get 6,000 minutes and 6 concurrent builds.
For a static marketing site, that usually means the hosting itself costs nothing, whatever the traffic.
“The cheapest host is the one whose pricing matches how your site is used. Frequent deploys and heavy traffic cost credits on Netlify, and almost nothing on Cloudflare.”
Builds and deploys
Both connect to GitHub or GitLab, build on every push and publish automatically. Netlify’s dashboard is the more polished of the two, with clear deploy logs, instant rollbacks and a large library of build plugins.
Cloudflare’s Workers Builds runs your build command and then deploys with Wrangler, its command-line tool. Settings live in a wrangler.jsonc file in your repository, which keeps the setup versioned alongside the code. Rollbacks work from the dashboard or the command line.
If your team deploys many times a day, Netlify’s 15 credits per production deploy adds up. On Cloudflare, deploys only count against build minutes.
Forms, functions and redirects
This is where the platforms differ most.
Netlify includes forms. Add an attribute to an HTML form and submissions appear in the dashboard, with spam filtering and email notifications. Functions, edge functions, identity and split testing are all built in.
Cloudflare has no form feature. You write a short Worker that receives the form, checks it for spam and sends it on through an email service such as Resend or to your CRM. It takes an hour or two to set up, then costs nothing at normal volumes and gives you full control over where data goes.
Both support a _redirects file and a _headers file, so most redirect rules and security headers move between them without changes.
Performance and security
Both serve sites from a global CDN, and for static pages the difference in speed is small. Cloudflare runs one of the largest networks in the world and puts DNS, DDoS protection, SSL and firewall rules on the same platform as your site. If your domain already uses Cloudflare DNS, hosting there removes a moving part.
Netlify’s edge network is fast and reliable for marketing sites. Advanced security features and a 99.99% SLA sit on its Enterprise plan.
Which one should you choose?
Choose Netlify if:
- You want forms, previews and functions working with no code.
- Your team values a polished dashboard and build plugins.
- Your traffic is modest and you deploy a few times a week.
Choose Cloudflare if:
- Your site is static or built with Astro and gets steady or growing traffic.
- You deploy often and want predictable costs.
- Your domain already runs on Cloudflare DNS, or you want security and hosting in one place.
Moving from Netlify to Cloudflare
If you decide to switch, the move is usually quick for a static site:
- Add a
wrangler.jsoncfile that points at your build output folder. - Connect the repository in Workers & Pages and set the build command, for example
npm run build. - Replace Netlify Forms with a small Worker and an email API, and add its keys as secrets.
- Keep your
_redirectsand_headersfiles. Both platforms read them. - Test on the workers.dev URL, then add your domain and a redirect from www to the root domain.
- Remove the old DNS records and resubmit your sitemap in Google Search Console.
Plan the DNS switch for a quiet hour. Some internet providers cache the old records for a while, so the site can take a few minutes to appear for every visitor.
Sources
- Netlify pricing, Netlify, October 2026
- Credit-based pricing plans, Netlify Docs
- Resume paused projects, Netlify Docs
- Workers pricing, Cloudflare Docs
- Static assets billing and limitations, Cloudflare Docs
- Workers Builds limits and pricing, Cloudflare Docs
