Cloudflare Developer Platform vs Fly.io
Workers, Pages, D1, R2, KV — edge-native serverless
vs. Run your app close to users, globally
Pricing tiers
Cloudflare Developer Platform
Free
Workers: 100k req/day, 10ms CPU/req. D1: 5M reads/day. KV: 100k reads/day. R2: 10 GB/mo. Durable Objects: 100k req/day.
Free
Workers Paid
$5/month minimum. 10M Workers req/mo + overages. Generous D1, KV, R2 allowances. All services unlocked.
$5/mo
Enterprise
Custom. Higher SLAs, dedicated support, account managers.
Custom
Fly.io
Pay-as-you-go
No monthly fee. Machines billed per second. Free allocations: ~3 small shared machines + 3 GB volumes.
$0 base (usage-based)
Shared CPU 1x — 256 MB
Entry VM. 1 shared vCPU, 256 MB RAM. ~$2.02/month continuously on.
$2/mo
Performance 1x — 2 GB
Dedicated 1 vCPU, 2 GB RAM.
$32/mo
Reservation — Shared (1 yr)
$36/year for $5/mo credit (40% savings).
$36/mo
Shared CPU 8x — 16 GB
8 shared vCPU, 16 GB RAM.
$89/mo
Performance 16x — 128 GB
Dedicated 16 vCPU, 128 GB RAM.
$1014/mo
Enterprise
Custom. Dedicated capacity, SLA.
Custom
Free-tier quotas head-to-head
Comparing free on Cloudflare Developer Platform vs pay-as-you-go on Fly.io.
| Metric | Cloudflare Developer Platform | Fly.io |
|---|---|---|
| d1 reads day | 5000000 rows/day | — |
| d1 storage gb | 5 GB | — |
| d1 writes day | 100000 rows/day | — |
| durable objects gb sec | 13000 GB-sec/day | — |
| durable objects requests | 100000 req/day | — |
| kv reads day | 100000 reads/day | — |
| kv storage gb | 1 GB | — |
| kv writes day | 1000 writes/day | — |
| r2 class a ops | 1000000 ops/month | — |
| r2 class b ops | 10000000 ops/month | — |
| r2 egress | free (unlimited) egress | — |
| r2 storage gb | 10 GB/month | — |
| workers cpu ms | 10 ms/invocation | — |
| workers logs events | 200000 events/day | — |
| workers requests day | 100000 req/day | — |
Features
Cloudflare Developer Platform · 18 features
- AI Gateway — Proxy for OpenAI/Anthropic/Gemini with caching, analytics, retries, rate limitin…
- D1 — Managed serverless SQLite via sqlite-wasm. Read replicas via replicas keyword.
- Durable Objects — Strongly-consistent objects with storage, pinned to a region. Good for sync/stat…
- Email Routing — Catchall email routing + Email Workers for programmatic handling.
- Hyperdrive — Connection pooler + cache for Postgres. Makes your DB edge-fast.
- Images — Store, resize, transform images. Polish on-the-fly.
- KV — Eventually-consistent key-value at every POP. Good for config, caching.
- Pages — Static + SSR framework hosting (Next.js via OpenNext, Remix, Nuxt, SvelteKit).
- Pages Functions — Workers integrated into Pages for backend logic.
- Queues — Persistent message queues with batched consumers. Exactly-once per consumer grou…
- R2 — S3-compatible object storage with **zero egress fees**.
- Stream — Video upload, encoding, adaptive streaming.
- Vectorize — Vector DB at the edge. For RAG + semantic search.
- Workers — V8-isolate serverless at 300+ POPs. Sub-ms cold starts. JS/TS/Rust/Python (beta)…
- Workers AI — Run LLMs (Llama, Mistral) + image, speech, embedding models at edge via @cf/... …
- Workers Logs — Structured logs with 3-day retention on paid.
- Workflows — Durable step-functions for long-running tasks.
- Zaraz — Third-party script management at edge (analytics, marketing tags).
Fly.io · 14 features
- Auto Stop/Start — Machines auto-stop when idle, start on request (like scale-to-zero).
- Certs — Let's Encrypt + wildcard certs managed.
- Fly GPU — A100/L40S/A10 on-demand GPU machines.
- Fly Kubernetes (FKS) — Managed Kubernetes on Fly machines.
- Fly Machines — Firecracker microVMs. Start in <1s. Run any Docker image.
- Fly Postgres — Managed Postgres via Supabase partnership (2024). Also legacy self-run Postgres …
- fly-replay headers — Route request to another region at app level.
- Fly Volumes — Persistent SSD attached to a Machine. Encrypted at rest.
- Global Anycast — Single IP routes to the closest region automatically.
- LiteFS — Distributed SQLite with primary/replica across regions.
- Private Networks — 6PN WireGuard mesh. Connect machines across regions privately.
- Secrets — Encrypted env vars propagated to all regions.
- Tigris (partner) — S3-compatible storage for Fly apps. By partner.
- Upstash Redis (partner) — Managed Redis via Upstash.
Developer interfaces
| Kind | Cloudflare Developer Platform | Fly.io |
|---|---|---|
| CLI | Wrangler CLI | flyctl CLI |
| REST | Cloudflare REST API, D1 HTTP (via Worker), R2 S3-compatible API | Machines API |
| GRAPHQL | — | Fly GraphQL API |
| MCP | Cloudflare MCP | — |
| OTHER | Workers Runtime (V8) | Fly Postgres (wire) |
Staxly is an independent catalog of developer platforms. Outbound links to Cloudflare Developer Platform and Fly.io are plain references to their official websites. Pricing is verified against vendor pages at publication time — reconfirm before buying.
Want this comparison in your AI agent's context? Install the free Staxly MCP server.