Hi, Wanted to check if the below setup is achievab...
# ask-ai
w
Hi, Wanted to check if the below setup is achievable or not.
• In a android app just add the livekit SDK & use separate apis for Speech to text & text to speech?
t
Thanks for reaching out, Manoj. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely! You can definitely use the LiveKit SDK in an Android app alongside separate APIs for Speech-to-Text (STT) and Text-to-Speech (TTS). Usually, this setup involves server-side agents that are configured with custom STT and TTS plugins, while your Android app takes care of capturing and playing back audio. Here’s a simple rundown of how it all comes together: • Your Android app connects to a LiveKit room and sends audio from the microphone using the LiveKit SDK. • On the server side, agents process that audio using STT plugins to transcribe speech and TTS plugins to convert text back into speech. • Your app can then listen in on the processed audio coming from the agent. LiveKit works with lots of popular STT and TTS providers like OpenAI, Azure, Google Cloud, Deepgram, Whisper, ElevenLabs, and more. For instance, you might set up an agent to use OpenAI’s Realtime API for transcription and Google Cloud TTS for speech synthesis. If you’d like, I can help walk you through implementing the Android SDK part for audio capture and playback, or assist with setting up a specific STT/TTS plugin combo on your agent—just let me know what you need! Sources: An open source stack for real-time multimodal AI | Voice Assistants | livekit/livekit_composite | DeepWiki | Realtime model integrations | LiveKit Docs | OpenAI Realtime API integration guide | LiveKit Docs | Azure OpenAI Realtime API and LiveKit | LiveKit Docs
w
I want to know in this setup will there be any concurrency limits? I want thousands of users parallelly using the conversational agent and it should have MCP servers or tools connected to it which it should call according to individual user's input.
t
Hey there! Just to give you a quick overview, LiveKit does have some concurrency limits for AI agent sessions, and these depend on the pricing plan you’re on: • Build (free) plan: 5 concurrent agent sessions • Ship plan: 20 concurrent agent sessions • Scale plan: 50 concurrent agent sessions (and you can request more if needed!) • Enterprise/custom plan: Unlimited concurrency When lots of users are chatting with conversational agents via MCP servers, each user needs an active agent session. So, your plan’s concurrency limit basically sets how many users can chat at the same time. If you hit that limit, new sessions won’t start until some free up. If you’re looking at a big deployment, here are some friendly tips: 1. Consider upgrading to a Scale or Enterprise plan for more concurrency. 2. You can also request extra capacity right from your dashboard if you need it. 3. Make sure your servers have enough resources — like 4 CPU cores and 8GB memory per worker for voice AI apps. By the way, LiveKit’s infrastructure is pretty robust — it can handle up to 100,000 participants in a session and hundreds of thousands of new connections every second, so scaling up is definitely doable beyond the agent session limits. If you want, I’m here to help you with upgrading your plan or setting up your MCP server integration. Just let me know! Sources: Quotas and limits | LiveKit Docs | LiveKit Pricing | livekit-agents/livekit/agents/voice/agent_activity.py | agent.py | Deploying to custom environments | LiveKit Docs
w
What will be the approx. price of livekit if we have 1000 parallel sessions (1000 users talking to the agent at same time in their own sessions)
t
Running 1,000 parallel agent sessions on LiveKit costs depend on how long each session lasts, since pricing is based on agent session minutes at $0.01 per minute per agent. Here’s a quick example to give you an idea: • 1 minute per session: $10 (1,000 × 1 × $0.01) • 5 minutes per session: $50 (1,000 × 5 × $0.01) • 1 hour per session: $600 (1,000 × 60 × $0.01) To handle 1,000 concurrent sessions, you’d want at least the Scale plan ($500/month), which includes 50,000 agent minutes. If you go over that, additional minutes are just $0.01 each. And if you’re planning for consistently high volume, the Enterprise plan offers unlimited concurrency and volume pricing to keep things smooth. Keep in mind, there might be some extra costs for telephony (like $0.008/min) or AI services (such as STT/TTS/LLM usage). For a more detailed estimate, feel free to check out the LiveKit Pricing Calculator or reach out to sales for a personalized quote. If you want, I’m here to help you figure out the best pricing or plan for your needs—just let me know! Sources: LiveKit Pricing | Deploy and scale agents on LiveKit Cloud