I'm glad you're exploring how Inference and plugins work in LiveKit—they each have their unique strengths when it comes to integrating AI models into your voice agents:
•
Inference: This is a managed gateway provided by LiveKit Cloud that makes accessing AI models like STT, LLM, and TTS really straightforward using your LiveKit API key. It takes care of the integration details, handles billing automatically, and offers a consistent API format, so switching between models is smooth. It’s a great choice if you want a simple, unified way to access popular models.
•
Plugins: These are open-source integrations that let you connect directly to external model providers using your own credentials. While they give you access to a wider range of models beyond what LiveKit Inference supports, they do require a bit more hands-on setup, like installing plugins and managing your provider accounts and billing. This path is perfect if you’re looking for more customization and control.
Please feel free to reach out if you’d like me to walk you through either option or if you have any other questions—I’m here to help!
Sources:
Models | LiveKit Docs |
Groq LLM plugin guide | LiveKit Docs |
livekit-plugins/livekit-plugins-groq/README.md |
Large language models (LLM) | LiveKit Docs |
Introducing LiveKit Inference: A unified model interface for voice AI