This message was deleted.
# ask-ai
s
This message was deleted.
✅ 1
t
Thanks for reaching out, Natan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding to your pricing and architecture questions for a 1→10,000 live broadcast (60 min) with receive-only viewers. Short answers first • Yes — billing is primarily WebRTC participant minutes + downstream data transfer. • Yes — 10,000 viewers × 60 minutes = 600,000 WebRTC minutes. • For bandwidth, use ~1.2–1.7 Mbps per viewer for 720p (codec-dependent) and ~3.5–4.5 Mbps per viewer for 1080p as planning ranges. • A single room at 10,000 viewers is supported by LiveKit Cloud scale plans; very large single-room concurrency typically uses Scale/Enterprise-level limits rather than the default small-account caps. • Most cost-efficient pattern: publisher via WebRTC + LiveKit’s global WebRTC delivery (edge CDN) — you generally do not need to offload to external HLS/CDN unless you accept higher latency. • Recommendation for best tradeoff: use simulcast/adaptive layers, enable VP9 where clients support it, and enable livestream mode to reduce signaling overhead. Detailed breakdown and quick cost model 1) Billing components • You’ll be billed for WebRTC participant minutes (connected viewer time) and downstream data transfer (GB out). Other billed items (recording, telephony) are N/A here. 2) WebRTC minutes • Model as 600,000 WebRTC minutes (10,000 viewers × 60 minutes). 3) Downstream bandwidth assumptions (use these planning averages) • 720p: plan 1.2–1.7 Mbps per viewer (use 1.7 Mbps for conservative calc with H.264; 1.2 Mbps if VP9 is used). • 1080p: plan 3.5–4.5 Mbps per viewer. • Example (720p, conservative 1.7 Mbps): ◦ Total bits = 1.7 Mbps × 10,000 × 3,600s = 61,200,000 Mb = ~7.65 TB. ◦ Use your bandwidth unit costs to estimate dollar spend (pricing tiers/inclusions on Scale plan will affect final cost). 4) Concurrency / pricing tier • 10,000 concurrent receive-only viewers is a large single-room scenario that aligns with Scale / higher-tier plans. Scale plan inclusions and overages apply; for sustained or predictable high volume, a custom volume arrangement (enterprise) can reduce unit costs. 5) Architecture and cost-efficiency options • Best low-latency + cost approach: ◦ Keep the publisher on WebRTC. ◦ Deliver to viewers directly via LiveKit’s global WebRTC edge network (no extra CDN) — this preserves sub-second latency and is cost-competitive. ◦ Use simulcast or SVC so viewers only receive the layer matching their bandwidth/viewport. ◦ Enable VP9 where supported to reduce downstream bandwidth by ~15–30%. ◦ Use livestream mode to minimize unnecessary participant events for passive viewers. • When to use HLS/CDN instead: ◦ Use HLS only if you can accept higher latency (seconds) and want to leverage very-large-scale HTTP caching or ultra-cheap bandwidth billing from a CDN for multi-hundred-thousand viewers. That trades off interactivity and ultra-low latency. 6) Practical recommendations to reduce cost while keeping low latency • Prioritize simulcast/SVC + subscriber selection (deliver lower layers to smaller viewports). • Prefer VP9 for viewers/browsers that support it. • Avoid sending full-resolution streams to hidden/off-screen participants. • Use livestream mode to reduce signaling. • If you expect frequent peaks or predictable sustained usage, discuss volume pricing (Scale vs. Enterprise) to get bandwidth or WebRTC-minute discounts. If you’d like, I can: • Run a precise cost estimate using your preferred codec (H.264 vs VP9) and your bandwidth pricing per GB, or • Show the exact per-GB and per-minute plan inclusions and overage math for the Scale plan vs potential Enterprise options. Which would you prefer: a quick cost table using H.264 conservative bitrates or an estimate assuming VP9? Sources: Pricing | LiveKit | Pricing | LiveKit | A tale of two protocols: comparing WebRTC against HLS for live streaming | ... | WebRTC Video Bitrate Guide | LiveKit | Configuring the Client SDK for Optimal Video Quality, with interactive elements
b
so how much would this cost?
t
Thanks — I’ll give a clear cost estimate for your 1 publisher → 10,000 viewers, 60‑minute live stream. Summary (quick totals) • WebRTC minutes: 600,000 minutes • Connection cost (estimate): 10,000 × 60 × $0.0005 = $300 • Downstream bandwidth (conservative per‑viewer bitrate assumptions): ◦ 720p (H.264 conservative): 1.7 Mbps → ~7.65 TB → ~7,840 GB ◦ 720p (VP9, ~25% savings): ~5.74 TB → ~5,875 GB ◦ 1080p (conservative): 4.0 Mbps → ~18 TB → ~18,432 GB • Bandwidth cost example at $0.12/GB: ◦ 720p H.264: 7,840 GB × $0.12 ≈ $940 ◦ 720p VP9: 5,875 GB × $0.12 ≈ $705 ◦ 1080p H.264: 18,432 GB × $0.12 ≈ $2,212 Estimated total (bandwidth + connection) • 720p H.264: ~$940 + $300 = ~$1,240 • 720p VP9: ~$705 + $300 = ~$1,005 • 1080p H.264: ~$2,212 + $300 = ~$2,512 Plan inclusions and impact • Scale plan includes 3 TB bandwidth and 1.5M connection minutes; your 7.65 TB (720p H.264) exceeds 3 TB, so overage bandwidth pricing applies to the excess. The monthly plan fee ($500) should be added if you choose that tier; I did not include it above. Best-practice recommendations to reduce cost • Use VP9 (where supported) to cut bandwidth ~15–30%. • Enable simulcast/SVC so viewers receive only needed layers. • Use livestream mode to reduce signaling overhead. • Avoid sending full-resolution to hidden/offscreen participants. If you want, I can: • Recalculate using your exact per-GB rate (if different from $0.12), or • Provide a breakdown that includes the Scale plan monthly fee and exact overage math. Which option should I use to refine the estimate: keep $0.12/GB, use your CDN rate, or include the Scale plan fee? Sources: Towards a future-aligned pricing model | LiveKit | Understanding and Estimating Pricing for Video Conference and Livestream Us... | A tale of two protocols: comparing WebRTC against HLS for live streaming | ..., with interactive elements
b
the oen that gives me cheapeats
t
Got it — cheapest estimate and concrete steps to minimize cost. Cheapest estimated cost (1 publisher, 10,000 viewers, 60 min) • WebRTC minutes: 600,000 → connection cost ≈ $300 (10,000 × 60 × $0.0005). • Bandwidth (lowest-cost codec assumptions): ◦ AV1: assume ~40% lower bitrate vs H.264. If H.264 720p ≈1.7 Mbps, AV1 ≈1.02 Mbps. ◦ Total AV1 bandwidth ≈ 4.59 TB ≈ 4,700 GB. ◦ Bandwidth cost at $0.12/GB ≈ 4,700 × $0.12 = $564. • Estimated total cheapest cost ≈ $564 + $300 = $864. If VP9 is your best supported option (still cheaper than H.264) • VP9 estimate: ~25% savings vs H.264 → ~5.75 TB (~5,875 GB) → bandwidth ≈ $705. • Total with VP9 ≈ $705 + $300 = $1,005. Notes and actions to reach these cheapest numbers • Use AV1 where clients support it (best bandwidth savings). Fallback to VP9 where AV1 not available. • Enable simulcast/SVC so viewers only receive appropriate layers. • Use livestream mode to cut signaling overhead for passive viewers. • Prevent sending full-res to hidden/offscreen participants. • Choose Scale plan + volume discounts if you expect frequent large events (can lower $/GB below $0.12). Do you want me to: • Recompute using a different per‑GB rate (if you have one), or • Include the Scale plan monthly fee in the total?, with interactive elements