Cloudflare Workers
Cloudflare Workers Free includes 100,000 requests a day and 10 milliseconds of CPU per request with occasional overruns allowed, and it does not bill you past the request cap.
Cloudflare Workers runs JavaScript, TypeScript, Python, or WebAssembly code on Cloudflare's network, for APIs, webhooks, and edge logic.
By CloudflareComputeChecked ✓ 23 Nov 2026
Is it a fit?
Good fit
Use Workers for small APIs, webhooks, redirects, and request rewriting that need only a few milliseconds of CPU per request.
- edge APIs
- webhooks
- redirects and header rewrites
- static sites with a little logic
Not a fit
Avoid it for CPU-heavy work such as image processing or large server-side rendering, or for traffic above the daily request limit.
- CPU-heavy requests
- long-running jobs
- traffic above the daily limit
You write a Worker on your machine with the Wrangler CLI and deploy it with one command. It then answers requests on a workers.dev subdomain or your own domain. This page covers the Workers Free plan.
What the free plan gives you
Accounts start on Workers Free with 100,000 daily requests, resetting at midnight UTC. Each request gets 10 ms of CPU time. Time spent waiting on the network does not count toward it. Each isolate can use up to 128 MB of memory. A Worker can make 50 external subrequests per request; internal Cloudflare services have a separate limit of 1,000. It permits 6 simultaneous connections awaiting response headers.
You can deploy up to 100 Workers and 5 Cron Triggers per account. A Worker can be up to 64 MiB and must start within 1 second. Requests to static assets are normally free and unlimited. Enabling Workers Cache makes these requests count as Worker requests, even on cache hits. Workers KV is included too: 100,000 reads and 1,000 writes per day, with 1 GB of stored data.
When you hit a limit
The Free plan never bills you. At the daily limit, the Worker stops running until the count resets at midnight UTC. Each route chooses what happens next. Fail closed returns a Cloudflare 1027 error page. Fail open bypasses the Worker, so requests behave as if no Worker is configured.
Requests that consistently exceed CPU limits are terminated with Error 1102; Cloudflare allows some flexibility for occasional CPU overruns. Memory also has a fixed isolate limit. For KV, an operation over its daily limit fails with an error. More usage needs the Workers Paid plan, which has a minimum charge of $5 per month.
Gotchas
- The 10 ms CPU limit is per request. Server-side rendering or parsing large payloads can use 10 to 20 ms. A Worker that consistently exceeds its CPU limit gets Error 1102.
- Subrequests count every fetch in a redirect chain, so 50 per request runs out faster than your code suggests.
- Request body size depends on your Cloudflare account plan, not the Workers plan; it is 100 MB on Free, and larger requests get a 413 error.
Alternatives in this atlas
- Deno Deploy: for short-lived Deno or TypeScript deployments with a monthly allowance before its announced shutdown.
- Vercel Serverless Functions: when your app already runs on Vercel and is a personal, non-commercial project.
- Netlify Functions: when your site is on Netlify and you want functions to share its free credits.
Questions people ask
Is Cloudflare Workers free?
Yes. Every account gets the Workers Free plan, with 100,000 requests per day and 10 ms of CPU time per request. The paid plan starts at $5 per month.
What happens when I go over 100,000 requests a day on Cloudflare Workers?
You are not charged. Requests to the Worker fail with Error 1027, or skip the Worker if the route fails open, until the limit resets at midnight UTC.
Do static assets count toward the Workers request limit?
Normally no. Static-asset requests are free and unlimited by default, but enabling Workers Cache makes all requests count as Worker requests, including static assets and cache hits.
How to get started
- Sign up for a Cloudflare account.
- Install Node.js; the Wrangler CLI needs a recent Node version.
- Run `npm create cloudflare@latest -- my-first-worker` to create a project.
- Run `npx wrangler dev` to test the Worker on your machine.
- Run `npx wrangler deploy` to publish it to a workers.dev subdomain.
Other free compute options
Same category, safest first.