The Cloudflare Developer Platform
Everything you need to build. All running on Cloudflare's global network in 335+ cities.
Compute
| Service | What it does | When to use it | Docs |
|---|---|---|---|
| Workers | Global serverless functions | Run code at the edge with zero cold starts. APIs, middleware, full apps. | docs |
| Containers | Any language, anywhere | Run Docker containers when you need system-level access or non-JS runtimes. | docs |
| Sandboxes | Secure code execution | Run untrusted or LLM-generated code in isolated container environments. | docs |
| Durable Objects | Stateful compute | Coordinate state across requests. Ideal for sessions, counters, collaboration. | docs |
| Browser Run | Automated browsers | Headless Chromium for screenshots, scraping, PDF generation at the edge. | docs |
| Workflows | Process orchestration | Multi-step, retryable workflows with persistent state. | docs |
| Email Service | Programmatic email | Send and receive email from Workers. Give agents their own inbox. | docs |
Storage
| Service | What it does | When to use it | Docs |
|---|---|---|---|
| R2 | Egress-free storage | Store files, images, backups. S3-compatible API with zero egress fees. | docs |
| D1 | Serverless SQL | SQLite at the edge. Great for app state, metadata, user data. | docs |
| KV | Key-value speed | Low-latency reads for config, feature flags, cached data. Eventually consistent. | docs |
| Hyperdrive | Global databases | Connect to your existing Postgres/MySQL with connection pooling + edge caching. | docs |
| Queues | Message processing | Decouple producers and consumers. Batch processing, retries, dead-letter queues. | docs |
| Data Platform | R2 Data Catalog | Query data stored in R2 with SQL. Schema discovery, Iceberg tables. | docs |
AI
| Service | What it does | When to use it | Docs |
|---|---|---|---|
| Workers AI | Edge AI models | Run 70+ models (LLMs, embeddings, image gen) without managing GPU infra. | docs |
| Agents SDK | Build stateful AI agents | Framework for persistent, tool-using AI agents backed by Durable Objects. | docs |
| AI Gateway | AI observability | Proxy layer for AI providers: caching, rate limiting, logging, failover. | docs |
| Vectorize | Vector database | Store and query embeddings for RAG, semantic search, recommendation engines. | docs |
| AI Search | Instant retrieval | Managed RAG pipeline. Upload docs, search with natural language queries. | docs |
Media
| Service | What it does | When to use it | Docs |
|---|---|---|---|
| Images | Image optimization | Resize, compress, and serve images. Automatic format conversion (WebP/AVIF). | docs |
| Stream | Video streaming | Upload, encode, and stream video. Adaptive bitrate, captions, analytics. | docs |
| Calls | Live comms | Real-time audio/video communication via WebRTC. Build video apps and agents. | docs |
| TURN / SFU | Real-time infra | NAT traversal (TURN) and selective forwarding (SFU) for WebRTC at scale. | docs |