Netlify vs Cloudflare
for static sites and functions.
Both host static sites with functions at the edge. Netlify bundles everything into credits; Cloudflare charges for requests and CPU time and nothing for data transfer.
Facts checked against each provider's own pages
The short answer
Choose Cloudflare for traffic-heavy static sites: static asset requests are free and unlimited[1] and there's no data transfer charge[1], where Netlify charges 20 credits per GB[2]. Choose Netlify for its integrated workflow: Deploy Previews that aren't metered[3], built-in forms and Netlify Database[4].
Netlify vs Cloudflare on the facts
| Netlify | Cloudflare | |
|---|---|---|
| Category | Frontend platform | Edge platform |
| Pricing model | Credit-based: each plan includes monthly credits that deploys, compute, bandwidth and requests draw down[2] | Workers Free or Workers Paid ($5/mo minimum) plus usage on requests and CPU time[1] |
| Entry paid plan | Personal $9/mo (1,000 credits); Pro $20/mo with unlimited members (from 3,000 credits)[5] | Workers Paid $5/mo per account[1] |
| Free tier | Free: 300 credits/mo hard limit; projects pause when credits run out[6] | Workers Free: 100,000 requests/day, 10 ms CPU per invocation; static asset requests free and unlimited[1] |
| Compute billing granularity | Functions compute metered in GB-hours (10 credits per GB-hour); 2 credits per 10k web requests; 15 credits per production deploy[2] | Requests and CPU time, not wall-clock duration: Paid includes 10M requests + 30M CPU-ms, then $0.30/M requests and $0.02/M CPU-ms[1] |
| Internet egress (first paid tier) | 20 credits per GB; derived ≈ $0.133/GB on Pro (extra credits $10 per 1,500) or $0.20/GB on Personal ($5 per 500)[2] | $0: no data transfer charge on Workers; R2 egress free (Containers egress is billed separately)[1] |
| Included transfer | No fixed GB allowance; bandwidth draws on plan credits (derived maximum if all credits go to bandwidth: Free 15 GB, Personal 50 GB, Pro 150 GB)[5] | Not metered for Workers and static assets[1] |
| Regions / locations | Functions: 12 self-serve regions, 2 more via support (counted from docs list)[7] | Network page lists 348 cities in its data-center list (headline stats say 335+ cities, 125+ countries)[9] |
| Deploy model | Git continuous deployment, CLI or API[5] | wrangler deploy from the CLI, or Workers Builds on git push; Containers from Docker images[10] |
| Managed databases | Netlify Database: managed Postgres on credit-based plans[4] | D1 (serverless SQLite), KV and Durable Objects; Hyperdrive connects to external Postgres/MySQL[11] |
| Preview environments | Yes: Deploy Previews for pull requests plus branch deploys, not metered by credits[3] | Yes: Workers Builds creates previews for non-production branches[10] |
| Persistent volumes | — | No: Containers disks are ephemeral; persist to R2 or Durable Objects[12] |
| Scale to zero | — | Yes: no duration charge on Workers; Containers stop billing while asleep[13] |
| Config file | netlify.toml (overrides UI settings); _redirects file for redirects[8] | wrangler.jsonc (recommended), wrangler.json or wrangler.toml[14] |
Which to pick, by use case
| If you need… | Pick | Why |
|---|---|---|
| A popular static site | Cloudflare | Free, unlimited static asset requests[1]; on Netlify Free, 300 credits cover at most 15 GB of bandwidth[5]. |
| Managed Postgres next to the site | Netlify | Netlify Database is managed Postgres[4]; Cloudflare's D1 is SQLite, with Hyperdrive for an external Postgres[11]. |
| Many redirects | Either | Both read a _redirects file; Cloudflare limits it to 2,000 static and 100 dynamic rules[15], and Netlify recommends wildcards past 10,000[16]. |
| Preview deploys per pull request | Either | Netlify Deploy Previews[3]; Cloudflare Workers Builds previews for non-production branches[10]. |
Moving a Netlify site to Cloudflare
Run Netlify and Cloudflare together
You don't have to pick one. AW3 Host connects both your Netlify and Cloudflare accounts and deploys to either from one dashboard and API. Keep the site on Netlify while you test the Cloudflare build, then shift traffic by weight.
Weighted routing splits traffic between them by percentage, canary and blue-green releases promote or roll back a version in one step, and failover driven by health checks every 60 seconds moves traffic to the healthy side. Daily cost sync and budget policies show both providers' spend side by side; secrets are encrypted per environment. Free tier: 500 credits a month; Pro: $29/month.
Frequently asked questions
- Is Cloudflare free for static sites?
- Cloudflare's Workers pricing says requests to static assets are free and unlimited, and Workers has no data transfer charge. Workers Free allows 100,000 requests per day to Worker code.
- How much bandwidth does Netlify include?
- Netlify has no fixed GB allowance on credit-based plans. Bandwidth costs 20 credits per GB from the plan's pool: 300 credits on Free, 1,000 on Personal and from 3,000 on Pro.
- Does Cloudflare support Netlify's _redirects file?
- Yes. Cloudflare static assets read a _redirects file with Netlify-style syntax, up to 2,000 static and 100 dynamic redirects; larger lists can use Bulk Redirects.
Sources
- Cloudflare Docs: Workers pricing. https://developers.cloudflare.com/workers/platform/pricing/ (checked 2026-11-16)
- Netlify Docs: Credit-based pricing plans. https://docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/credit-based-pricing-plans/ (checked 2026-11-16)
- Netlify Docs: Deploy Previews. https://docs.netlify.com/deploy/deploy-types/deploy-previews/ (checked 2026-11-16)
- Netlify Docs: Netlify Database. https://docs.netlify.com/build/data-and-storage/netlify-db/ (checked 2026-11-16)
- Netlify: Pricing. https://www.netlify.com/pricing/ (checked 2026-11-16)
- Netlify Docs: How credits work. https://docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/how-credits-work/ (checked 2026-11-16)
- Netlify Docs: Functions configuration. https://docs.netlify.com/build/functions/configuration/ (checked 2026-11-16)
- Netlify Docs: File-based configuration. https://docs.netlify.com/build/configure-builds/file-based-configuration/ (checked 2026-11-16)
- Cloudflare: Network. https://www.cloudflare.com/network/ (checked 2026-11-16)
- Cloudflare Docs: Workers Builds. https://developers.cloudflare.com/workers/ci-cd/builds/ (checked 2026-11-16)
- Cloudflare Docs: D1 pricing. https://developers.cloudflare.com/d1/platform/pricing/ (checked 2026-11-16)
- Cloudflare Docs: Containers FAQ. https://developers.cloudflare.com/containers/faq/ (checked 2026-11-16)
- Cloudflare Docs: Containers pricing. https://developers.cloudflare.com/containers/pricing/ (checked 2026-11-16)
- Cloudflare Docs: Wrangler configuration. https://developers.cloudflare.com/workers/wrangler/configuration/ (checked 2026-11-16)
- Cloudflare Docs: Static assets redirects. https://developers.cloudflare.com/workers/static-assets/redirects/ (checked 2026-11-16)
- Netlify Docs: Redirects overview. https://docs.netlify.com/manage/routing/redirects/overview/ (checked 2026-11-16)
- Cloudflare Docs: Migrate from Netlify to Workers. https://developers.cloudflare.com/workers/static-assets/migration-guides/netlify-to-workers/ (checked 2026-11-16)
- Cloudflare Docs: Workers custom domains. https://developers.cloudflare.com/workers/configuration/routing/custom-domains/ (checked 2026-11-16)
Your next deploy
goes everywhere.
Connect a provider, point a service at it, and ship. Add the second provider when you're ready.
No card needed · Free tier · Pay as you go after that