LLM
Supported
STT
Not supported
TTS
Not supported
"llm_provider": "ollama". Because Ollama runs locally, you pair it with a cloud STT and TTS provider (Groq, ElevenLabs, OpenAI, etc.) for a full voice pipeline.
Prerequisites
Install Ollama
Start the Ollama server
http://localhost:11434 by default and exposes an OpenAI-compatible API at /v1. Voxray connects to http://localhost:11434/v1 unless you override OLLAMA_BASE_URL.
Pull a model
Quick Start Config
- config.json
- Environment Variables
Ollama does not require an API key. The
OLLAMA_API_KEY environment variable (and "ollama" key in api_keys) are accepted by Voxray but passed through unused — the Ollama server ignores them.Custom Ollama URL
By default, Voxray connects tohttp://localhost:11434/v1. Override this with the OLLAMA_BASE_URL environment variable when running Ollama on a remote host or a non-default port:
Popular Models
Pull any model before referencing it in config:
"model" key in config.json to match the pulled model name exactly (including the tag).
GPU Acceleration
Ollama automatically detects and uses available GPU hardware — no additional configuration is needed in Voxray:
Check whether Ollama is using your GPU after starting
ollama serve:
Latency Guidance
Voice agents are latency-sensitive. The LLM is typically the largest contributor to end-to-end response time with local inference.Full Example: Local LLM with Groq STT and TTS
/ws or /webrtc/offer. All LLM inference runs locally; only STT and TTS calls leave your machine.