Workers for Platforms
Make your platform programmable
Workers for Platforms provides a managed execution environment where customers deploy and run code on Cloudflare’s global network. This enables customization at scale, empowering customers to build logic, automation, and applications.
Effortless Scalability
Customer Empowerment
Secure Code Execution
Workers for Platforms Architecture
A managed environment for custom code on Cloudflare's global network
Workers for Platforms You can use Workers for Platforms to:
See real-world examples of Cloudflare Workers for Platforms
Start with Workers for PlatformsFull-Stack Applications
Personalized Experiences
Custom Integrations
Event-Driven Automation
Workers for Platforms Code Examples
Discover how to customize, empower customers, and build applications with Workers for Platforms.

export default { export default { async fetch(request, env) { // Get the user Worker name from the URL path const url = new URL(request.url); const workerName = url.pathname.split("/")[1]; // Fetch the user Worker from the dispatch namespace const userWorker = env.DISPATCHER.get(workerName); // Forward the request to the user Worker return userWorker.fetch(request); }, }; await env.KV.put('KEY', 'VALUE'); const value = await env.KV.get('KEY'); const allKeys = await env.KV.list(); await env.KV.delete('KEY'); return new Response( JSON.stringify({ value: value, allKeys: allKeys, }), ); }, };
Workers for Platforms Pricing
Deploy Workers on behalf of your customers. View Compute pricing details
Requests
—
$0.30 / million requests
CPU Time
—
$0.02 / million CPU ms
Scripts Deployed
—
$0.02 / script
npm
"
Over 10 million developers around the world rely on the npm Registry to download packages over 1 billion times a day. We invested in Cloudflare Workers to improve our global performance, and now with the Cloudflare Workers globally available key-value store (Cloudflare Workers KV), we can make performance improvements that used to be impossible. "
Powerful primitives, seamlessly integrated
Built on systems powering 20% of the Internet, Workers for Platforms run on the same infrastructure Cloudflare uses to build Cloudflare. Enterprise-grade reliability, security, and performance are standard.
Build without boundaries
Join thousands of developers who've eliminated infrastructure complexity and deployed globally with Cloudflare. Start building for free — no credit card required.