explain each point with example ResourceDefinition...
# ask-ai
c
explain each point with example ResourceDefinitionFree quotaAgent session minutesActive time that an agent deployed to LiveKit Cloud is connected to a WebRTC or Telephony session.1,000 minutesSIP participant minutesTime that a single caller is connected to LiveKit Cloud via SIP.1,000 minutesWebRTC participant minutesTime that a single user is connected to LiveKit Cloud via a LiveKit SDK.5,000Downstream data transfer GBThe total data transferred out of LiveKit Cloud during a session, including media tracks and data packets.50 GBTranscode minutesTime spent transcoding an incoming stream with the Ingress service or a composite stream with the Egress service.60 minutesTrack egress minutesTime spent transcoding a single track with the Egress service.60 minutes Quotas The free quota offered on the Build plan is shared across all of a user's projects. Creating additional projects does not increase the total available quota. After you exceed the free quota, requests fail until the quota resets. Quotas reset monthly. Quotas for paid plans are applied per project. After you exceed the included quota, your project is billed incrementally based on resource usage according to the pricing on your plan. For current quotas and pricing, refer to the latest pricing page . Concurrency limits LiveKit Cloud places concurrency limits on a number of realtime services to ensure the stability of the network and to prevent abuse. This is similar to HTTP rate limiting, but for a continuous service with long-lived connections. When these limits are reached, new connections of the same type fail. The following table shows the limited connection types, and the default limits on the Build plan. TypeDefinitionFree limitAgent sessionActively connected agent sessions running on LiveKit Cloud.5 sessionsParticipantTotal number of connected agents and end-users across all rooms.100 participantsIngress requestAn active session of the Ingress service transcoding an incoming stream.2 requestsEgress requestAn active session of the Egress service recording a composite stream or single track.2 requests Agent cold starts Projects on the Build plan might have their deployed agents shut down after all active sessions end. The agent automatically starts again when a new session begins. This can cause up to 10-20s of delay before the agent joins the room. You can view the current concurrency limits on your project at any time in the LiveKit Cloud dashboard by navigating to Settings and selecting the Project tab. For concurrency limits on paid plans, refer to the latest pricing . Requesting increases Customers on the Scale plan can request an increase for specific limits in their project settings . Custom plans LiveKit can work with you to ensure your project has the capacity it needs. Contact the sales team with your project details. Egress time limits The LiveKit Cloud Egress service has time limits, which vary based on the output type. The following table shows the default limits for all plan types. Egress outputTime limitFile output (MP4, OGG, WebM)3 hoursHLS segments12 hoursHLS/RTMP streaming12 hoursRaw single stream (track)12 hours When these time limits are reached, any in-progress egress automatically ends with the status
LIMIT_REACHED
. You can listen for this status change using the
egress_ended
webhook. Media subscription limits Each active participant can only subscribe to a limited number of individual media tracks at once. The following table shows the default limits for all plan types. Track typeLimitVideo100Audio100 For high volume video use cases, consider using pagination and selective subscriptions to keep the number of subscriptions within these limits. API request rate limits All projects have a 1000 requests per minute rate limit on API requests. The limit only applies to Server API requests (for example,
RoomService
or
EgressService
API requests) and doesn't apply to SDK methods like joining a room or sending data packets. LiveKit doesn't anticipate any project exceeding this rate limit. However, you can reach out to support to request an increase. Include the Project URL in your email. You can find your project URL in the LiveKit Cloud dashboard in your Project Settings page. On this page Overview Metered resources Quotas Concurrency limits Requesting increases Custom plans Egress time limits Media subscription limits API request rate limits Previous Enhanced noise cancellationUp Next
t
Thanks for reaching out, rajesh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Let me walk you through LiveKit's quotas, concurrency limits, and metered resources with some easy-to-understand examples: Metered Resources Metered resources are all about usage and directly affect your billing. Here are some examples: • WebRTC participant minutes: This counts the time a user is connected using the LiveKit SDK. For instance, a 30-minute group call with 4 people adds up to 120 participant minutes (4 × 30). • Downstream data transfer GB: This is the total data sent out from LiveKit Cloud. Say you stream a video to 10 viewers and it uses 500 MB of data—that’s 0.5 GB of downstream transfer. • Transcode minutes: This measures the time spent transcoding streams through Ingress or Egress services. For example, recording a 15-minute meeting with Egress uses 15 transcode minutes. • Agent session minutes: This is the active time an AI agent is connected to a session. So, if a customer support bot runs for 20 minutes, that’s 20 agent session minutes. Once you go beyond the free quota, projects on paid plans will be billed based on usage, while Build plan projects will see requests fail until the quota resets each month. Concurrency Limits Concurrency limits set the maximum number of simultaneous connections or active services. Here’s what that looks like: • Participants: On the Build plan, you can have up to 100 total connected users and agents per project. • Agent sessions: You can have up to 5 active agent sessions at the same time on the Build plan. • Ingress/Egress requests: The Build plan allows 2 active Ingress (input streaming) and 2 active Egress (recording/streaming) sessions simultaneously. If you’re on the Scale plan, these limits are higher, and you can request even more capacity right from the dashboard. Egress Time Limits There are maximum durations for Egress jobs to keep in mind: • File output (MP4, OGG, WebM): Up to 3 hours • HLS segments, HLS/RTMP streaming, raw track output: Up to 12 hours When these limits are hit, Egress ends with a
LIMIT_REACHED
status, which you can track using webhooks. Media Subscription Limits Each participant can subscribe to a maximum of: • 100 video tracks • 100 audio tracks If you’re building a large-scale video app, it’s a good idea to use selective subscriptions or pagination to stay within these limits. API Request Rate Limits Every project has a rate limit of 1,000 API requests per minute for Server APIs. This doesn’t include client SDK actions like joining rooms or sending data. If you need more, you can always reach out to support to request higher limits. For more details, feel free to check out the pricing page or your LiveKit Cloud dashboard anytime. Sources: Quotas and limits | LiveKit Docs | Billing | LiveKit Docs | LiveKit Pricing | delay-handling/raw_data.txt | examples/voice_agents/llamaindex-rag/data/raw_data.txt