Thanks — I’ll estimate an AI agent session where one participant has video enabled. I’ll break down the cost components, give a worked example, and ask one quick question so I can make it precise.
What affects cost for this scenario
• Agent session minutes: Charged at $0.01 per active agent minute.
• Connection minutes: Charged at $0.0005 per minute per charged participant (human and agent). In this session you have two charged participants (user + agent).
• Downstream bandwidth: Charged for data sent from LiveKit servers to participants at $0.12 per GB (starting rate). Only downstream is billed; upstream is not charged. Video increases downstream usage significantly.
• Transcoding minutes: Only if LiveKit transcodes the stream (e.g., composite recording, RTMP ingest). If you’re not transcoding, ignore this line.
Quick example estimate (assumptions)
• Session length: 30 minutes (tell me if you want a different length)
• Video participant outbound bitrate (server → other participant): assume 1 Mbps (typical for 720p). If you use a different bitrate, tell me and I’ll recalc.
• Audio bitrate: negligible relative to video; I’ll ignore it for bandwidth rounding.
Calculations
1. Agent session minutes: 30 min × $0.01 = $0.30
2. Connection minutes: 2 participants × 30 min × $0.0005 = $0.03
3. Downstream bandwidth:
◦ 1 Mbps = 1 megabit/sec = 0.125 megabytes/sec.
◦ Data per minute = 1 Mbps × 60 sec = 60 megabits = 7.5 MB.
◦ For 30 minutes = 7.5 MB × 30 = 225 MB ≈ 0.2197 GB.
◦ Bandwidth cost = 0.2197 GB × $0.12/GB ≈ $0.0264
Total estimated cost ≈ $0.30 + $0.03 + $0.026 = $0.356 ≈ $0.36 per 30-minute session
Notes and caveats
• If the agent also sends video (agent camera enabled), include its downstream similarly.
• If you use higher bitrates (e.g., 2–3 Mbps for 1080p) bandwidth cost will rise proportionally.
• If LiveKit performs transcoding or you record a composite, add the relevant transcoding minutes ($0.015–$0.02/min for video).
• Volume discounts may reduce per-minute and per-GB rates at scale.
Would you like me to:
• Recalculate with a different session length or a different video bitrate (e.g., 500 kbps, 1.5 Mbps, 3 Mbps)?
• Include transcoding/recording in the estimate?