faint-chef-17831
11/23/2025, 9:09 AMtall-airline-16756
11/23/2025, 9:09 AMtall-airline-16756
11/23/2025, 9:10 AMspeech_region for STT or region for LLM/realtime when constructing the plugin.
◦ Example:
from livekit.plugins import aws
stt = aws.STT(language="en-US", speech_region="us-west-2")
llm = aws.LLM(model="anthropic.claude-3-5-sonnet-20240620-v1:0", region="eu-central-1")
llm_realtime = aws.realtime.RealtimeModel(region="us-west-2")
• Or set AWS_DEFAULT_REGION in your environment to apply a default.
• Azure Speech:
◦ Use speech_region or speech_host.
◦ Example:
from livekit.plugins import azure
stt = azure.STT(speech_key="your-key", speech_region="westus")
• Or set a custom speech_host (e.g., https://westus.stt.speech.microsoft.com).
• Google Cloud:
◦ Use region-specific endpoints or credentials tied to a regional project. Configure the plugin with credentials/project that correspond to the target region.
• Deepgram and other providers:
◦ If a region parameter isn’t exposed, routing is handled by the provider; consult the provider for region-specific endpoints or regional offerings.
2) Deploy the LiveKit agent near your chosen region
• Deploy the LiveKit agent server in the geographic region nearest your AI provider to reduce latency.
• Use the agent CLI to pick region when creating/deploying (e.g., lk agent create --region <region>).
3) Verification & compliance
• Confirm the provider supports the desired region (some models/endpoints are region-limited).
• Test end-to-end latency and confirm requests route to the intended region (provider dashboards/logs show regional endpoints).
If you want, tell me:
• which provider(s) you’re using (AWS, Azure, Google, Deepgram, etc.), and
• whether you prefer CLI or code examples,
and I’ll provide a tailored example and exact config fields for that provider.
Sources: Amazon Transcribe plugin guide | LiveKit Docs | Amazon Bedrock LLM plugin guide | LiveKit Docs | Azure Speech TTS plugin guide | LiveKit Docs | Google Cloud STT plugin guide | LiveKit Docs | Speech-to-text (STT) models | LiveKit Docs