i have a livekit voice agent. I now also want to s...
# ask-ai
h
i have a livekit voice agent. I now also want to support text messages and use the same logic. If I allow text message connections, do i still get billed by the minute for connectivity to the agent?
t
Thanks for reaching out, Nancy. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for reaching out! To better assist you, could you please let me know if the text message connections you’re mentioning are part of an ongoing voice session, or if they’re standalone interactions that start and keep a session going without any voice or video? Understanding this will help us figure out if agent session minute billing applies. I’m here to help, so feel free to share any details! Sources: Deploy and scale agents on LiveKit Cloud | Sending text | LiveKit Docs | LiveKit Pricing
h
users can swap between voice mode or text only mode.
t
Thank you for reaching out! I wanted to share that LiveKit bills agent session minutes at a steady rate, whether your users are chatting via voice or just text. So, as long as the session is active, the billing stays consistent, even if users switch between these modes. If you’re curious about enterprise plans or looking into custom pricing, taking a look at your usage metrics in the LiveKit Cloud dashboard can be really helpful. I’m here if you have any more questions or need further assistance! Sources: Deploy and scale agents on LiveKit Cloud | Text and transcriptions | LiveKit Docs | examples/other/text_only.py | LiveKit Pricing
h
actually, my agent.py is hosted in kubernetes in my own server, however we still use livekit server. How is this billed?
t
I understand that billing can sometimes feel a bit complex, so let me walk you through it. When your agent is hosted on your private Kubernetes server but connects to the LiveKit server, the billing is based on resource usage instead of just agent session minutes. Here are the main billing components to keep in mind: • Downstream data transfer from the LiveKit server to the agent: This is billed per GB. • Participant minutes: These are billed as either WebRTC or SIP participant minutes. • Downstream data transfer from the server to the participant: Also billed per GB. If you'd like to see the specific rates, you can check out the LiveKit pricing page. And of course, if you have any questions or need a bit more help understanding this, just let me know—I’m here to help! Sources: LiveKit Pricing | LiveKit Cloud billing | LiveKit Docs | Deploy and scale agents on LiveKit Cloud | Deploy to Kubernetes | LiveKit Docs
h
what does the livekit server do vs what does the agent.py do? For texting, will i still get billed participant minutes if i am hosting my own agent.py?
t
Hi there! Just to help clarify, the LiveKit server is responsible for managing rooms, participants, and real-time media routing. Your
agent.py
acts like a helpful worker that connects to this server to handle tasks such as joining a room as a programmatic participant. This way, your agent can interact smoothly with other participants in the room. Regarding billing, participant minutes are counted whenever your agent joins a room as a participant, even if it’s just for text interactions. This happens because participant minutes are billed based on WebRTC or SIP connections, no matter if you’re using voice, video, or text. If you’re working on a text-only agent, you can definitely configure it to disable audio and focus just on text. This is great because it reduces bandwidth and computational load. However, please keep in mind that participant minutes will still be billed as long as your agent is connected to the room. Please feel free to reach out if you’d like some help setting up a text-only agent or if you have any other questions—I’m here to support you! Sources: Worker lifecycle | LiveKit Docs | LiveKit Pricing | Text and transcriptions | LiveKit Docs | server/agent.py | README.md
h
can i host my own livekit server then?
t
Absolutely, you can definitely host your own LiveKit server! Both the LiveKit media server and the Agents framework are open source, so you have the flexibility to deploy them on your own infrastructure. This way, you gain more control and can customize things to fit your needs better than using LiveKit Cloud. We have great documentation that will walk you through the self-hosting process, whether you want to run LiveKit locally with Docker or set it up natively. Plus, services like Ingress, Egress, and the SIP server can also be part of your self-hosted setup. If you’d like any help along the way or have specific questions about your setup, please don’t hesitate to reach out—I’m here to support you! Sources: Intro to LiveKit | LiveKit Docs | Running LiveKit locally | LiveKit Docs | Self-hosting the Ingress Service | LiveKit Docs | Self-hosted SIP server | LiveKit Docs | LiveKit Pricing
h
sooo is livekit cloud hosting the agent too or just livekit server?
t
I'm happy to share that LiveKit Cloud takes care of both the LiveKit server and the agent infrastructure for you. This means your agents can be easily deployed and managed on LiveKit's global network, with automatic scaling and management to make things smoother for you. Of course, if you’d rather, you can also choose to self-host the agents on your own infrastructure while still using LiveKit Cloud for the server. Just let me know if you'd like me to walk you through more details on either option—I’m here to help! Sources: Deploying to production | LiveKit Docs | LiveKit Pricing | Intro to LiveKit | LiveKit Docs | README.md
h
when was livekit cloud launched and how does it compare the the cost of hosting my own agent.py?
t
Thanks for reaching out! While we don’t have an exact launch date for LiveKit Cloud just yet, I’m happy to share some helpful info on costs. LiveKit Cloud charges $0.01 per minute for each agent actively serving a user. This fee covers hosting on a global network, unlimited data transfer, plus access to observability and analytics features—all designed to make your experience smooth and reliable. On the other hand, if you choose to self-host your
agent.py
, you’ll have more flexibility, but it also means handling things like server management, traffic spikes, and maintaining observability systems yourself. LiveKit Cloud takes care of all that for you, offering enterprise-grade reliability (99.99% uptime) and global scalability without the extra manual work. If you’d like to dive deeper into cost optimization or want to chat about specific scenarios, just let me know—I’m here to help! Sources: Deploy and scale agents on LiveKit Cloud | LiveKit Cloud | LiveKit Docs
h
what is the diff between agent session mins vs webrtc participant mins
t
Thanks for reaching out! Let me help clarify the difference between agent session minutes and WebRTC participant minutes for you: • Agent session minutes: These refer to the time AI agents (like your
agent.py
) spend actively serving users in a session. Every minute the agent is connected, whether through WebRTC or SIP, counts toward this. The cost is $0.01 per minute, and your Build plan includes 1,000 minutes. • WebRTC participant minutes: These are for human users connecting via the LiveKit SDK using WebRTC. Your Build plan covers 5,000 minutes here, and if you go over, it’s billed at $0.0005 per minute. Both of these are tracked separately, and you can easily keep an eye on your usage through LiveKit’s analytics dashboard. If anything feels unclear or you want to dive deeper, just let me know—I’m here to help! Sources: Quotas and limits | LiveKit Docs | LiveKit Pricing | Understanding LiveKit Cloud Pricing