Overview
Voxray supports a large and growing set of AI providers for speech-to-text (STT), large language model (LLM), text-to-speech (TTS), and real-time pipeline tasks. Each task is configured independently — you can mix and match providers freely (e.g. Groq for STT, Anthropic for LLM, ElevenLabs for TTS). Provider keys are set viaprovider, stt_provider, llm_provider, or tts_provider in your config.json, or via the api_keys map or the corresponding environment variable listed below.
Capability Matrix
Google Vertex AI uses Application Default Credentials (ADC) — no API key field is required. Set
GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION instead.LLM Providers
All LLM providers are configured viallm_provider (or the global provider field). The model field selects the specific chat model. When model is empty, the default shown below is used.
STT Providers
All STT providers are configured viastt_provider (or the global provider field). Use stt_model to select a specific transcription model and stt_language to pin a language code.
Sarvam and Soniox use WebSocket-based streaming internally to reduce first-word latency. All other STT providers use a single-call batch transcription approach where audio is buffered per turn before sending.
TTS Providers
All TTS providers are configured viatts_provider (or the global provider field). Use tts_model to select a TTS model and tts_voice to select a voice/speaker ID.
Realtime Providers
Realtime providers bypass the standard STT → LLM → TTS pipeline and handle the full voice session end-to-end, including VAD, turn detection, and audio I/O. Userealtime.NewFromConfig(cfg, provider) to construct (not NewServicesFromConfig).
OpenAI Realtime
- Provider key:
openai - API key env var:
OPENAI_API_KEY - Full duplex real-time audio via the OpenAI Realtime API (WebSocket).
- Handles VAD, interruptions, and function calling natively.
- Recommended for the lowest end-to-end latency when using OpenAI models.
Hume
- Provider key:
hume - API key env var:
HUME_API_KEY - Hume AI empathic voice interface; real-time emotional intelligence in the voice pipeline.
- Also available as a TTS-only provider in the standard pipeline.
Inworld
- Provider key:
inworld - API key env var:
INWORLD_API_KEY - Inworld AI character engine; real-time character dialogue with LLM and TTS bundled.
- Also available as LLM and TTS providers in the standard pipeline.
Daily.co and LiveKit are supported as transport providers via
runner_transport ("daily", "livekit") rather than as realtime AI providers. They handle WebRTC room management and media routing, while the STT/LLM/TTS pipeline still runs inside Voxray.