bulky-yak-50122
10/16/2025, 4:54 AMtall-airline-16756
10/16/2025, 4:55 AMtall-airline-16756
10/16/2025, 4:55 AMgemini-2.5-flash-preview-09-2025 isn’t recognized or supported for the Gemini Live API in LiveKit. No worries though! Here are the model IDs that are supported:
• gemini-2.0-flash-exp
• gemini-2.0-flash-live-001
• gemini-2.5-flash-preview-native-audio-dialog
• gemini-2.5-flash-exp-native-audio-thinking-dialog
• gemini-2.5-flash-native-audio-preview-09-2025
To help you get this sorted out, here’s what you can do:
1. Swap out gemini-2.5-flash-preview-09-2025 with gemini-2.5-flash-native-audio-preview-09-2025 in your model configuration.
2. Make sure you’re using the Realtime API (bidiGenerateContent) and that the RealtimeModel class is set up properly.
3. Double-check that you’re on the right API version (v1beta) and using supported model IDs.
Here’s a quick example in Python to guide you:
from livekit.plugins.google import RealtimeModel
realtime_model = RealtimeModel(
model="gemini-2.5-flash-native-audio-preview-09-2025", # Correct model ID
api_key="your-api-key"
)
Using the correct model ID like this should clear up the connection error. If you run into any more questions or need a hand, feel free to reach out—I’m here to help!
Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py | Gemini Live API plugin | LiveKit Docsbulky-yak-50122
10/16/2025, 4:58 AMtall-airline-16756
10/16/2025, 4:59 AMgemini-2.0-flash-exp or gemini-2.0-flash-live-001 would be solid picks.
• If you want to explore the latest features, gemini-2.5-flash-preview-native-audio-dialog or gemini-2.5-flash-exp-native-audio-thinking-dialog are fantastic options, though just keep in mind they might have some limitations with function calling.
If you’d like, feel free to share more about your specific use case or what’s most important to you—whether that’s function calling, native audio, or reasoning capabilities. I’m here to help you find the perfect model that fits your needs!
Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py | plugins/google/src/beta/realtime/realtime_api.ts | Gemini Live API plugin | LiveKit Docs