Bunny.net vs Cloudflare Workers

Why Bunny?

What Does Bunny Offer?

Edge Scripts

AWS Lambda / Cloudflare Workers equivalent.

import * as BunnySDK from "https://esm.sh/@bunny.net/edgescript-sdk"

BunnySDK.net.http.serve(request => {
    return Response.redirect('https://example.com', 301)
})

Magic Containers

AWS Fargate / Cloudflare Containers equivalent.

*Anycast networking: a routing technique where the same IP address is advertised from multiple locations.

Bunny Database (Preview)

libSQL-powered — an open-source SQLite fork that adds:

And More

CDN, Fonts, DNS, Stream (video), Object Storage


Comparisons

Thanks to @AmpCode for the numbers on these comparisons.

Edge Scripts vs Cloudflare Workers

AspectBunny.net Edge ScriptingCloudflare Workers
RuntimeDeno (TypeScript/JS native)V8 isolates (custom runtime)
Pricing$0.20/million requests + $0.02/1000s CPU time$5/mo base + $0.30/million requests + $0.02/million CPU ms
Free TierNone ($1/mo minimum)100K requests/day, 10ms CPU/invocation
Edge Locations119 PoPs300+ PoPs
Latency~24ms global avg~25-30ms global avg
npm/WASMNative npm + WASM supportSupported (with bundling)
Vendor Lock-inLow (Deno is open source)Higher (proprietary runtime)
CPU LimitsNot explicitly capped per request30s default, 5 min max

TL;DR: Bunny is cheaper for high-volume workloads. Cloudflare's free tier is unbeatable for experimentation.

Magic Containers vs AWS Fargate

AspectBunny Magic ContainersAWS Fargate
ModelGlobal edge container deploymentRegional serverless containers
CPU Pricing$0.02/CPU-hour$0.04048/vCPU-hour (Linux x86)
Memory Pricing$0.005/GB-hour$0.004445/GB-hour
Storage$0.10/GB-month20GB free, then $0.000111/GB-hour
Regions41+ edge locationsAWS regions only
AI Auto-scalingYes (intelligent placement)Manual or App Auto Scaling
Anycast IP$2/monthNot included (ALB/NLB extra)
TCP/UDP SupportFull low-level networkingVia NLB (extra cost)
GPU SupportComing soonNot supported
MinimumPay-as-you-go1 min (Linux), 5 min (Windows)

Example Cost (1 vCPU, 2GB, 10 min/day for 30 days):

ServiceMonthly Cost
Magic Containers~$0.15
AWS Fargate~$1.23

TL;DR: Magic Containers is ~50% cheaper on CPU, includes global edge deployment and built-in anycast.

Bunny Database (libSQL) vs Cloudflare D1

AspectBunny Database (Preview)Cloudflare D1
EnginelibSQL (SQLite fork)SQLite
StatusOpen preview (coming soon)GA
DistributionGlobally distributed replicasPrimary + read replicas
PricingUsage-based (TBD)$0.001/M reads, $1.00/M writes, $0.75/GB storage
Free TierTBD5M reads/day, 100K writes/day, 5GB storage
FeaturesVector search, encryption, RBACTime Travel, read replication
IntegrationEdge Scripting, Magic ContainersWorkers, Pages
LatencyMillisecond reads globallyLow (with replicas)

TL;DR: No verdict yet — Bunny's DB is in closed beta with no public pricing.


What compelled me to write this?

I saw a post by @GergelyOrosz on Bluesky mentioning @BunnyCDN and searched for it on Hacker News, X & Bluesky. Everyone's experience is positive. So I spent the next 4 hours analyzing it.