Unit Cost Models // DialStack Metrics
LiveKit Server + SIP Bridge: Memory Footprint & Network Tuning
LiveKit Server + livekit-sip + Valkey fits comfortably under 1.2 GB RAM for 35 concurrent calls when run with host networking.
Measured Unit Economics & Telemetry
Running Docker bridge NAT for thousands of ephemeral UDP RTP ports triggers conntrack overhead and random one-way audio bugs. Using network_mode: host on a dedicated Vultr KVM keeps latency deterministic and RAM flat.
| Cost / Latency Line | Audited Value | FinOps Impact |
|---|---|---|
| Valkey / Redis State Store | 45 - 120 MB RSS | Room & SIP participant metadata |
| LiveKit Server Base + 35 Calls | 420 - 650 MB RSS | Go SFU media router |
| livekit-sip Sidecar (35 Calls) | 280 - 460 MB RSS | SIP INVITE + RTP/WebRTC bridge |
| Kernel Conntrack Overhead | Zero with host network | Avoids Docker userland proxy |
Implementation & Configuration Checklist
- Use network_mode: host: Bind LiveKit and livekit-sip directly to the Vultr public interface for clean SDP ICE candidates.
- Replace Redis with Valkey 8: Pin valkey/valkey:8-alpine at 256m mem_limit for lightweight room signaling.
- Pin RTP Port Range: Restrict livekit-sip RTP media ports to 10000-20000/udp matching Vultr firewall rules.
sip:
sip_port: 5060
rtp_port_range: 10000-20000
use_external_ip: true
redis:
address: 127.0.0.1:6379
FinOps Engineering FAQ
Can LiveKit SIP handle both inbound and outbound dialing?
Yes. Inbound trunks map DIDs to dispatch rules, while CreateSIPParticipant initiates outbound calls via API.
Why not run Kubernetes for 50k minutes/month?
A single Vultr HF Docker Compose host handles up to 150 concurrent calls with zero control-plane tax.