Cloudflare Workers alternatives
for edge and serverless code.
Where to run serverless and edge code if Workers' runtime or limits don't fit, compared with Cloudflare on billing, egress and what's included.
Facts checked against each provider's own pages
The short answer
Vercel and Netlify suit frontend frameworks that need a fuller Node.js environment and preview deploys. Fly.io runs full containers close to users in 17 regions[1]. AWS Lambda and Google Cloud Run give you serverless functions or containers with a hyperscaler's catalogue behind them. None matches Workers' $0 data transfer charge[2], so bandwidth-heavy apps often keep Cloudflare in front.
Why teams look beyond Cloudflare
CPU limits. The Free plan allows 10 ms of CPU per invocation; Paid raises the ceiling to 5 minutes[3].
Runtime and Next.js. Next.js on Workers needs an adapter: Cloudflare recommends vinext (in beta) or OpenNext, and its OpenNext guide lists Node.js middleware as not yet supported[4].
Persistent disks. Containers on Cloudflare have ephemeral disks; state goes in R2 or Durable Objects[5]. There's no managed Postgres; Hyperdrive connects to an external one[6].
Cloudflare and 5 alternatives, side by side
Cloudflare is the highlighted first row. Every cell is taken from the provider's own pricing or documentation pages, cited by number; "—" means the provider doesn't publish it on the pages we checked.
| Provider | Pricing model | Free tier | Compute billing granularity | Internet egress (first paid tier) | Regions / locations | Managed databases | Persistent volumes | Scale to zero |
|---|---|---|---|---|---|---|---|---|
| CloudflareEdge platform | Workers Free or Workers Paid ($5/mo minimum) plus usage on requests and CPU time[2] | Workers Free: 100,000 requests/day, 10 ms CPU per invocation; static asset requests free and unlimited[2] | Requests and CPU time, not wall-clock duration: Paid includes 10M requests + 30M CPU-ms, then $0.30/M requests and $0.02/M CPU-ms[2] | $0: no data transfer charge on Workers; R2 egress free (Containers egress is billed separately)[2] | Network page lists 348 cities in its data-center list (headline stats say 335+ cities, 125+ countries)[7] | D1 (serverless SQLite), KV and Durable Objects; Hyperdrive connects to external Postgres/MySQL[6] | No: Containers disks are ephemeral; persist to R2 or Durable Objects[5] | Yes: no duration charge on Workers; Containers stop billing while asleep[8] |
| VercelFrontend platform | Per-seat plan plus metered usage; Pro's $20/mo fee includes one deploying seat and $20 of usage credit[9] | Hobby: 100 GB Fast Data Transfer, 1M CDN requests, 4 CPU-hrs Active CPU, 1M function invocations per month; hard caps; personal, non-commercial use[10] | Active CPU metered on actual CPU time and billed per CPU-hour; provisioned memory per GB-hour while an instance is alive[11] | $0.15/GB on-demand Fast Data Transfer in US regions (iad1); $0.15–$0.35/GB by region[12] | 19 compute regions; 126 points of presence[13] | No first-party SQL database; Blob and Edge Config first-party; Postgres, Redis and others via Marketplace partners[14] | — | Usage-billed functions: no Active CPU charge when idle; memory billed only while an instance is serving[15] |
| NetlifyFrontend platform | Credit-based: each plan includes monthly credits that deploys, compute, bandwidth and requests draw down[16] | Free: 300 credits/mo hard limit; projects pause when credits run out[17] | Functions compute metered in GB-hours (10 credits per GB-hour); 2 credits per 10k web requests; 15 credits per production deploy[16] | 20 credits per GB; derived ≈ $0.133/GB on Pro (extra credits $10 per 1,500) or $0.20/GB on Personal ($5 per 500)[16] | Functions: 12 self-serve regions, 2 more via support (counted from docs list)[18] | Netlify Database: managed Postgres on credit-based plans[19] | — | — |
| Fly.ioApp platform (PaaS) | Pay for resources used, no monthly platform fee[20] | No free tier; new accounts get a $1 trial credit, and personal-org bills under $5/mo are waived[20] | Machines billed per second while running; stopped Machines pay $0.15/GB/mo for root filesystem only[20] | $0.02/GB North America and Europe; $0.04/GB Asia Pacific, Oceania, South America; $0.12/GB Africa and India[20] | 17 regions (counted from list)[1] | Fly Managed Postgres from $38/mo (Basic), with HA and backups[21] | Yes: Fly Volumes (local NVMe) $0.15/GB/mo, one per Machine, not replicated automatically[22] | Yes: Fly Proxy autostop/autostart with min_machines_running = 0[23] |
| AWSHyperscaler | Pay as you go per service; no long-term contract required[24] | Free plan: up to $200 in credits (account closes after 6 months or when credits run out); 30+ always-free services[25] | EC2: per second with a 60-second minimum (Linux, Windows, RHEL, Ubuntu Pro); SLES by the full hour[26] | $0.09/GB for the first 10 TB/month from US East (N. Virginia), then $0.085, $0.07, $0.05[27] | 39 regions, 124 Availability Zones[28] | Amazon RDS (PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Db2) and Aurora, plus DynamoDB[29] | Yes: Amazon EBS block volumes for EC2[30] | Yes: Lambda creates and destroys execution environments with traffic, scaling to zero when idle[31] |
| Google CloudHyperscaler | Pay as you go per resource; no up-front fees or termination charges[32] | $300 credit for 90 days, plus 20+ always-free products (e.g. one e2-micro VM per month in select US regions)[33] | Compute Engine: 1-minute minimum, then per second; Cloud Run rounded up to 100 ms[34] | Premium Tier to North America: $0.12/GiB up to 1,024 GiB; Standard Tier $0.085/GiB after 200 GiB free[35] | 43 regions, 130 zones[36] | Cloud SQL (MySQL, PostgreSQL, SQL Server), plus AlloyDB, Spanner, Firestore, Bigtable[37] | Yes: Persistent Disk and Hyperdisk for VMs; Cloud Run can mount Cloud Storage as a volume[38] | Yes: Cloud Run scales to zero; idle non-minimum instances are not charged[39] |
Which alternative fits which job
Frontend platform
Vercel
Best for: Next.js and frontend frameworks
Next.js runs without an adapter, previews for every branch and PR[40], Active CPU billing[11]. Transfer beyond Pro's 1 TB tier costs money[41].
Frontend platform
Netlify
Best for: Jamstack sites with forms and functions
Deploy Previews[42], functions in 12 self-serve regions[18], credit-based billing that includes bandwidth[16].
App platform (PaaS)
Fly.io
Best for: full containers near users, with volumes
Any Docker image as a Fly Machine[43], volumes[22] and Managed Postgres[21], autostop to zero[23]. $0.02/GB egress in North America and Europe[20].
Hyperscaler
AWS
Best for: Lambda functions next to AWS services
Lambda scales to zero when idle[31]; Event Functions include 1M requests and 400,000 GB-seconds free each month[44]. Egress is $0.09/GB after 100 GB free[27].
Hyperscaler
Google Cloud
Best for: containers that scale to zero
Cloud Run deploys containers or source and doesn't charge idle non-minimum instances[39]; billing rounds to 100 ms[34]. 43 regions[36].
When to stay on Cloudflare
Deploy to Cloudflare and an alternative, side by side
Most teams that outgrow one part of Cloudflare don't need to leave all of it. AW3 Host connects your Cloudflare account alongside Vercel, Netlify, Fly.io, AWS and Google Cloud and deploys to any of them from one dashboard and API, so you can move the workload that fits Cloudflare poorly and keep the rest where it is.
During a move, weighted routing splits traffic between the old and new deployment (say 90/10, then 50/50), canary and blue-green releases let you promote or roll back in one step, and failover with health checks every 60 seconds sends traffic back to the healthy side if the new one fails. Daily cost sync and budget policies show what each provider costs you per day, and secrets are stored encrypted per environment.
AW3 Host has a free tier with 500 credits a month and a Pro plan at $29/month. It doesn't change any provider's prices or limits; it removes the work of running more than one of them.
Frequently asked questions
- What's the main limitation of Cloudflare Workers?
- CPU time per invocation (10 ms on Free, up to 5 minutes on Paid) and the Workers runtime itself: frameworks like Next.js need an adapter (vinext or OpenNext), and Containers have ephemeral disks.
- How much does Cloudflare Workers cost?
- Workers Paid is $5/month per account and includes 10 million requests and 30 million CPU-milliseconds, then $0.30 per million requests and $0.02 per million CPU-ms. There's no charge for data transfer on Workers.
- Is Vercel or Cloudflare better for Next.js?
- Vercel runs Next.js natively. Cloudflare needs an adapter: it recommends vinext (beta) for new apps, with OpenNext as an alternative that supports ISR, middleware and image optimization via Cloudflare Images. See the Vercel vs Cloudflare comparison.
Sources
- Fly.io Docs: Regions. https://fly.io/docs/reference/regions/ (checked 2026-11-16)
- Cloudflare Docs: Workers pricing. https://developers.cloudflare.com/workers/platform/pricing/ (checked 2026-11-16)
- Cloudflare Docs: Workers limits. https://developers.cloudflare.com/workers/platform/limits/ (checked 2026-11-16)
- Cloudflare Docs: OpenNext on Workers. https://developers.cloudflare.com/workers/framework-guides/web-apps/opennext/ (checked 2026-11-16)
- Cloudflare Docs: Containers FAQ. https://developers.cloudflare.com/containers/faq/ (checked 2026-11-16)
- Cloudflare Docs: D1 pricing. https://developers.cloudflare.com/d1/platform/pricing/ (checked 2026-11-16)
- Cloudflare: Network. https://www.cloudflare.com/network/ (checked 2026-11-16)
- Cloudflare Docs: Containers pricing. https://developers.cloudflare.com/containers/pricing/ (checked 2026-11-16)
- Vercel: Pro plan. https://vercel.com/docs/plans/pro-plan (checked 2026-11-16)
- Vercel: Hobby plan. https://vercel.com/docs/plans/hobby (checked 2026-11-16)
- Vercel: Functions usage and pricing. https://vercel.com/docs/functions/usage-and-pricing (checked 2026-11-16)
- Vercel: Regional pricing, iad1. https://vercel.com/docs/pricing/regional-pricing/iad1 (checked 2026-11-16)
- Vercel: Regions. https://vercel.com/docs/regions (checked 2026-11-16)
- Vercel: Storage. https://vercel.com/docs/storage (checked 2026-11-16)
- Vercel: Pricing. https://vercel.com/pricing (checked 2026-11-16)
- Netlify Docs: Credit-based pricing plans. https://docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/credit-based-pricing-plans/ (checked 2026-11-16)
- Netlify Docs: How credits work. https://docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/how-credits-work/ (checked 2026-11-16)
- Netlify Docs: Functions configuration. https://docs.netlify.com/build/functions/configuration/ (checked 2026-11-16)
- Netlify Docs: Netlify Database. https://docs.netlify.com/build/data-and-storage/netlify-db/ (checked 2026-11-16)
- Fly.io Docs: Pricing. https://fly.io/docs/about/pricing/ (checked 2026-11-16)
- Fly.io Docs: Managed Postgres. https://docs.fly.io/postgres (checked 2026-11-16)
- Fly.io Docs: Volumes overview. https://docs.fly.io/volumes/overview (checked 2026-11-16)
- Fly.io Docs: Autostop/autostart. https://docs.fly.io/launch/autostop-autostart (checked 2026-11-16)
- AWS: Pricing. https://aws.amazon.com/pricing/ (checked 2026-11-16)
- AWS: Free Tier. https://aws.amazon.com/free/ (checked 2026-11-16)
- AWS: EC2 On-Demand pricing. https://aws.amazon.com/ec2/pricing/on-demand/ (checked 2026-11-16)
- AWS Price List: AWSDataTransfer offer file, us-east-1. https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AWSDataTransfer/current/us-east-1/index.json (checked 2026-11-16)
- AWS: Global infrastructure. https://aws.amazon.com/about-aws/global-infrastructure/ (checked 2026-11-16)
- AWS: Amazon RDS. https://aws.amazon.com/rds/ (checked 2026-11-16)
- AWS: Amazon EBS. https://aws.amazon.com/ebs/ (checked 2026-11-16)
- AWS Docs: What is AWS Lambda?. https://docs.aws.amazon.com/lambda/latest/dg/welcome.html (checked 2026-11-16)
- Google Cloud: Pricing. https://cloud.google.com/pricing (checked 2026-11-16)
- Google Cloud: Free Tier and free trial. https://cloud.google.com/free/docs/free-cloud-features (checked 2026-11-16)
- Google Cloud: VM instance pricing. https://cloud.google.com/compute/vm-instance-pricing (checked 2026-11-16)
- Google Cloud: Network pricing. https://cloud.google.com/vpc/network-pricing (checked 2026-11-16)
- Google Cloud: Locations. https://cloud.google.com/about/locations (checked 2026-11-16)
- Google Cloud Docs: Cloud SQL overview. https://cloud.google.com/sql/docs/introduction (checked 2026-11-16)
- Google Cloud Docs: Disks. https://cloud.google.com/compute/docs/disks (checked 2026-11-16)
- Google Cloud Docs: Cloud Run instance autoscaling. https://cloud.google.com/run/docs/about-instance-autoscaling (checked 2026-11-16)
- Vercel: Environments. https://vercel.com/docs/deployments/environments (checked 2026-11-16)
- Vercel: Flat Rate CDN. https://vercel.com/docs/pricing/flat-rate-cdn (checked 2026-11-16)
- Netlify Docs: Deploy Previews. https://docs.netlify.com/deploy/deploy-types/deploy-previews/ (checked 2026-11-16)
- Fly.io Docs: Create an app with fly launch. https://docs.fly.io/launch/create (checked 2026-11-16)
- AWS: Lambda pricing. https://aws.amazon.com/lambda/pricing/ (checked 2026-11-16)
Your next deploy
goes everywhere.
Connect a provider, point a service at it, and ship. Add the second provider when you're ready.
No card needed · Free tier · Pay as you go after that