Preview Mode
Documentation

Cloudflare Workers

Run serverless code with exceptional performance, reliability, and scale.
Build Powerful Applications

Build serverless functions and applications without configuring or maintaining infrastructure with global deployment to over 335 data centers around the world on Cloudflare’s global network.

Build Powerful Applications
BENEFITS OF WORKERS
Increase developer productivity

Spin up applications in hours not days with no tuning necessary. Code is automatically placed for optimal performance.

icon scale aqua
Scale automatically

No action is required from developers to add more compute power or worry about reaching a limit no matter how much traffic an application receives.

Performance arrow up icon
Improve reliability

Gradually deploy code change to improve reliability and catch errors before they impact end users.

HOW IT WORKS

Run serverless code from region: Earth

Workers - How it works - image

To enable industry-leading performance automatically, Cloudflare Workers runs on V8 isolates not containers. Our V8 isolate architecture enables instant start up times at no additional cost as there is no delay waiting for the runtime to be loaded into an instance upon initiation. Isolates already have the runtime, all that is needed is for the code to be loaded on invocation, virtually eliminating cold starts on requests.

Workers - How it works - image

Learn how to build a global API gateway with Workers.

What our customers are saying

We need exceptionally strong security for our customers who upload private app code to Docker Hub. Cloudflare Workers provides an authentication layer that ensures that anyone who tries to access user data is authorized to do so.


- Docker

Top Workers use cases

Focus on your code and innovate faster.

Cloudflare Workers icon
Run serverless functions

From fast and light to longer running and more CPU-intensive workloads, deploy and execute code globally.

Orange image icon
Build frontend applications

Upload and serve HTML, CSS and client-side JS with native support for static files.

Performance acceleration rocket orange
Observability and troubleshooting

Collect, filtersearch, and query Workers logs to troubleshoot and resolve problems faster.

Helping organizations worldwide modernize applications

Cloudflare Workers
Deploy serverless code instantly across the globe
Workers KV
Provides access to a secure low latency key-value store at all of our data centers
Cloudflare Pages
JAMstack platform for frontend developers to collaborate and deploy websites
R2
Store and retrieve objects with zero egress fees.

Workers Free

Experience the Workers ecosystem without commitment.

$0/mo

100,000 requests per day (Across all of your Worker scripts, UTC+0)

Workers features

Includes 100k requests per day

Max 10ms CPU time per request

Access to Developer Platform products. Limits apply


Key-value storage features

100,000 read operations per day

1,000 write, delete, list operations per day

Up to 1GB of storage


Platform basics

Up to 100 Worker scripts

Up to 100 namespaces

Automatic global deployments to hundreds of data centers

Maintenance-free infrastructure that scales automatically

High performance runtime with no cold starts

Support for JavaScript and over 10 other languages

Full CLI deployment capabilities

Mutual TLS for Workers

Static asset hosting

Preview URLs

Integrated CI/CD

Gradually rollout changes

200,000 logs per day


Learn more

Workers Paid

Build scalable, production ready applications without usage limits.

Starting at $5/mo

$0.30/million requests per month

Workers features

Unlimited requests. 10M requests/month included

Max 30s CPU time/request. 30M CPU ms/month included

Access to Developer Platform products


Key-value storage features

Includes 10 million read operations per month

Includes 1 million write, delete, and list operations per month

Up to 1GB of storage


Platform basics

Up to 500 Worker scripts

Up to 100 namespaces

Automatic global deployments to hundreds of data centers

Maintenance-free infrastructure that scales automatically

High performance runtime with no cold starts

Support for JavaScript and over 10 other languages

Full CLI deployment capabilities

Mutual TLS for Workers

Static asset hosting

Preview URLs

Integrated CI/CD

Gradually rollout changes

20,000,000 logs per month


Learn more

Resources

Resources card - Thin top orange line  - image
Developers Discord

Share what you're building or ask questions with the Workers community and Cloudflare employees.

Join the developer community
Resources card - Thin top orange line  - image
Observability

Understand how your Workers are performing with logs, traces, and other analytics.

Read the docs
Resources card - Thin top orange line  - image
Workers 101

Learn how to build your first Cloudflare Workers application and deploy it to Cloudflare's global network.

Watch the video

Start building today