Cloudflare Workers© (original) (raw)
You write code.
We handle the rest.
Deploy serverless code instantly across the globe to give it exceptional performance, reliability, and scale.
- From signup to globally deployed in <5min
- Your code runs within milliseconds of your users worldwide
- Say goodbye to cold starts—support for 0ms worldwide
~/ $ npm create cloudflare -- my-app
~/ $ cd my-app
~/my-app $ npx wrangler deploy
Published https://my-app.world.workers.dev
Laurie Voss
Co-founder & Chief Data Officer
NPMLogo for the company NPM
“Cloudflare Workers has changed the way we build our apps. We don’t have to think about regions, we just deploy code and it runs seamlessly around the world.”
Great power.
Less responsibility.
Automatic scaling
No more configuring auto-scaling, load balancers, or paying for capacity you don’t use. Traffic is automatically routed and load balanced across thousands of servers. Sleep well as your code scales effortlessly.
High performance global network
Every deploy is made to a network of data centers running V8 isolates. Your code is powered by Cloudflare’s network which is milliseconds away from virtually every Internet user.
Write in JS, Rust, C, and C++
Choose from a template in your language to kickstart building an app, creating a function, or writing an API. We have
tutorials, and a
to get you up and running in no time.
Support for 0ms cold starts
Most serverless platforms experience a cold start every time you deploy or your service increases in popularity. Workers can run your code instantly, without cold starts.
Exceptionally affordable
The first 100,000 requests each day are free and paid plans start at just $5/10 million requests, making Workers as much as ten-times less expensive than other serverless platforms.
For a 50ms Worker compute workload including API Gateway & other required services
No servers to maintain
Spend more time building, less time configuring. No VMs, no servers, and no containers to spin up or manage. Deploy using our CLI, web interface, or API.
Edge storage, built in
Store your static assets at the edge with Workers KV, our global, low-latency key-value data store. Access your assets alongside your code and transform them via powerful APIs (e.g. HTMLrewriter) to modify your page before it reaches the user.
Static assets with dynamic power
Say goodbye to build steps which pre-generate thousands of assets in advance. Harness the unrivaled raw power of the edge to generate images, SVGs, PDFs, whatever you need,
on the fly, and deliver them to users as quickly as a static asset.
Build your first Worker now.
Building with Workers
Deploy up to 100 Worker scripts
Runs on all 275+ network locations
Free workers.dev subdomain
Free static asset requests
Up to 10ms CPU time per request
Lowest latency after the first request
Limited Workers KV edge storage
Everything in Free, plus:
20 million included logs per month (+$0.60 per additional million)
Up to 30s of CPU time per request
Always lowest latency
Additional Workers KV edge storage