About Cloudflare Workers
Cloudflare Workers is a serverless runtime that executes code at Cloudflare's edge locations, close to the people making requests. Developers write functions in JavaScript or in languages that compile to WebAssembly, and Cloudflare runs them without any servers to provision or operate.
Workers is a core part of the Cloudflare developer platform and is often used for APIs, request routing and edge logic. It is a proprietary, vendor-hosted service with no self-hosted edition, and Cloudflare documents the current limits, bindings and pricing.
Key features
- Runs JavaScript and WebAssembly at the edge
- Executes code near end users
- No servers to provision or operate
- Part of the Cloudflare developer platform
Good fit for
- →Edge APIs and request routing
- →Adding custom logic in front of a website
- Tags
- cloudflare
- serverless
- edge-computing
- javascript
- webassembly
- functions
- cloud
Cloudflare Workers: questions and answers
- What is Cloudflare Workers used for?
- Cloudflare Workers is a serverless runtime that executes JavaScript and WebAssembly code at Cloudflare edge locations close to end users. It is a good fit for edge APIs and request routing, and adding custom logic in front of a website.
- Is Cloudflare Workers free?
- Yes. Cloudflare Workers has a free plan. Workers has a free tier of 100k requests a day. The paid tier is metered at $0.30 per million requests and $0.02 per million CPU milliseconds.
- Is Cloudflare Workers open source?
- No. Cloudflare Workers is proprietary (closed-source) software and can't be self-hosted. Open-source alternatives to Cloudflare Workers include OpenFaaS and Tau.
- What are some alternatives to Cloudflare Workers?
- Cloudflare Workers competes with AWS Lambda, Deno Deploy and Vercel. For open-source options, see Enlisted's ranked list of open-source Cloudflare Workers alternatives.
Open-source alternatives to Cloudflare Workers
See all
OpenFaaS
Hosting & PaaS
OpenFaaS - Serverless Functions Made Simple
OSSvs AWS Lambda★ 26k
Tau
Hosting & PaaS
Fullstack Workspace for Humans & Machines
BSD-3-Clausevs Vercel★ 5.2k
Ubicloud
Hosting & PaaS
Ubicloud is an open source cloud that can run anywhere. Our cloud services include elastic
AGPL-3.0vs Amazon Web Services★ 12k
Sandstorm
Hosting & PaaS
Take control of your web by running your own personal cloud server with Sandstorm.
OSS★ 7.1k
Coolify
Hosting & PaaS
Self-hosting platform with superpowers. Deploy apps, databases & 280+ services to your
Apache-2.0vs Heroku★ 62k
Dokploy
Hosting & PaaS
Open-source self-hostable Platform as a Service (PaaS) that simplifies the deployment and
OSSvs Heroku★ 38k
SaaS alternatives to Cloudflare Workers
See all
AWS Lambda
Hosting & PaaS
Serverless compute that runs functions on demand without managing servers
SaaS
Deno Deploy
Hosting & PaaS
Edge hosting for JavaScript and TypeScript apps built on the Deno runtime
SaaS
Vercel
Hosting & PaaS
Vercel is a cloud platform for deploying web applications and AI agents, from the company behind Next.js, with a CDN, serverless compute and AI tooling.
SaaS
Netlify
Hosting & PaaS
Netlify is a web hosting and deployment platform for building and shipping sites and apps, with deploy previews, serverless functions and an edge network.
SaaS
Google Cloud Functions
Hosting & PaaS
Serverless functions service on Google Cloud that runs code in response to events
SaaS
Val Town
Hosting & PaaS
Platform for writing and hosting small serverless TypeScript functions
SaaS

