What is Cloudflare Workers?
Cloudflare Workers lets developers deploy code that runs on Cloudflare’s network in hundreds of cities rather than in a single cloud region. Instead of giving each program its own container or virtual machine, the Workers runtime runs code in V8 isolates, lightweight sandboxes created inside an existing process, so many customers’ programs can share one runtime and start without the cold-start delays of virtual machine-based serverless platforms. Developers write Workers in JavaScript, TypeScript, Python or Rust, or in other languages compiled to WebAssembly, and deploy them with Cloudflare’s Wrangler command-line tool.
A Worker can sit in front of an existing website to rewrite requests and responses, or it can be a complete application. Bindings connect code to Cloudflare’s other developer services: Workers KV for key-value data, Durable Objects for stateful coordination, D1 for SQL databases, R2 for object storage without egress fees, Queues and Workflows for background work, Hyperdrive for existing databases, and Workers AI and Vectorize for running AI models and vector search in Cloudflare’s network. Frameworks such as React, Next.js and Astro deploy to Workers, with static assets served from the Cloudflare CDN cache.
Cloudflare announced Workers in September 2017 and opened it to all customers in March 2018. It has become the base of a developer platform that Cloudflare says opened a new market for it in compute and storage, alongside security products such as Cloudflare One. In 2026 Cloudflare acquired VoidZero, the company behind the Vite build tool, and said it would rebuild its command-line workflow for building and deploying apps on top of Vite.
Key features of Cloudflare Workers
- 01
V8 isolate runtime
Code runs in lightweight isolates rather than containers, allowing thousands of programs to share one runtime and start quickly without the cold starts of virtual machine-based platforms.
- 02
Global deployment
A single deploy command publishes code to Cloudflare’s network, where it runs close to users in hundreds of cities without developers choosing or managing regions.
- 03
Multiple languages
Workers supports JavaScript, TypeScript, Python and Rust directly, plus languages such as C, C++, Go and Kotlin compiled to WebAssembly.
- 04
Storage bindings
Workers KV, Durable Objects, D1 databases, R2 object storage and Queues connect to code through bindings, giving applications state, SQL, files and messaging without separate infrastructure.
- 05
Workers AI and Vectorize
Developers can run machine learning models on serverless GPUs in Cloudflare’s network and store embeddings in Vectorize for semantic search and retrieval-augmented generation.
- 06
Full-stack framework support
Frameworks including React, Next.js, Svelte and Astro deploy to Workers, with static assets cached on Cloudflare’s network and server-side logic running in the same application.
- 07
Cron jobs and Workflows
Cron Triggers run code on a schedule, and Workflows provide durable, multi-step processes with automatic retries for long-running background tasks.
- 08
Built-in observability
Logs, metrics and traces show the performance and errors of each Worker, helping developers debug problems across a globally distributed deployment.
Who uses Cloudflare Workers?
- Developers build APIs and full-stack web applications that run close to users worldwide without provisioning servers or picking regions.
- Companies modify requests and responses in front of existing websites for authentication, redirects, A/B tests and personalization.
- AI startups run inference, retrieval and agent logic using Workers AI, Vectorize and Durable Objects on the same platform.
- Software-as-a-service providers use Workers for Platforms to let their own customers deploy custom code in isolated environments.
History of Cloudflare Workers
Cloudflare introduced Workers in September 2017 as a way to run JavaScript written in the style of browser service workers on its edge servers, letting customers customize how their traffic was handled. After a beta period, it became available to all customers in March 2018. Cloudflare then added storage and state through products such as Workers KV, Durable Objects, R2 and D1, turning Workers from a traffic-scripting tool into a platform for complete applications.
In September 2022 Cloudflare published workerd, the runtime behind Workers, as open source under the Apache 2.0 license. It launched Workers AI in 2023 to run models on GPUs across its network and has since added static asset hosting, containers and durable Workflows. In June 2026 it announced that VoidZero, whose open-source projects include Vite, Vitest, Rolldown and Oxc, was joining Cloudflare, and said those projects would remain open source.
- 2017
Cloudflare announces Workers, a platform for running JavaScript on its edge network.
- 2018
Workers becomes available to all Cloudflare customers in March.
- 2022
Cloudflare open-sources workerd, the JavaScript and WebAssembly runtime that powers Workers.
- 2023
Cloudflare launches Workers AI for running machine learning models on GPUs in its network.
- 2026
Cloudflare acquires VoidZero, maker of the Vite build tool, to build its developer tooling around Vite.
Cloudflare Workers pricing
Pricing modelUsage-based
A free plan includes a daily request allowance; the Paid plan has a monthly minimum and bills extra requests and CPU time by usage, with no data egress charges.
Prices change often. Check the official Cloudflare Workers website for current plans.
Cloudflare Workers alternatives
Well-known alternativesAWS Lambda, Vercel, Netlify, Fastly Compute, Deno Deploy and Google Cloud Run
Cloudflare Workers: frequently asked questions
Who makes Cloudflare Workers?
Cloudflare Workers is made by Cloudflare, the San Francisco internet infrastructure company co-founded by Matthew Prince, Michelle Zatlyn and Lee Holloway. Workers is the core of Cloudflare’s developer platform, which also includes R2 storage, D1 databases and Workers AI.
What is Cloudflare Workers used for?
Cloudflare Workers is used to run code on Cloudflare’s global network. Developers use it to build APIs, full-stack web applications and AI features, and to customize traffic in front of existing sites with tasks such as authentication, redirects, header changes and A/B tests.
Is Cloudflare Workers free?
Cloudflare Workers has a free plan with a daily allowance of requests and limited CPU time per request. The Workers Paid plan has a small monthly minimum charge and bills additional requests and CPU time by usage, with no charges for data transferred out.
When was Cloudflare Workers released?
Cloudflare announced Workers in September 2017 and made it available to all customers in March 2018. The platform has since added storage, databases, queues, AI inference and support for full-stack web frameworks.
How is Cloudflare Workers different from AWS Lambda?
AWS Lambda runs functions in isolated execution environments within the cloud regions a customer selects, while Cloudflare Workers runs code in V8 isolates across Cloudflare’s global network. Isolates start quickly and avoid most cold starts, but Workers has its own runtime limits and APIs that differ from a full Node.js server.
Sources
- Cloudflare Workers cloudflare.com
- How Workers works, Cloudflare Docs developers.cloudflare.com
- Workers pricing, Cloudflare Docs developers.cloudflare.com
- Introducing Cloudflare Workers, Cloudflare Blog blog.cloudflare.com
- VoidZero is joining Cloudflare, Cloudflare Blog blog.cloudflare.com
Last reviewed . Spotted an error? Send a correction.