When i run the new gemini native audio model in co...
# ask-ai
r
When i run the new gemini native audio model in console mode it is fast. but when i deploy it becomes very slow
t
Thanks for reaching out, Phanos. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! I wanted to share some insights about why the Gemini native audio model might run a bit slower in deployed environments compared to console mode. When you're running in console mode, it has full access to your machine's CPU, which usually means faster performance. However, deployed environments often rely on cloud instances, and sometimes these can experience CPU throttling—especially if you're using burstable instance types like AWS t3 or t4g. To help you get the best performance in production, here are a few friendly tips: • Consider using non-burstable instance families like m5, c5, or c6i on AWS for more consistent CPU performance. • Try to avoid burstable instances unless you’re actively keeping an eye on your CPU credit balance and have t3.unlimited enabled. • Make sure your authentication is set up correctly to prevent any delays caused by retries. If you’d like, I’m here to help you walk through optimizing your deployment setup—just let me know! Sources: Voice AI quickstart | LiveKit Docs | Troubleshooting Latency and Timeout Errors with Turn Detection on AWS | Gemini TTS plugin guide | LiveKit Docs | Gemini Live API plugin | LiveKit Docs | realtime/gemini_realtime_api.py