Skip to main content
DevToolPick

Cloudflare Workers Pricing 2026: What's Free, When You Pay

Cloudflare Workers pricing explained: static assets are free, Worker requests and CPU time are billed. Free vs $5 Paid limits, with a worked example.

By marouaneTech · Published · 9 min read

Diagram: a static asset request (HTML, CSS, JavaScript, images) is free and unlimited on every plan; a request that runs your Worker (server rendering, API routes, paths in run_worker_first) is billed: the Free plan includes 100,000 requests a day and 10 ms of CPU per request, Workers Paid starts at $5 a month with 10 million requests and 30 million CPU milliseconds included

Cloudflare Workers pricing comes down to one question: does the request run your Worker code? Requests for static assets, like your HTML pages, CSS, JavaScript and images, are free and unlimited on every plan. You only pay when your Worker script runs, and only if you go past the Free plan's 100,000 requests a day or the amounts included in Workers Paid, which costs at least $5 a month.

Last verified: November 2026.

I'm marouaneTech. DevToolPick runs on Cloudflare Workers on the Free plan, with every page served as a static asset and one small Worker for the contact form. My Cloudflare bill is $0. This guide explains why, and when that would change.

The three things Cloudflare counts

Workers pricing has three parts. Only two of them can cost money.

  1. Static asset requests. A visitor's browser asks for a file from your assets folder: an HTML page, a stylesheet, a script, an image. These are free and unlimited on both plans.
  2. Worker requests. Every request that runs your Worker script. Cloudflare bills "inbound requests to your Worker" and "does not bill for subrequests you make from your Worker", such as the fetch() calls your code makes.
  3. CPU time. The time your Worker spends actually computing. Time spent waiting on a network call doesn't count, and there's no charge for duration.
Workers FreeWorkers Paid
Monthly price$0$5 minimum
Static asset requestsFree, unlimitedFree, unlimited
Worker requests100,000 a day10 million a month included, then $0.30 per million
CPU time10 ms per request30 million CPU ms a month included, then $0.02 per million CPU ms
Max CPU per request10 ms5 minutes (30 seconds by default)
Bandwidth (egress)No usage billing on FreeNo charge

When does a request run your Worker?

This is the part that decides your bill. With Workers static assets, Cloudflare serves a file directly when the request matches one, and your Worker never runs. Your Worker runs when:

  • No static file matches, and the request falls through to your Worker, for example a server-rendered page.
  • The path is listed in run_worker_first. Matching requests "will always invoke your Worker script", even if a file exists.
  • You don't use static assets at all, and every request goes to the Worker.

Cloudflare's static assets docs put it plainly: "Requests to the Worker script (for example, in the case of SSR content) are billed according to Workers pricing."

What this means for Next.js

How you build Next.jsWhat Cloudflare servesWhat's billed
Static export (output: "export")Every page as a static assetNothing
Static export plus a small Worker for an APIPages as assets; the Worker only for its routesOnly the API requests
Server rendering (Cloudflare recommends vinext)Prebuilt files as assets; every other page through the WorkerEvery server-rendered page view, plus its CPU time

A static export is the cheapest setup by far: no Worker requests at all. I explain the build setup in how I deployed DevToolPick on Cloudflare for free, and compare free hosts for both static and server-rendered Next.js in the best free hosting for Next.js.

What happens when you hit the Free limit

The Free plan's 100,000 requests a day reset "at midnight UTC". What visitors see after you go over depends on how the route is set up:

  • Fail open "bypasses the Worker. Requests behave as if no Worker is configured."
  • Fail closed "returns a Cloudflare 1027 error page."
  • Static asset paths listed in run_worker_first: free-plan requests over the limit "will receive a 429 (Too Many Requests) response."

Static asset requests that don't run your Worker are free and unlimited, so they keep working. That's why a static site on the Free plan doesn't have a daily cap in practice: only the Worker-backed routes do.

The 10 ms CPU limit is the other Free-plan wall. It's per request, so a single slow request fails even if you're far below 100,000 a day: the visitor gets error 1102, "Worker exceeded resource limits".

What DevToolPick costs on Workers

DevToolPick is a Next.js static export on Workers Free. Every page, tool and guide is a static asset. The only server code is one Worker route, POST /api/contact, which checks the contact form's spam protection and emails me the message. run_worker_first sends only /api/* to the Worker:

wrangler.jsonc
jsonc
"assets": {
  "directory": "./out",
  "not_found_handling": "404-page",
  "binding": "ASSETS",
  // The Worker runs first only for /api/*. Everything else is a static asset.
  "run_worker_first": ["/api/*"]
}

So page views never touch the Worker. The only Worker requests come from people sending the contact form.

Measured: on 12 November 2026, my Cloudflare billing page showed $0.

Here's what my Worker's Metrics tab showed (measured, 24h, 11-12 Nov 2026):

MetricValue
Asset requests817 (asset cache hit rate 91.06%)
Worker invocations17
Errors0
Median CPU time per invocation0.35 ms
Request duration774 µs

The dashboard splits asset requests from Worker invocations, which shows the setup working: about 2% of requests ran the Worker. Against the Free limits, 17 invocations is far below 100,000 a day, and 0.35 ms is far below 10 ms of CPU.

452 of those asset requests returned a 4xx, mostly bot scans for paths that don't exist. They're still asset requests, not Worker invocations.

Workers Logs on the Free plan

I also have Workers Logs switched on ("observability": { "enabled": true }), so the Worker's log messages are searchable in the dashboard.

Logs pricing changes on 1 December 2026, when Workers Logs moves to Cloudflare Observability pricing:

Until 30 November 2026From 1 December 2026
Free200,000 log events a day, kept 3 days0.5 GB of logs a day, kept 7 days; extra usage "not available"
Paid20 million events a month included, then $0.60 per million, kept 7 days50 GB a month included, then $0.25 per GB; 10 GB-month of storage included, then $0.10 per GB-month

For a small site like mine, the change means a size limit instead of a count limit, and longer retention on Free (7 days instead of 3). Logs come from Worker runs, and my Worker only runs for contact form submissions, so I expect to stay far below 0.5 GB a day. The one thing to know: on Free you can't pay for more, so a busy Worker that logs a lot would hit the daily cap.

Worked example: 100,000 visits a month

This is a modelled example, not a measurement. Assumptions: 100,000 visits a month, 2.5 pages per visit (the same figure my Hosting Cost Calculator uses), so 250,000 page views a month, or about 8,300 a day on average.

SetupWorker requests a monthFree planWorkers Paid
Static site0$0$5 (no reason to upgrade)
Static site plus a contact form API (1% of visits send it)About 1,000$0$5
Server-rendered site (every page view runs the Worker)About 250,000Fits the request count; each render must stay under 10 ms of CPU$5

What the numbers show:

  • A static site costs nothing at any traffic level, because static asset requests are free and unlimited.
  • An API route barely registers. About 1,000 requests a month is roughly 33 a day, against a limit of 100,000 a day.
  • Server rendering is where the plan matters. 250,000 requests a month averages about 8,300 a day, so even a day with ten times the average traffic stays under 100,000. The real risk on Free is the 10 ms CPU limit per request.
  • On Workers Paid, this site still costs $5. 250,000 requests is far below the 10 million included. CPU time stays inside the 30 million CPU ms included as long as the average render uses under 120 ms (30,000,000 ÷ 250,000).

When would Workers Paid cost more than $5? Cloudflare's own pricing page works through an example: a Worker serving 15 million requests a month at 7 ms of CPU each costs $8.00. That's the $5 subscription, $1.50 for the 5 million extra requests and $1.50 for the extra CPU time.

To estimate a workload like yours, try the Hosting Cost Calculator. It turns monthly visitors and page size into a cost range for a free tier, a budget VPS and a managed platform.

Other costs and limits to watch

  • Storage and databases are separate products. KV, D1, R2 and Durable Objects each have their own pricing and Free allowances. Check the Workers pricing page for the ones you use.
  • Subrequests. A Worker on Free can make 50 subrequests per request, against 10,000 on Paid.
  • Static asset file count. Free allows 20,000 files per Worker version, Paid 100,000. Each file can be up to 25 MiB. A large static site with many images can hit the file count before anything else.
  • Logs. Covered above: the pricing changes on 1 December 2026.

When Workers Paid is worth $5

  • Stay on Free if your site is a static export, or a static site with a few API routes. That's most portfolios, blogs, docs and tool sites.
  • Upgrade if any route needs more than 10 ms of CPU, if your Worker requests could pass 100,000 on a busy day, or if you need more than 50 subrequests per request.
  • Upgrade if a server-rendered site earns money and a 1027 error page on a traffic spike would cost you more than $5.

Netlify's Free plan works the other way round: every static file request and every GB of bandwidth uses credits from a 300-credit monthly allowance, so a static site that costs nothing here can still pause there. I go through the details in is Netlify free? Credits and limits explained.

For how Workers compares with other hosting costs, from shared hosting to VPS, see how much web hosting costs per month.

FAQ

Is Cloudflare Workers free for a Next.js site?

Yes, if it's a static export: every page is a static asset, and those requests are free and unlimited. A server-rendered Next.js site is free up to 100,000 Worker requests a day, as long as each request stays under 10 ms of CPU.

Do static asset requests count toward the 100,000 daily limit?

No. Static asset requests are free and unlimited. Only requests that run your Worker count, including static paths you've listed in run_worker_first.

Does Cloudflare charge for bandwidth on Workers?

No. Cloudflare's pricing page says "There are no additional charges for data transfer (egress) or throughput (bandwidth)."

Sources (checked 17 November 2026)

Prices, limits and quotes in this guide come from these official pages. The date is when I last checked each one against what the guide says.

  1. Cloudflare: Workers pricingchecked
  2. Cloudflare: Workers limitschecked
  3. Cloudflare: Static assets billing and limitationschecked
  4. Cloudflare: Static assets routing with a Worker scriptchecked
  5. Cloudflare: Next.js on Workerschecked
  6. Cloudflare: Workers Logschecked
  7. Cloudflare: Observability pricingchecked
  8. Netlify: Credit-based pricing planschecked
  9. Netlify: Resume paused projectschecked