Skip to main content

The Cloudflare Developer Platform

Everything you need to build. All running on Cloudflare's global network in 335+ cities.

Compute

ServiceWhat it doesWhen to use itDocs
WorkersGlobal serverless functionsRun code at the edge with zero cold starts. APIs, middleware, full apps.docs
ContainersAny language, anywhereRun Docker containers when you need system-level access or non-JS runtimes.docs
SandboxesSecure code executionRun untrusted or LLM-generated code in isolated container environments.docs
Durable ObjectsStateful computeCoordinate state across requests. Ideal for sessions, counters, collaboration.docs
Browser RunAutomated browsersHeadless Chromium for screenshots, scraping, PDF generation at the edge.docs
WorkflowsProcess orchestrationMulti-step, retryable workflows with persistent state.docs
Email ServiceProgrammatic emailSend and receive email from Workers. Give agents their own inbox.docs

Storage

ServiceWhat it doesWhen to use itDocs
R2Egress-free storageStore files, images, backups. S3-compatible API with zero egress fees.docs
D1Serverless SQLSQLite at the edge. Great for app state, metadata, user data.docs
KVKey-value speedLow-latency reads for config, feature flags, cached data. Eventually consistent.docs
HyperdriveGlobal databasesConnect to your existing Postgres/MySQL with connection pooling + edge caching.docs
QueuesMessage processingDecouple producers and consumers. Batch processing, retries, dead-letter queues.docs
Data PlatformR2 Data CatalogQuery data stored in R2 with SQL. Schema discovery, Iceberg tables.docs

AI

ServiceWhat it doesWhen to use itDocs
Workers AIEdge AI modelsRun 70+ models (LLMs, embeddings, image gen) without managing GPU infra.docs
Agents SDKBuild stateful AI agentsFramework for persistent, tool-using AI agents backed by Durable Objects.docs
AI GatewayAI observabilityProxy layer for AI providers: caching, rate limiting, logging, failover.docs
VectorizeVector databaseStore and query embeddings for RAG, semantic search, recommendation engines.docs
AI SearchInstant retrievalManaged RAG pipeline. Upload docs, search with natural language queries.docs

Media

ServiceWhat it doesWhen to use itDocs
ImagesImage optimizationResize, compress, and serve images. Automatic format conversion (WebP/AVIF).docs
StreamVideo streamingUpload, encode, and stream video. Adaptive bitrate, captions, analytics.docs
CallsLive commsReal-time audio/video communication via WebRTC. Build video apps and agents.docs
TURN / SFUReal-time infraNAT traversal (TURN) and selective forwarding (SFU) for WebRTC at scale.docs