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