Hello, How do I enable region pinning on my LiveKi...
# ask-ai
d
Hello, How do I enable region pinning on my LiveKit Cloud account? I do not see an option to specify where the cloud server is hosted
t
Thanks for reaching out, Harsha. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! To get region pinning set up on your LiveKit Cloud account, it depends a bit on what you're using it for: • If you’re working with Real-Time SDK Applications: Region pinning is available if you’re on the Scale plan or above. Just log in to LiveKit Cloud and send a request through the Support option in the menu. Once it’s turned on, your clients will connect only to the regions you’ve pinned, and connections outside those won’t go through. • If you’re using SIP (Telephony) Applications: You can use region-based endpoints for incoming SIP calls or set the
destination_country
parameter for outgoing calls. For example, if you want to target India, you’d use an endpoint like
{sip_subdomain}.india.sip.livekit.cloud
. If you’d like, I’m here to help with any part of the setup or to answer any questions you have! Sources: SIP cloud and region pinning | LiveKit Docs | Create and configure a Twilio SIP trunk | LiveKit Docs | Create and configure Telnyx SIP trunk | LiveKit Docs | Region pinning | LiveKit Docs | livekit-android-sdk/src/main/java/io/livekit/android/room/RegionUrlProvider...
d
do i not have this option in the free plan?
t
Hey there! Just a quick heads-up: region pinning is something we offer to customers on the Scale plan or above. It’s not part of the free plan, unfortunately. But if you’re interested in upgrading to get this feature, you can easily do that right from your LiveKit Cloud account settings. If you need any help with it, I’m here for you!
d
I am using sarvam ai as the stt and tts and there is a lot of delay. Is it because the cloud is in us and sarvam is hosted in india? Can i expect the latency to reduce once i get indian servers?
t
It sounds like the delay you're noticing might be because the LiveKit Cloud servers are in the US, while Sarvam AI's servers are in India. When servers are far apart, it’s pretty common for latency to increase since the data has to travel a longer distance. If you enable region pinning and choose Indian servers for your LiveKit Cloud, you should see a drop in latency because the servers will be closer to Sarvam AI’s setup. This should help your STT and TTS services run more smoothly. Feel free to reach out if you’d like a hand with setting up region pinning or if you have any other questions—I’m here to help!
d
and where do i track the number of tokens consumed during the call? Is there somewhere in the dashboard i can see that
?