How can I do pay as you go with LiveKit? Which pla...
# ask-ai
m
How can I do pay as you go with LiveKit? Which plan do I need to be on? I'm getting:
Copy code
WSServerHandshakeError: 429, message='Invalid response status', url='wss://agent-gateway.livekit.cloud/v1/stt'
t
Thanks for reaching out, Armin. 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 helpful info about how LiveKit’s pay-as-you-go pricing works. You’re charged based on the resources you use, like compute time and bandwidth. To get started, you’ll create a LiveKit Cloud project and pick a pricing plan that fits your needs. Each plan comes with some free resource allotments and extra features. You can check out all the details on the LiveKit pricing page whenever you like. About the error
WSServerHandshakeError: 429
you’re seeing — this usually means your LiveKit STT quota has been exceeded. It happens when your usage goes beyond the limits of your current plan. Here are a few friendly steps to help you get back on track: • Take a look at your usage in the LiveKit Cloud dashboard to see where you stand with your STT usage and quota limits. • If you’re on a usage-based plan, waiting for the quota to reset at the start of the next billing cycle often does the trick. • If you find you need more, upgrading to a higher-tier plan with bigger STT quotas can be a great solution. • Adding retry logic in your app can help handle temporary quota limits smoothly. • Also, you might want to set up your agent to use other STT providers like OpenAI Whisper or Deepgram as a fallback — just in case! One last thing — please double-check that your
LIVEKIT_API_KEY
and
LIVEKIT_API_SECRET
are correctly set, since these are essential for authentication. If you have any questions or need a hand with anything, I’m here to help! Sources: Towards a future-aligned pricing model | Quotas and limits | LiveKit Docs | examples/other/transcription/translator.py