Ollama can now turn text into speech, starting with Phonon from Gradium. Audio streams as it is generated, and Ollama says generation on Apple Silicon can run at more than 100 times real time. The release adds speech synthesis to Ollama’s model capabilities.
Phonon supports English, French, German, Spanish, and Portuguese, with dozens of voices. Users can generate speech from the command line or through an OpenAI-compatible audio API; a chat model’s reply can also be streamed into speech. According to Ollama, existing code using the OpenAI SDK can use the API by changing its base URL.
Speech models are currently available in Ollama for macOS, with Windows and Linux support planned. In published measurements on a MacBook Pro with an M5 Max, Ollama was 35% faster than Gradium’s own runtime. The reported speech-recognition accuracy comparison covered 200 English test sentences and a reference implementation in Hugging Face Transformers.
Phonon is released under Apache 2.0. The 40-million-parameter models instead use CC BY-NC 4.0, which limits them to noncommercial use. The original post provides more detail on voices, languages, API examples, and measurement conditions: Ollama: Speech models in Ollama