Reviews
Review of Cloudflare Workers: Serverless Hosting for AI-Built Websites

The Short Answer
Cloudflare Workers is serverless hosting that serves your website files and runs small pieces of code from Cloudflare’s global network, with no server for you to maintain. Static asset requests are free and unlimited, it deploys automatically from GitHub, and it is my favorite home for static websites built with Claude, though it does not run WordPress or let clients log in and edit pages.
If you build websites with AI, where do you put them? After rebuilding this very course website with Claude, my answer is Cloudflare Workers. It’s where my Claude-developed websites live, and I love it. Here’s my honest review: how it works, what it costs, what it’s great at, and where it isn’t the right tool.
What is Cloudflare Workers?
Cloudflare Workers is Cloudflare’s platform for running websites and code on its global network. You give it a folder of files (HTML, CSS, JavaScript, images), and Cloudflare serves them to your visitors from the data center closest to them. If you need a little bit of code, like a contact form handler or a redirect, you can run that on the same platform in the same project. You can read all of the details in Cloudflare’s static assets documentation (opens in a new tab).
It’s a perfect match for the static websites that Claude builds, because those websites are just files. No WordPress, no database, no PHP.
How does serverless work?
Great question! “Serverless” is a confusing name, because there are still servers. The difference is that you never see, set up or maintain them.
With traditional hosting, you rent a server (or a slice of one). It sits in one location, running 24 hours a day whether anyone visits or not, and it’s your job (or your host’s) to keep the operating system, PHP, the database and the security patches up to date. If your website suddenly gets popular, the server can run out of power and slow down.
With serverless, there’s no server for you to rent. Instead, your files and code are copied across Cloudflare’s network, and your code runs on demand, only when a request arrives. Cloudflare runs Workers in lightweight V8 isolates (opens in a new tab), the same JavaScript engine that powers Chrome. Isolates start so quickly that Cloudflare says they avoid the “cold start” delay of older serverless models. When traffic spikes, the network simply handles more requests. When nobody visits, you’re not paying for an idle machine.
For a static website, it’s even simpler. Your pages are just files, and Cloudflare serves them straight from its network without running any code at all.
What are the benefits over traditional hosting?
| Feature | Traditional hosting | Cloudflare Workers |
|---|---|---|
| Where it runs | One server in one location | Cloudflare’s global network, close to every visitor |
| Maintenance | Updates for the operating system, PHP, database and plugins | None. There’s no server to patch |
| Security | Plugins and databases can be hacked | Static files have a very small attack surface |
| Traffic spikes | The server can slow down or crash | The network scales automatically |
| Cost | Monthly fee, whether or not you have visitors | Free to start, with generous allowances |
| Speed | Depends on the server and caching plugins | Fast by default |
| Publishing | Upload files, or use a dashboard | Push to GitHub and it deploys automatically |
The speed benefit is real. Remember the Speed & Performance lesson? The biggest levers were hosting, images and plugins. Serving pre-built files from a nearby data center, with no plugins, takes care of two of those three before you start.
How much does Cloudflare Workers cost?
When I checked in November 2026, Cloudflare’s pricing page (opens in a new tab) said:
- Static asset requests are free and unlimited, on both the Free and Paid plans. For a static website, that’s nearly all of your traffic.
- The Free plan includes 100,000 requests per day for any code that runs, which is plenty for things like a contact form.
- The Paid plan has a $5 per month minimum and includes 10 million requests per month.
Plans and prices are set by Cloudflare and can change, so double-check before you decide. Compare that to the monthly fee for traditional hosting, and it’s easy to see why this protects your profit margins. Even better, you can still charge clients a monthly website maintenance plan for updates, monitoring and support.
What do I love about Cloudflare Workers?
- Automatic deploys from GitHub. Connect your repository once, and every push to your main branch publishes the changes. Combined with Claude Code, my workflow is: ask Claude for a change, review it, push, and it’s live.
- Versions and rollbacks. Every deployment is saved as a version, so if something breaks, you can go back to a previous one.
- Custom domains and free SSL. Cloudflare sets up the DNS records and the certificate for your domain automatically.
- It does more than static files. This website’s contact form runs on a tiny Worker that checks Cloudflare Turnstile (the bot protection) and sends the message with Cloudflare Email Sending. It’s the same project and the same deployment.
- It’s fast. I get great PageSpeed (opens in a new tab) scores without installing a single caching plugin.
- Everything in one place. Domain DNS, SSL, security, hosting and email sending all live in the same Cloudflare dashboard.
What are the downsides of Cloudflare Workers?
It’s not perfect, and it’s not for every project. Here’s what to watch out for:
- It doesn’t run WordPress. If your client needs a WordPress website, Workers isn’t the place for it. Use a WordPress host, like the ones in my Cloudways review.
- Clients can’t log in and edit. A static website has no admin area. If your client wants to edit their own pages, you’ll need a different approach.
- There are limits. Static assets are capped at 25 MiB per file and 20,000 files per version on the Free plan. (I ran into the file size limit on this very website, with a 108 MB download.) Code that runs on the Free plan gets 10 milliseconds of CPU time per request, which is fine for a contact form but not for heavy processing.
- There’s no hard drive to save to. Workers can’t save files on a server. If you need to store data, you’ll need a database or storage service, like Cloudflare’s KV, R2 or D1.
- It’s more technical than a hosting dashboard. You’ll work with Git and a config file. The good news is that Claude can do most of that for you, as long as you understand the basics.
Who is Cloudflare Workers best for?
It’s a great fit for brochure-style business websites, landing pages, portfolios, course websites and blogs built as static websites, especially if you build with Claude or another AI. It’s a poor fit for websites that need WordPress plugins, WooCommerce stores, or a login where clients edit their own content. And remember, you’re never locked in. Since a static website is just files, any hosting can serve it, so you can move whenever you want.
Conclusion: Does Leighton recommend Cloudflare Workers?
Yes! For static, AI-built websites, Cloudflare Workers is my favorite hosting option. It’s fast, secure, almost free, and it deploys automatically from GitHub. Pair it with Claude Code and a GitHub repository, and you can build and launch professional websites at a pace that wasn’t possible a few years ago. For WordPress, I’ll still use managed WordPress hosting. The skill is picking the right tool for each client.
Ready to try it? Follow the AI Websites lesson to build a static website with Claude and publish it to the web. For more, read my review of Claude for webmasters.

