Mux vs Cloudflare Stream in 2026: Video API, HLS & TCO
Engineering and 36-month TCO teardown of Mux vs Cloudflare Stream in 2026 alongside Bunny Stream and AWS IVS: per-minute vs GB billing, LL-HLS ingest, Mux Data QoE, Cloudflare R2 zero-egress CMAF, and owned media math.

On this page

Most teams that scale short-form feeds, paid courses, or telehealth video end up weighing Mux vs Cloudflare Stream. The question changes with who asks it. Mobile leads compare Cloudflare Stream vs Mux on SDK ergonomics, finance models Bunny Stream vs Mux on bandwidth margin, and live-broadcast engineers look at AWS IVS vs Mux on glass-to-glass latency.
Our guides on how to build a live streaming app and LiveKit vs Agora cover sub-second WebRTC SFUs. This one covers VOD and Low-Latency HLS media APIs at scale, where the billing model matters more than the SDK. Per-minute billing is cheap at 200,000 views. Once a feed crosses 15,000,000 delivered HD minutes a month (540M minutes over 36 months) on top of 250,000 stored minutes, $1.00 per 1,000 delivered minutes adds up to $540,000 in delivery fees over three years.
At Idealogic, our mobile app development, React Native app development, iOS app development, SaaS development, and custom software development teams ship Mux, Cloudflare Stream, Bunny Stream, AWS IVS, and owned CMAF pipelines across social and creator economy, education, and healthtech. The rest of this article is list pricing for each vendor, an owned-pipeline design with a tenant-isolated PostgreSQL 17 ledger and edge-signed HLS, and a 36-month TCO model at 15M monthly HD minutes.
The short version
- Mux is the pick for 4K, DRM, LL-HLS and player analytics. Mux pricing starts with free Basic VOD encoding and 100k free delivery minutes a month. After that, storage is $0.0024/min at 720p ($0.003 at 1080p) and delivery is $0.0008/min at 720p ($0.001 at 1080p list, volume discounts negotiable). DRM is a paid add-on, and Mux Data handles QoE telemetry.
- Cloudflare Stream is the simpler bill at 1080p. Cloudflare Stream pricing is two meters, $5.00 per 1,000 stored minutes and $1.00 per 1,000 delivered minutes, with encoding and egress included. You give up 4K ladders, AV1/HEVC tuning, and studio DRM.
- Bunny Stream vs Mux and AWS IVS vs Mux come down to workload. Bunny Stream bills per GB (storage from $0.01/GB, CDN $0.01/GB in EU and NA on the Standard network) and suits VOD. Amazon IVS is built for live: WHIP/WebRTC stages plus LL-HLS.
- Per-minute billing costs about 5x raw CDN delivery. One HD minute at 2.4 Mbps is about 18 MB. Cloudflare Stream charges $0.001 to deliver it, and the same bytes cost about $0.00018 at $0.01/GB. At 15M HD minutes (about 270 TB a month) that's $15,000/mo on minute billing versus $0 egress on Cloudflare R2.
- At 15M HD mins/mo, owned CMAF on R2 saves 79.7% to 80.7% ($482.7k to $512.7k). Over 36 months our model puts an owned FFmpeg/MediaConvert CMAF + Cloudflare R2 pipeline at $123,000, against $151,500 for Bunny Stream + S3, $605,700 for Cloudflare Stream, and about $635,700 for Mux Video + Data.
2026 architecture & pricing internals: Mux vs Cloudflare Stream, Bunny Stream & AWS IVS
Video APIs differ on three things: whether they meter duration (minutes) or bytes (gigabytes), how they encode adaptive bitrate (ABR) ladders, and whether your HLS segments sit in storage you control.
1. Mux pricing and features (Mux Video, Mux Data, Mux Player): just-in-time ABR, LL-HLS & studio DRM
Mux is an API-first video platform that bills per minute of video stored and delivered. Mux pricing has more meters than Cloudflare's, and in return you get more control over quality and far better player analytics.
- Quality tiers and per-minute meters. Under Mux video quality levels, on-demand uploads on
basicpay nothing for encoding.pluscosts $0.03125 per input minute at 1080p and is required for live streams and per-title bitrate tuning. Storage starts at $0.0024/min/mo at 720p ($0.003 at 1080p), and Cold Storage cuts that by up to 60% on assets nobody watches. Delivery includes 100k free minutes a month, then costs $0.0008/min at 720p and $0.001/min at 1080p on the list price, with 4K at 4x the 1080p rate. Volume discounts are negotiable. - LL-HLS live ingest and VOD clipping. Mux ingests RTMPS and SRT and delivers low-latency live streams built on HLS (IETF RFC 8216) with Apple's Low-Latency HLS extension. Mux documents glass-to-glass latency as low as about 5 seconds in that mode. Partial CMAF segments go to the live edge and to a VOD replay asset at the same time, so clips are available right away.
- Mux Data QoE and content protection. Mux Data tracks startup time, rebuffer ratio, and bitrate switches. Its free tier covers 100k views a month, and the Media plan is $499/mo with 1M views included. Signed playback uses RS256 JWTs (a
kidheader plussub,audandexpclaims). Widevine + FairPlay DRM is an add-on at $100/mo + $0.003/play.
2. Cloudflare Stream pricing and limits: bundled minute economics, TUS uploads & WHIP/WHEP
Cloudflare Stream is a managed service that stores, encodes and delivers video on Cloudflare's network. Cloudflare Stream pricing is two meters: $5 per 1,000 stored minutes and $1 per 1,000 delivered minutes. Teams comparing Cloudflare Stream vs Mux usually pick it for that predictability.
- Two flat meters, no encoding fee, no bitrate penalty. Cloudflare bills stored minutes on the original source duration, never multiplied across ABR rungs, and charges nothing for ingress or transcoding. An 8 Mbps 1080p60 clip costs the same $0.001 per delivered minute as a 600 kbps stream.
- Resumable uploads and WebRTC live. Mobile clients push bytes straight to the edge via direct creator uploads over the TUS resumable upload protocol. Live inputs accept RTMPS, SRT, and WebRTC WHIP (IETF RFC 9725) with WHEP playback. WebRTC delivery has been billed at the same $1 per 1,000 minutes since 2026-10-15. Playback is protected with RSA-signed URLs and tokens.
- What you give up. Output caps at 1080p H.264, so there's no 4K and no custom AV1/HEVC ladder. There's no Widevine/FairPlay DRM either, and analytics are aggregate numbers in the dashboard and GraphQL API, not per-session QoE.
LL-HLS on Cloudflare Stream is still in beta. You opt in per live input with
preferLowLatency. Test it on your own players before you commit to a latency target.
3. Bunny Stream & AWS IVS vs owned CMAF HLS on Cloudflare R2 with zero egress
- Bunny Stream vs Mux (GB-metered VOD). Bunny Stream is a per-GB video host that runs on Bunny's CDN. Bunny Stream pricing is free standard H.264 encoding, storage from $0.01/GB/mo per region, and CDN delivery at $0.01/GB in EU and NA on the Standard network (from $0.005 on the Volume network) or $0.03 to $0.06/GB elsewhere. Playback is protected with token auth.
- AWS IVS vs Mux (interactive live). Amazon IVS is AWS's managed live video service, and AWS IVS pricing has two halves. Low-Latency channels cost $2.00/hr for Standard input plus viewer output hours priced by resolution and region, with typical latency under 3 seconds. Real-Time stages run under 300 ms and start at $0.072 per participant-hour in NA. IVS is strong for live shopping, but a VOD catalog still needs S3 + CloudFront.
- Owned CMAF HLS + Cloudflare R2. You package fragmented MP4 (CMAF) HLS ladders (AV1/HEVC/H.264) with FFmpeg on Graviton4/NVENC or AWS Elemental MediaConvert and store them in Cloudflare R2 at $0.015/GB-mo with no egress fee. That removes the per-minute charge and the vendor lock-in. You also take on running the pipeline, which the TCO model below prices in as ops hours.
These are list prices. Mux says volume discounts are negotiable, so get a quote before you treat any per-minute figure here as final.
Owned video pipeline design: tenant-isolated asset ledger and path-scoped HLS tokens
An owned media pipeline (see system integration and mobile app development) rests on two rules:
- Tenant isolation lives in the database. Course libraries, paid creator unlocks, and telehealth recordings need tenant boundaries that PostgreSQL 17 enforces before the app mints any playback token.
- Sign the path, not every segment. If you append a user JWT query string to every .m4s segment URL, each viewer requests a unique URL and the CDN cache hit ratio collapses (unless the cache key ignores the token). Put a short-lived HMAC token inside the URL prefix instead. Child playlists and segments are referenced by relative paths, so they inherit that prefix and every viewer shares the same cached bytes in R2 and the CDN.
The edge check is the part that differs from vendor-hosted playback. The Worker parses the signed prefix from the path, rejects expired links, and signs the tenant asset scope plus the expiry with HMAC-SHA256, using a constant-time comparison. It then maps the request to the same R2 key for every viewer, so CMAF segments stay cached.
Because the master playlist points to relative child playlists, native iOS AVPlayer, Android Media3 ExoPlayer, and hls.js on the web resolve every segment under the signed prefix on their own. The Worker then serves the shared object from the R2 cache.
Mux vs Cloudflare Stream cost: worked 36-month video TCO at 15M delivered HD mins/mo
Take a growing creator, fitness, EdTech, or telehealth product over 36 months. It delivers 15,000,000 HD (1080p adaptive) minutes a month, which is 540,000,000 minutes over the period and about 270 TB a month of HTTP segment egress at a 2.4 Mbps average. The library holds 250,000 stored minutes and grows by 25,000 uploaded minutes a month, with signed playback and QoE telemetry.
Engineering labor uses Idealogic's $75/hr senior CEE rate against a $165/hr US agency rate (2.2x). Both are anchored in the 2025 EU whole-economy hourly labour cost benchmark (lc_lci_lev, EUR 34.9) and O*NET / BLS OEWS wage data for Software Developers (15-1252.00), and match our React Native app development cost guide:
- Option A: Mux Video + Mux Data (15M HD mins/mo + 250k stored mins):
- Initial setup (60 hrs @ $75/hr CEE = $4,500; vs $165/hr US = $9,900): Direct upload URLs, RS256 JWT signing, webhooks, Mux Player, and Mux Data SDKs for web, iOS and Android players.
- 36-month usage ($17,158.50/mo x 36 = $617,706): 250k stored 1080p mins at $0.003/min ($750/mo), 14.9M billable HD delivery mins after the 100k free at the $0.001/min list price ($14,900/mo), 15k Basic UGC mins ($0) plus 10k Plus/live mins at $0.03125/min ($312.50/mo), Custom Domain ($100/mo), and a Mux Data budget of $1,096/mo. That last line is our assumption: the $499 Media plan plus $0.50 per 1,000 views above 1M, at roughly 2.2M views a month. Add 5 hrs/mo (180 hrs) of ops ($13,500 CEE / $29,700 US) and the total is $635,706 ($657,306 US).
- Option B: Cloudflare Stream (15M delivered mins/mo + 250k stored mins):
- Initial setup (60 hrs @ $75/hr CEE = $4,500; vs $165/hr US = $9,900): TUS resumable mobile uploads, signed playback tokens, webhooks, and native AVPlayer/ExoPlayer integration.
- 36-month usage ($16,250/mo x 36 = $585,000): 250 storage blocks (@ $5.00/1k mins = $1,250/mo) + 15,000 delivery blocks (@ $1.00/1k mins = $15,000/mo) + $0 encoding, plus 6 hrs/mo (216 hrs) ops ($16,200 CEE / $35,640 US) = $605,700 ($630,540 US).
- Option C: Bunny Stream + S3 Master Archive (270 TB/mo global CDN + 9.5 TB 3-region edge):
- Initial setup (100 hrs @ $75/hr CEE = $7,500; vs $165/hr US = $16,500): S3 source archive sync, Bunny Stream API ingest, token auth, and custom player telemetry.
- 36-month usage ($3,400/mo x 36 = $122,400): 270,000 GB of CDN egress at $0.01/GB, the Standard-network rate for EU and NA ($2,700/mo; traffic to Asia, South America or MEA costs $0.03 to $0.06/GB, so treat this line as a floor), 9.5 TB 3-region Bunny storage ($240/mo), and S3 Glacier/Standard master backup + webhook workers ($460/mo), plus 8 hrs/mo (288 hrs) ops ($21,600 CEE / $47,520 US) = $151,500 ($186,420 US).
- Option D: Owned FFmpeg/MediaConvert CMAF HLS + Cloudflare R2 Zero-Egress Pipeline built by Idealogic:
- Turnkey build (680 hrs @ $75/hr CEE = $51,000; vs $165/hr US = $112,200): Resumable multipart R2 uploads, autoscaling Graviton4/NVENC FFmpeg CMAF workers (AV1/HEVC/H.264), Cloudflare Worker HMAC manifest auth, PostgreSQL 17 FORCE RLS catalog + QoE beacon collector, and 60fps mobile viewport pre-fetchers.
- 36-month R2 + Graviton4 infra ($1,250/mo x 36 = $45,000): 12 TB multi-codec CMAF storage on Cloudflare R2 + Class A/B ops ($220/mo, with no egress fee on the 270 TB/mo), Cloudflare Business CDN & Workers ($300/mo, our assumption), and AWS Graviton4 Spot transcode fleet + Multi-AZ RDS PG17 + Redis ($730/mo), plus 10 hrs/mo (360 hrs) SRE ops ($27,000 CEE / $59,400 US) = $123,000 ($216,600 US).
Sensitivity check: sub-1M min/mo MVPs vs 3-month scale payback
- Early MVP (under 1,000,000 delivered mins/mo, a bill below $1,200/mo): Launch on Mux (100k free mins/mo and free Basic encoding) or Cloudflare Stream ($1 per 1k mins) so engineers can spend their time on retention and feed UX (see how to build a social media app). Owning the pipeline doesn't pay back at this size.
- High-volume scale (5M+ mins/mo): At 15M mins/mo, Option D's extra build cost ($46,500) divided by $15,533.50/mo of OpEx savings vs Mux ($17,533.50/mo vs $2,000/mo, ops included) pays back in 2.99 months. Against Cloudflare Stream it's 3.16 months ($46,500 / $14,700/mo), and against Bunny + S3 it's 21.75 months. Even at $165/hr US build and ops ($216,600), owning saves $413,940 to $440,706 over per-minute video clouds.
2026 video streaming & mobile media build costs (Senior CEE vs US)
Our React Native app development, iOS app development, and custom software development squads build video architectures at $75/hr senior CEE versus $165/hr US agency rates. For the non-video side of the budget, see social media app development cost.
Inside the worked 680-hour ($51,000 CEE vs $112,200 US) owned video pipeline
- 1. FFmpeg / MediaConvert CMAF Workers (30% / 204 hrs / $15,300 CEE vs $33,660 US): Autoscaling Graviton4/NVENC workers, closed-GOP 2.0s keyframe alignment across 360p to 4K (AV1/HEVC/H.264), WebVTT thumbnails, and BlurHash extraction.
- 2. Cloudflare R2 & Edge Manifest Auth (25% / 170 hrs / $12,750 CEE vs $28,050 US): Resumable multipart S3/R2 ingest, path-scoped Worker HMAC validation, tiered cache collapse, and zero-downtime dual-origin migration from Mux/Cloudflare Stream.
- 3. Mobile & Web 60fps Feed Player (20% / 136 hrs / $10,200 CEE vs $22,440 US): Recycled native AVPlayer (Apple HTTP Live Streaming) and Android ExoPlayer decoder pools, 4-second next-card segment pre-fetching, and hls.js web fallback.
- 4. PG17 FORCE RLS Catalog & QoE Beacons (15% / 102 hrs / $7,650 CEE vs $16,830 US): Tenant-isolated asset state machines, PPV entitlement checks (see creator monetization platforms), and time-to-first-frame / rebuffer analytics.
- 5. UGC Keyframe Moderation & Load QA (10% / 68 hrs / $5,100 CEE vs $11,220 US): Automated NSFW/DSA frame sampling (content moderation software), dead-letter transcode recovery, and 50,000-viewer CDN cache-hit k6 tests.
Mux and Cloudflare Stream are good accelerators while you're proving that users want to watch your feed. A convenient launch API isn't permanent unit economics, though. Once viewers stream fifteen million HD minutes a month, per-minute egress rent eats into your gross margin. Package standard CMAF segments on Cloudflare R2 behind edge-signed manifests and, in our model, video infrastructure costs drop by about eighty percent.
Mux vs Cloudflare Stream in practice: Idealogic case work & 5-step CTO checklist
Idealogic builds high-concurrency creator media, entitlement, and real-time mobile products that run in production:
- Paid video feeds & entitlements (creator monetization platform): Gated creator feeds, signed CDN unlocks, real-time chat (see Sendbird vs Stream), and escrow payout ledgers built for viral traffic bursts.
- Mobile media & live state sync (on-demand car service app): Native mobile UI, inspection media uploads over cellular networks, and real-time tracking on iOS and Android.
Five checks settle the stack. If you're researching Mux alternatives or Cloudflare Stream alternatives, the same checks tell you which one fits:
- Under 1M mins/mo and you need 4K, DRM, LL-HLS, or per-session QoE? Pick Mux (free Basic encoding plus Mux Data).
- Up to 2M mins/mo at 1080p or below, with no DRM requirement? Cloudflare Stream, at a flat $1 per 1k delivered minutes.
- Course or public VOD at 2M to 5M mins/mo, and you want low-ops GB billing? Bunny Stream.
- Interactive sub-300 ms live stages fanning out to crowds? Pair AWS IVS (or LiveKit) with LL-HLS.
- Past 5M delivered HD mins/mo? Run the numbers on an owned FFmpeg CMAF + Cloudflare R2 pipeline ($1,250/mo infra in our 15M model). Contact our team for a 48-hour TCO audit.

CTO and Co-founder at Idealogic. Directing engineering, systems architecture, security, and full-stack delivery across web, mobile, and blockchain.
Frequently asked questions
Choose Mux when you need 4K output, per-title encoding, Low-Latency HLS live streams, Widevine and FairPlay DRM, clip generation, and Mux Data Quality of Experience telemetry across web, iOS, and Android players. Choose Cloudflare Stream when you serve on-demand or live video at up to 1080p and want flat minute billing ($5 per 1,000 stored minutes and $1 per 1,000 delivered minutes) with no separate encoding fee.
Cloudflare Stream pricing is $5.00 per 1,000 stored minutes and $1.00 per 1,000 delivered minutes regardless of bitrate, so 250,000 stored minutes plus 15 million delivered minutes cost $16,250 per month. Mux pricing at list is free Basic VOD encoding, 100,000 free delivery minutes a month, $0.003 per minute of 1080p storage, and $0.001 per delivered 1080p minute, with volume discounts negotiable. In our model that lands near $17,160 per month once Plus live encoding, a custom domain, and a paid Mux Data plan are included.
Cloudflare Stream caps adaptive bitrate output at 1080p H.264. It has no 4K rungs, no custom AV1 or HEVC ladders, and no Widevine or FairPlay DRM. Its analytics are aggregate viewership numbers, not the per-session startup time and rebuffer percentiles that Mux Data reports. That makes Mux the stronger fit for premium fitness, EdTech, and paid creator memberships.
Teams comparing Bunny Stream vs Mux trade per-minute simplicity for raw gigabyte economics. Bunny Stream transcodes standard H.264 for free, stores video from $0.01 per GB per region, and delivers at $0.01 per GB in Europe and North America on its Standard network (from $0.005 on the Volume network, $0.03 to $0.06 in other regions). At 15 million HD minutes per month (about 270 TB of egress), Bunny Stream plus S3 master backups runs around $3,400 per month in our model, roughly 79 percent below per-minute video clouds.
Evaluate AWS IVS vs Mux when live broadcasts dominate your product and stored VOD is secondary. Amazon IVS delivers managed Low-Latency HLS with typical latency under 3 seconds, plus Real-Time WebRTC stages under 300 milliseconds. Low-latency channels bill per live input hour ($0.20 Basic to $2.00 Standard) plus viewer output hours priced by resolution and region. Real-Time stages start at $0.072 per participant hour in North America. Mux keeps live LL-HLS and VOD archival under one API.
If you append a unique user JWT query parameter to every .m4s or .ts media segment URL, CDN edge nodes treat each viewer request as a cache miss (unless the cache key ignores the token) and hammer your origin storage. Production pipelines validate an RS256 or Ed25519 JWT strictly at the edge worker when fetching the .m3u8 master playlist, then issue path-scoped HMAC token prefixes or signed cookies covering the asset directory so 50,000 viewers share cached CMAF segments safely.
Per-minute video APIs charge roughly 5x raw CDN delivery cost in exchange for running the pipeline for you. Cloudflare Stream bills $0.001 per delivered minute, while the same 18 MB of HD video costs about $0.00018 at $0.01 per GB. Transcoding uploads into fragmented MP4 CMAF HLS ladders (H.264, HEVC, and AV1) on autoscaling AWS Graviton4 or MediaConvert workers and storing segments in Cloudflare R2 ($0.015 per GB per month with no egress fees) drops monthly infrastructure for 15 million HD minutes from $16,250 or more to roughly $1,250 in our model.
Building a production owned video pipeline with TUS or S3 multipart direct uploads, FFmpeg and MediaConvert CMAF ABR workers, Cloudflare R2 storage, Edge Worker signed manifest tokens, PostgreSQL 17 FORCE RLS asset ledgers, and React Native plus web ABR players takes roughly 680 senior hours ($51,000 at $75 per hour in CEE versus $112,200 at $165 per hour in the US), paying back against Mux or Cloudflare Stream in about 3 months at 15 million monthly minutes.
More from the journal

Sendbird vs Stream in 2026: Chat SDKs, PCC & 36-Month TCO
Engineering and 36-month TCO teardown of Sendbird vs Stream in 2026 alongside CometChat, PubNub, and Ably: Peak Concurrent Connection cliffs, Go/RocksDB edge latency, Redis Streams plus PostgreSQL 17 chat ledgers, and owned messaging math.

PlanetScale vs Neon in 2026: Metal NVMe, CoW & PG17 TCO
Engineering and 36-month TCO teardown of PlanetScale for Postgres vs Neon (Databricks) and AWS Aurora I/O-Optimized in 2026: local NVMe Metal unlimited IOPS vs disaggregated Pageservers, CoW branching, Neki sharding preview, FORCE RLS on PG17, and 1.2 TB math.

Modal vs Baseten in 2026: Serverless GPU, vLLM & H100 TCO
Engineering and 36-month TCO teardown of Modal vs Baseten, Replicate (Cloudflare), and Together AI in 2026: per-second Python H100/B200 containers and GPU memory snapshots vs Truss TensorRT-LLM, KV-cache prefix routing, and 3,200 H100-hr/mo math.