Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

LiveKit

The open-source WebRTC server behind modern voice AI - with the 10,000-port UDP problem collapsed to one.

1 GiB

1 service, 0 GB disk

$5/mo

flat resource

$0.013/h

Usage Billing

What is LiveKit?

LiveKit became the substrate of the voice AI wave: a single Apache-2.0 Go binary doing WebRTC rooms, tracks, and selective forwarding, with the Agents framework ecosystem on top. Self-hosting it historically meant a 10,000-port UDP range - hostile to any platform.

This template uses the config that fixes that: ALL media muxes over one UDP port (7882), with one TCP fallback (7881) and the websocket signal on :5000 behind the ordinary HTTPS ingress. Two custom public ports, same numbers inside and out, and WebRTC works.

Pair it with the livekit-agents template and you have a complete self-hosted voice-agent platform: this server moves the audio; the agent worker brings ElevenLabs, Deepgram, and your LLM gateway.

What you get

  • WebRTC rooms, tracks, SFU - the full LiveKit server
  • Single muxed UDP port instead of a 10,000-port range
  • Websocket signal behind normal HTTPS (:5000)
  • Config via one env var (LIVEKIT_CONFIG) - no file mounts
  • Apache-2.0; the same server LiveKit Cloud runs
  • Agents ecosystem: voice AI workers join rooms natively

How it runs on Lyngbak

ServiceRolePublic
livekitsignal :5000 (HTTPS ingress) + ICE 7881/tcp + media 7882/udpyes + two custom ports

Before you deploy

  • LIVEKIT_API_KEY / LIVEKIT_API_SECRET

    the key pair your apps mint access tokens with

Sizing and billing

Scaling is CPU and bandwidth, not RAM - one node carries small-production voice workloads comfortably. Redis enters only for multi-node.

Hobby resource$5/mo1 vCPU, 1 GiB, 10 GiB disk, shared CPU
Pro resource$25/mo1 vCPU, 2 GiB, 10 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.013/h0.5 vCPU, 1 GiB reserved. $9/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.047/h1 vCPU, 2 GiB reserved. $34/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. One workspace can use both. See pricing

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

How does WebRTC work on an HTTP-first platform?

Three ports, deliberately: the signal is a websocket on the normal HTTPS domain, and media rides ONE muxed UDP port (7882) with a TCP fallback (7881) - both exposed as custom public ports with matching numbers, since ICE advertises them. Clients on hostile networks fall back to TCP automatically.

Why self-host instead of LiveKit Cloud?

Cloud is excellent and usage-priced - the honest default for spiky workloads. Self-hosting wins for always-on voice agents (predictable cost), data locality (audio never transits a third party), and pairing with the in-project agent worker at LAN latency.

What do clients connect with?

Access tokens minted from your API key/secret by any LiveKit server SDK - one function call in your backend. The client SDKs (web, mobile, Unity) then connect to wss://your-domain and join rooms.

More in Voice & Realtime

LiveKit Agents

A voice AI agent worker - ElevenLabs voice, Deepgram ears, your LLM brain - joining rooms with zero ingress.

Open the template →
LiveKit: WebRTC server for voice AI and video | Lyngbak (formerly Miget)