Workers for Platforms (3)

Last updated Oct 15, 2026 Build a multi-tenant platform that runs untrusted code in secure, isolated sandboxes.

Workers for Platforms lets you run untrusted code written by your customers, or by AI, in a secure hosted sandbox. Each customer runs code in their own Worker, a secure and isolated environment.

When to use Workers for Platforms

Use Workers for Platforms when you need to:

  • Run untrusted code at scale - Execute code written by your customers or generated by AI in a secure sandbox, with the ability to deploy an unlimited number of applications.
  • Build multi-tenant platforms - Give each customer their own isolated compute environment with complete separation between tenants.
  • Extend Cloudflare's developer platform to your customers - Use bindings to give each customer access to KV stores, D1 databases, R2 storage, and more. Your customers get the same powerful tools, managed through your platform.
  • Give each application its own domain - Host applications under a subdomain of your domain (for example, customer-name.myplatform.com) or integrate with custom hostnames to allow customers to use their own domains.

Features

Workers for Platforms provides tools to manage and control your customers' code:

  • Custom limits - Set per-customer limits on CPU time and subrequests.
  • Observability - Collect logs and metrics across all user Workers in your namespace. Export to third-party platforms like Datadog, Splunk, and Grafana.
  • Tags - Organize, search, and filter user Workers by custom tags like customer ID, plan type, or environment.

Reference architectures

Explore reference architectures that use Workers for Platforms:

Programmable Platforms Workers for Platforms provide secure, scalable, cost-effective infrastructure for programmable platforms with global reach.

AI Vibe Coding Platform Cloudflare's low-latency, fully serverless compute platform, Workers offers powerful capabilities to enable A/B testing using a server-side implementation.

Enterprise AI Vibe Coding Platform Reference architecture for building a governed enterprise AI vibe coding platform on Cloudflare.


Get started

Get started

Set up a dispatch namespace, dynamic dispatch Worker, and user Worker.

How Workers for Platforms works

Understand the architecture: dispatch namespaces, dynamic dispatch Workers, user Workers, and outbound Workers.

Was this helpful?

YesNo

On this page

Workers for Platforms (3) - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/#page","headline":"Workers for Platforms","description":"Run untrusted code from your customers or AI in secure, isolated sandboxes on Cloudflare's global network.","url":"https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/og.png?v=1e8b22d0354cf00b","dateModified":"2026-10-15","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Definitions of terms used in the Cloudflare Workers documentation. title: Glossary image: https://developers.cloudflare.com/workers/glossary/og.png?v=45c19785eb50db3a


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/workers/llms.txt
Use this file to discover all available pages before exploring further.