whyai.space
← All guides

The cloudflare workers free plan is the most generous free compute tier most developers will ever meet: 100,000 requests a day, every day, at $0, running on Cloudflare’s global network rather than in one distant data centre.

Under the cloudflare workers free plan, each invocation gets 10 milliseconds of CPU time, static assets are served free and unlimited, and there is no charge for duration or for bandwidth leaving the platform. Workers are small pieces of JavaScript or WebAssembly code that run at the edge — close to your visitors — and they handle APIs, redirects, personalisation, proxies and whole small applications.

This guide explains what 100,000 daily requests and 10 ms of CPU really allow, how the bundled free allowances for storage and queues fit in, how to deploy your first Worker step by step, and what the $5 Paid plan changes when a project outgrows free.

Edge compute matters to AI builders for a practical reason: so much of an AI app is glue. A Worker can hold your API keys safely, rate-limit callers, cache answers, route requests between models, clean up inputs and stream responses — all without a server to patch or a container to babysit.

The cloudflare workers free plan lets that glue layer cost nothing while you find out whether anyone wants the product, and its daily reset means a bad day never eats next month’s budget.

If you have compared classic hosting in our Is Vercel free guide or our Netlify free plan explained guide, Workers is the different animal in the set: priced by requests and CPU milliseconds, not by bandwidth or build minutes.

cloudflare workers free plan answer diagram showing 100000 requests a day 10 ms cpu and free unlimited static assets

Cloudflare Workers Free Plan: What You Actually Get at $0

The headline meter on the cloudflare workers free plan is requests: 100,000 inbound requests per day, resetting at midnight UTC. Requests to static assets do not count against the feel of that limit in the way you might fear, because static asset requests are free and unlimited; the meter is about invocations of your code.

The second meter is CPU: 10 milliseconds of actual processor time per invocation. Ten milliseconds sounds tiny until you remember what it excludes — time spent waiting on a database, an API or a language model is not CPU time, so a Worker that mostly fetches, transforms and forwards can serve a surprising amount of traffic inside 10 ms.

A Worker doing heavy computation in the request path, image processing or large JSON parsing, will feel it much sooner.

Around that core, the cloudflare workers free plan bundles working allowances from the wider platform. Workers KV, the global key-value store, includes 100,000 reads a day, 1,000 writes and deletes a day and 1 GB of stored data on free.

D1, Cloudflare’s SQLite-style database, includes 5 million rows read a day, 100,000 rows written a day and 5 GB of storage. Queues include 10,000 operations a day. Workers Logs are included too, with 200,000 log events a day retained for three days, so you can actually debug what your code did — a detail many free tiers quietly omit.

Hyperdrive, which speeds up connections to external databases, includes 100,000 queries a day. Each allowance has its own daily reset and fails with an error when exceeded rather than silently billing you, which makes the free tier safe to hand to a side project.

The boundaries are just as clear. There is no paid overage on the cloudflare workers free plan: when a daily limit is hit, further operations of that type fail until reset, so a free Worker is not where you run a launch-day endpoint you cannot afford to see pause. Support and limits follow the free plan’s published tables rather than an SLA.

And while duration is uncharged, CPU is the discipline — code that burns processor per request will be throttled by design. The authoritative numbers live in the official Workers pricing documentation, which also explains how requests, subrequests and WebSocket connections are counted, and it is the page to check before you architect anything close to the limits.

What 100,000 Requests a Day Really Buys

Translate the cloudflare workers free plan into products. One hundred thousand requests a day is roughly three million a month: a personal API, a portfolio backend, a small SaaS’s public endpoints, a webhook receiver, a link shortener, an AI demo that proxies model calls — all of these can live comfortably inside it, often for years.

The CPU allowance reinforces the point: at an average of a few milliseconds of real processing per request, the free tier’s constraint is rarely the honest traffic of a young project. The projects that break free are usually not the popular ones but the wasteful ones — a chatty frontend polling every second, a health check hammering an endpoint, a bot scraping a public route.

The daily reset forgives those discoveries quickly, which is a kinder failure mode than a monthly pool drained on day three.

The sensible way to treat the cloudflare workers free plan is as production-grade infrastructure with a training-wheels meter. Deploy real things on it, put a custom domain on them, cache aggressively at the edge so invocations drop, and watch the dashboard’s request and CPU graphs for a week.

Those graphs are your upgrade evidence: if you are nowhere near the ceiling, stay at $0 without guilt; if a real audience is pushing you toward it, the paid step is five dollars, not a procurement process. Few platforms anywhere let a project graduate this smoothly, and none of it requires re-platforming, because the free and paid plans run the same code on the same network.

how to use the cloudflare workers free plan step by step diagram creating a worker handler storage route caching and usage

How to Use the Cloudflare Workers Free Plan Step by Step

Step 1: create a Worker. Sign up for Cloudflare, open Workers and Pages, and create your first Worker from the dashboard or with the Wrangler command-line tool. Start from the hello-world template so you have a deployed URL within minutes; that URL is live on the cloudflare workers free plan immediately, served from the edge location nearest whoever opens it.

Rename the Worker to something meaningful now, because its name becomes part of how you will read logs and analytics later.

Step 2: write a small, fast handler. A Worker receives a request and returns a response; your first real version might add security headers, redirect old paths, or proxy an API while injecting a secret key stored as an encrypted environment variable.

Keep the handler lean — parse only what you need, avoid heavy libraries in the hot path, and remember the 10 ms CPU budget is about processing, not waiting. Code that awaits a fetch is fine; code that crunches is what the meter watches.

Step 3: add storage only where it earns its place. Bind a KV namespace for configuration, cached lookups and small pieces of state, respecting the 1,000 free writes a day by writing deliberately rather than on every request.

Choose D1 when your data is relational and queried by fields, and keep queries indexed so the generous rows-read allowance is spent on answers, not scans. Every binding you add appears in the Worker’s settings; the discipline of choosing the right store once beats migrating data between stores later.

Step 4: put it on a real route and cache hard. Attach the Worker to a route on your domain or a workers.dev subdomain, then use the Cache API or cache headers so repeat answers are served without re-running logic.

Caching is the single biggest lever on the cloudflare workers free plan: every cached response is traffic your CPU meter never sees. Test from a couple of networks, check the Logs view while you click, and confirm errors look the way you expect before you share the link anywhere.

Step 5: watch a week of real usage. The dashboard shows requests and CPU per Worker; compare them honestly with the 100,000-a-day and 10 ms figures rather than guessing. If a single route dominates, optimise or cache that route first.

If growth is real and steady, the Paid plan is a settings change, not a migration — the same Worker, the same bindings, with the ceilings lifted and the meter switched to monthly. That continuity is the quiet superpower of building on the cloudflare workers free plan from the start.

Cloudflare Workers Pricing Beyond Free

The Workers Paid plan starts at a $5 monthly minimum per account and moves the cloudflare workers free plan’s daily world into monthly allowances: 10 million requests included, then $0.30 per additional million, and 30 million CPU milliseconds included, then $0.02 per additional million CPU milliseconds, with a much higher per-invocation CPU ceiling.

There are no charges for data transfer or bandwidth, which is the line item that makes edge computing economics so different from traditional clouds — a popular Worker does not generate an egress surprise.

KV, D1, Queues and Logs all gain larger included amounts on Paid with published per-unit prices beyond them, and details for each service sit alongside the Workers table in the Workers pricing docs, with the platform overview at workers.cloudflare.com.

Worked examples in those docs show how gentle the paid meter is for typical shapes: a Worker serving 15 million requests a month at 7 ms of CPU each totals about $8, and even 100 million requests lands near $45 before any caching discount. In other words, the step from the cloudflare workers free plan to Paid is usually about removing the daily ceiling and the 10 ms cap, not about bracing for a large bill.

Budget conversations change character completely when the first paid rung is five dollars and the hundredth million request costs less than a team lunch — which is exactly why so many small AI tools keep their glue layer on Workers long after they can afford alternatives.

cloudflare workers plans compared diagram free daily limits versus paid monthly allowances for the cloudflare workers free plan

Cloudflare Workers Free Plan Pros and Cons

Pros. The cloudflare workers free plan offers 100,000 requests a day with a daily reset, free and unlimited static assets, no bandwidth charges and code served from a global edge network, which makes small projects fast everywhere by default.

The bundled KV, D1, Queues, Hyperdrive and Logs allowances mean the free tier is a small platform, not a single function runner. Upgrading is a five-dollar settings change with no migration, and paid pricing beyond it is published to the fraction of a cent.

Cons. The 10 ms CPU limit per invocation rules out heavy in-request computation, and daily limits cut off rather than bill over, so a sudden spike can pause a free Worker mid-day.

The model also asks for a mental shift: developers used to servers must think in requests, CPU time and bindings. Some platform services are paid-only or much smaller on free, and debugging distributed edge behaviour, even with logs included, is a new skill for many teams.

Who Should Stay Free, and Who Should Pay

Stay on the cloudflare workers free plan for side projects, demos, personal APIs, webhook receivers, small SaaS glue, AI proxy layers and any endpoint whose honest traffic sits well under 100,000 requests a day.

It is also the right classroom: you can learn edge computing, KV and D1 on real infrastructure at $0, with the same tools professionals use, and nothing about the experience is a simulation.

Pay the $5 when a Worker becomes business infrastructure — when a daily cutoff would embarrass you, when a legitimate feature needs more than 10 ms of CPU, or when request growth is steady rather than spiky.

Treat it as buying headroom and forgiveness, not as a new platform. The cloudflare workers free plan will have proved the architecture by then, and the paid plan simply lets the same code keep the promises it was already making.

Frequently Asked Questions

Is the cloudflare workers free plan really free? Yes. The free plan includes 100,000 requests a day, 10 milliseconds of CPU time per invocation and free, unlimited static assets, with no charge for duration or bandwidth.

Bundled services such as KV, D1 and Queues carry their own free daily allowances. When a daily limit is reached, operations fail until the reset rather than billing you, because free has no paid overage.

What does the 10 ms CPU limit on the cloudflare workers free plan mean? It limits processor time, not elapsed time. Waiting on a database, an external API or a language model does not consume the CPU budget, so fetch-and-forward Workers serve heavy traffic comfortably inside it.

Code that does serious computation per request — large parsing jobs, cryptography, image work — is what the limit constrains, and the Paid plan raises the per-invocation ceiling substantially.

How much does Cloudflare Workers cost after the free plan? The Paid plan has a $5 monthly minimum that includes 10 million requests and 30 million CPU milliseconds a month.

Beyond that, requests cost $0.30 per million and CPU time $0.02 per million milliseconds, and there are no bandwidth or egress charges. Cloudflare’s own worked example prices 15 million requests a month at about $8 in total.

Can I run an AI app backend on the cloudflare workers free plan? For the glue layer, yes — and it is one of the plan’s best uses. A Worker can protect API keys, rate-limit users, cache responses and route between models well within the free allowances at early scale.

Keep the heavy lifting in the model provider’s API, which you are calling anyway, and let the Worker stay lean enough to respect the CPU budget.

What happens if I exceed the cloudflare workers free plan limits? The affected operation fails with an error until the daily reset at midnight UTC; you are not billed, because the free plan has no overage.

That makes free safe for experiments but unforgiving for a launch spike, which is why projects expecting a big day upgrade to the $5 Paid plan in advance and downgrade the risk, not the code.

The cloudflare workers free plan is close to a public utility for small compute: fast everywhere, honest about its two meters, and free at a scale that covers most young projects outright. Build the glue layer on it, cache like you mean it, and let the dashboard — not anxiety — tell you when five dollars is due.