/realtime
Use this to loadbalance across Azure + OpenAI + xAI and more.
Supported Providers:
- OpenAI
- Azure
- xAI (see full docs)
- Google AI Studio (Gemini)
- Vertex AI
- Vertex AI Chirp, transcription only (see full docs)
- Bedrock
- Meta Muse Voice, transcription only (see full docs)
- OpenAI Live models such as
gpt-live-1, on their own/v1/live/sessionsroute (see below) - Live speech translation with
gpt-realtime-translateon OpenAI and Azure, on its own/v1/realtime/translationsroute (see full docs)
Proxy Usage
Add model to config
- OpenAI
- OpenAI + Azure
- xAI Grok Voice Agent
model_list:
- model_name: openai-gpt-4o-realtime-audio
litellm_params:
model: openai/gpt-4o-realtime-preview-2024-10-01
api_key: os.environ/OPENAI_API_KEY
model_info:
mode: realtime
model_list:
- model_name: azure-gpt-4o-realtime-audio
litellm_params:
model: azure/gpt-4o-realtime-preview
api_key: os.environ/AZURE_SWEDEN_API_KEY
api_base: os.environ/AZURE_SWEDEN_API_BASE
- model_name: azure-gpt-realtime
litellm_params:
model: azure/gpt-realtime
api_key: os.environ/AZURE_API_KEY
api_base: os.environ/AZURE_API_BASE
model_info:
mode: realtime
- model_name: openai-gpt-4o-realtime-audio
litellm_params:
model: openai/gpt-4o-realtime-preview-2024-10-01
api_key: os.environ/OPENAI_API_KEY
model_list:
- model_name: grok-voice-agent
litellm_params:
model: xai/grok-voice-latest
api_key: os.environ/XAI_API_KEY
model_info:
mode: realtime