If we are using our own inference and our own depl...
# ask-ai
m
If we are using our own inference and our own deployment for the worker in the ship plan, what concurrency limits will apply to us.
t
Thanks for reaching out, Harshita. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're asking which concurrency limits apply if you run your own inference and self-host your agent workers on the Ship plan. Short answer: • LiveKit's concurrency limits for hosted agents/inference do NOT apply to your self-hosted workers. Your concurrency is determined by your own infrastructure (number of worker instances, CPU/RAM, network, and how you scale/load-balance). • LiveKit Cloud limits that still apply are for media transport: Ship includes 1,000 concurrent WebRTC connections (agents + participants) and the monthly WebRTC participant minutes and other metered usage as specified on the plan. What you can do next (practical steps): • Size workers based on expected workload (model CPU/GPU needs, VAD/processing overhead). • Scale horizontally (run more worker processes/instances) and use LiveKit’s dispatch to balance jobs. • Monitor CPU, memory, and job latency and autoscale when queue/job depth rises. If you want, tell me: • an estimated per-session CPU/RAM need or the model you’ll run, and expected concurrent sessions — I can suggest a starting workers/instance sizing and autoscale strategy. Sources: LiveKit Pricing | Quotas and limits | LiveKit docs | Deploying to custom environments | LiveKit Docs | Agents Framework | livekit/livekit_composite | DeepWiki
m
what happens if egress is still in livekit cloud.
t
You're asking what changes if you self‑host inference/agent workers but keep egress (recording/streaming) in LiveKit Cloud. Short answer and key points: • Billing & limits for egress: LiveKit Cloud will bill and enforce egress usage and time limits (e.g., file/HLS/RTMP duration caps). Egress is metered under your Ship plan. • Egress concurrency: Egress requests are subject to LiveKit Cloud concurrency limits (Ship plan default: 100 simultaneous egress sessions). If you hit the limit, new egress jobs will be rejected or fail with a limit status. • Media transport limits still apply: LiveKit Cloud limits on concurrent WebRTC connections (Ship: 1,000 total participants+agents) and included participant minutes still govern media transport even with self‑hosted workers. • Self‑hosted inference not throttled by LiveKit: Your model concurrency is controlled by your own infrastructure (instances, CPU/GPU, memory, autoscaling). LiveKit does not impose inference concurrency limits on your self‑hosted workers. • Agent session limits: Concurrent agent sessions and dispatch behavior from LiveKit still follow your plan’s agent/session caps (Ship plan session limits apply). Operational suggestions: • Plan egress capacity and monitor egress jobs to avoid hitting the 100 concurrent egress limit. • Size and autoscale your worker fleet for inference separately (CPU/GPU, memory, per‑session workload). • Use multiple workers for redundancy; LiveKit will dispatch jobs to connected workers. If you want, tell me: • expected concurrent recordings/streams and per‑session egress type (file, HLS, RTMP) and I’ll suggest sizing or strategies to avoid hitting egress concurrency/time limits. Sources: LiveKit Pricing | LiveKit Cloud billing | LiveKit docs | Quotas and limits | LiveKit docs | Composite and web recordings | LiveKit docs | Egress output types | LiveKit docs