Does livekit work with openrouter, or is it alread...
# ask-ai
a
Does livekit work with openrouter, or is it already including what openrouter offers so openrouter is not needed?
t
Thanks for reaching out, Taha. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Just to let you know, LiveKit doesn’t specifically mention compatibility or integration with OpenRouter, which is a platform used for routing AI model inference. LiveKit is all about real-time media infrastructure—think WebRTC-based audio, video, and data transmission—but it doesn’t cover AI model routing capabilities. If you’re thinking about how to possibly connect LiveKit with AI inference routing (like using LiveKit alongside AI models through OpenRouter), I’d love to hear more about what you’re working on. That way, I can give you the best guidance possible! Sources: README.md
a
Yes, I want to use livekit for voice ai assistants, and I also provide my users to choose from the list of Ilm models openrouter provides access to
t
LiveKit makes building voice AI assistants pretty straightforward with its Agents framework. It works smoothly with OpenAI and Azure OpenAI services to handle speech-to-text, language models, and text-to-speech features. There are two main types of agents you can use: • VoicePipelineAgent: Gives you clear control over each step—STT, LLM, and TTS. • MultimodalAgent: Lets you have voice conversations with synchronized text and audio using OpenAI's Realtime API. When it comes to connecting with external services, LiveKit supports MCP (Multimodal Control Protocol) tools, but details on integrating with OpenRouter or similar platforms aren’t readily available. If you're thinking about using LiveKit for voice AI assistants and want to explore routing AI models through OpenRouter, you might need to create some custom logic to link the two. Feel free to reach out if you'd like some help setting up LiveKit's Agents framework or if there’s any other part of your project you'd like to chat about! Sources: OpenAI and LiveKit | LiveKit Docs | Azure OpenAI TTS integration guide | LiveKit Docs | OpenAI and LiveKit partner to turn Advanced Voice into an API | README.md
a
But on livekit I can choose which models I want to use for stt, llm, and tts right? How limited are the choices for these?
t
LiveKit's Agents framework is designed to give you plenty of flexibility when picking models for STT, LLM, and TTS. Here’s a quick rundown of what’s available: • STT (Speech-to-Text): You can choose from models by Deepgram (like nova-general, nova-phonecall), OpenAI (whisper-1), and Cartesia (ink-whisper). • LLM (Large Language Models): Options include OpenAI’s gpt-5 and gpt-4 series, Groq’s llama3-8b-8192, and Google’s gemini-2.0-flash-exp. • TTS (Text-to-Speech): There are models from OpenAI (tts-1, tts-1-hd with voices like alloy and ash) and Cartesia (sonic, sonic-2). Plus, the framework supports integration with multiple providers through its plugin system, so you’ve got plenty of choices to tailor your AI assistant just right. If you want to dive deeper or need a hand setting things up, just let me know—I’m here to help! Sources: livekit-agents/livekit/agents/voice/agent.py | LiveKit Agents integrations | LiveKit Docs | examples/src/comprehensive_test.ts
a
Yeah, how does the plugin system work? I want to give my users more options for tts, llm, and, stt models
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!