Cloudflare Workers vs Netlify
Cloudflare Workers: APIs and full-stack apps that benefit from global, low-latency serverless.; Netlify: Static and Jamstack sites with simple dynamic needs.
| Field | Cloudflare Workers | Netlify |
|---|---|---|
| Pricing | Free tier | Free tier |
| Open source | No | No |
| Self-hostable | No | No |
| Ecosystem | JavaScript / TypeScript, Rust | JavaScript / TypeScript, Language-agnostic |
| Category | Hosting & deploy | Hosting & deploy |
Choose Netlify over Cloudflare Workers when
Choose it when an HTTP endpoint belongs to a site whose serverless functions should deploy and preview alongside it.
Netlify builds and deploys serverless functions with the rest of the site. Documentation The functions documentation describes storing functions in version control and using them with Deploy Previews, so reviewers can exercise endpoint changes as part of a site preview. Documentation
SourceChecked 28 November 2026
Choose Cloudflare Workers over Netlify when
Choose it when your site can ship static assets and request-handling code together in one Worker deployment.
Cloudflare Workers can bundle static assets with a Worker script and deploy them as one application. Documentation The static assets documentation explains how requests can be served from the asset bundle or handled by application code. Documentation
SourceChecked 28 November 2026
Cloudflare Workers
A serverless platform that runs JavaScript, TypeScript and WebAssembly on Cloudflare's global network, with storage like D1, KV and R2.
Choose Cloudflare Workers if
APIs and full-stack apps that benefit from global, low-latency serverless.
Why it’s here
Cloudflare Workers runs application code on Cloudflare's network, with an HTTP request handler as one way to start an invocation. Workers documentation
A deployment can include a directory of static assets and a Worker script, so the same application can serve built pages and handle requests that require application code. Static assets Bindings give the script access to Cloudflare services such as KV and D1 through the environment passed to the handler. Bindings
Pick it when
- You have an HTTP API that fits the Workers execution model and want to deploy a request handler on Cloudflare's network. Workers documentation
- You want to ship a frontend's static output alongside handlers for dynamic routes and control when requests go to the Worker script. Static assets
Skip it when
- Your dependencies need a Node.js API outside the supported subset. Cloudflare lists full, partial and stubbed APIs, so verify the methods your dependencies call. Node.js compatibility
- Your workload needs more memory or more CPU time per HTTP request than the platform allows. Workers limits
Current state
The Workers runtime changelog lists an update to V8 15.8 on 2026-11-05. Runtime changelog Cloudflare grants a limited right to use the hosted service under its terms. Cloudflare terms The separately distributed workerd runtime is Apache-2.0. workerd repository
Setup
Run npm create cloudflare@latest -- my-first-worker and select the Worker-only Hello World template. First Worker guide From the project directory, run npx wrangler dev to test locally and npx wrangler deploy to publish to your Cloudflare account. First Worker guide
Pricing
Workers Free includes 100,000 requests per day and allows 10 ms of CPU time per invocation. Workers pricing Workers Paid starts at US$5 per account per month, with 10 million requests and 30 million CPU milliseconds included under Standard usage. Workers pricing Overage is US$0.30 per million requests and US$0.02 per million CPU milliseconds, and Enterprise pricing follows the account contract. Workers pricing
Watch out for
Workers have a 128 MB memory limit. Workers limits The paid HTTP CPU limit defaults to 30 seconds and can be raised to five minutes. Workers limits Check runtime compatibility dates before advancing a project's date, since compatibility changes can alter the behavior of existing code. Compatibility dates
Netlify
A platform for deploying web projects with Git-based deploys, previews, serverless functions and forms.
Choose Netlify if
Static and Jamstack sites with simple dynamic needs.
Why it’s here
Netlify deploys sites from Git and creates Deploy Previews for pull or merge requests from supported providers. Deploy from a repository Deploy Previews Serverless Functions are version-controlled, built and deployed with the rest of the site, which makes site code and endpoints available in the same preview workflow. Functions overview
Netlify also handles form submissions for sites that enable form detection and mark up their forms for the build system to discover. Forms setup
Pick it when
- You want reviewers to open a preview URL for a proposed change before it is merged. Deploy Previews
- You need a static or framework-based site with server-side endpoints shipped as part of the site's deploy. Deploy from a repository Functions overview
- Your site has HTML forms and you want the hosting platform to detect them and receive their submissions. Forms setup
Skip it when
- Your backend requires a continuously running process. Netlify Functions run in an ephemeral environment in response to events. Functions overview
- All the sites in your team must stay reachable after a shared credit balance is exhausted. Netlify documents that projects are paused when the balance runs out. Credit usage
Current state
Netlify's changelog lists a 2026-11-23 update to pull-request formatting for Agent Runners. Netlify changelog Netlify grants access to the hosted service for the subscription term under its self-serve agreement. Netlify self-serve agreement
Setup
In the team dashboard, choose Add new project, then Import a Git repository. Repository quickstart Pick the repository, review the build and publish settings, and select Publish. Repository quickstart
Pricing
Free is US$0 with a 300-credit monthly limit. Netlify pricing Personal is US$9 per month and includes 1,000 monthly credits. Netlify pricing Pro starts at US$20 per month with 3,000 monthly credits and unlimited members. Netlify pricing Enterprise uses custom pricing billed annually. Netlify pricing
Watch out for
Production deploys, compute, bandwidth and web requests draw from the account's credit pool. Credit usage For credit-based plans, Functions compute is metered in GB-hours, so the configured memory allocation affects how runtime is billed. Functions usage and billing The default memory allocation is 1,024 MB, with a maximum of 4,096 MB on credit-based Pro or Enterprise plans. Functions usage and billing