AI Tools Developer Tools

Ollama Speech Models: Local Text-to-Speech Arrives on Mac

Ollama speech models let a Mac read text aloud locally, starting with Phonon from Gradium, which covers five languages and streams audio as it generates.

Laptop emitting sound waves to illustrate Ollama speech models producing text-to-speech locally
AI-generated editorial illustration.

Can a laptop read text aloud without sending it to a cloud service? With Ollama speech models, it can. Ollama, a tool for running AI models on your own computer, can now turn written text into spoken audio, a task called text-to-speech.

What did Ollama add?

Ollama says it can now generate speech from text. The first speech model is Phonon, a family of small text-to-speech models from the company Gradium. Ollama describes them as state-of-the-art for their size.

Speech models are available on macOS now. Ollama says Windows and Linux support is coming soon, and it describes the models as running on Apple Silicon Macs.

How fast is it?

On Apple Silicon, Ollama uses MLX, Apple’s machine learning framework, to speed up generation. Ollama reports that on a MacBook Pro with an M5 Max chip it was 35% faster than the next fastest engine, which was Gradium’s own runtime. The test generated 45 seconds of speech, and the figure is a median of 10 runs.

The runtimes use different numeric formats. Gradium’s runtime mixes 8-bit weights on the CPU, fp16 on the Neural Engine and f32 on the GPU, while Ollama runs the model in bf16. These are different ways of storing the model’s numbers at varying precision.

The summary describes streaming at more than 100 times faster than real time on Apple Silicon. These are Ollama’s own measurements on one high-end laptop, so results on other Macs are not covered.

Does the speech quality hold up?

Ollama says its implementation matches the word error rate of the reference version in Hugging Face Transformers. Word error rate measures how many words a transcription system gets wrong when it listens to the generated audio, so lower is better. Ollama tested 200 sentences from the Seed-TTS English test set and transcribed them with Whisper large-v3.

This checks how understandable the speech is. It does not rate how natural or expressive the voices sound.

Which languages and voices are available?

Ollama lists separate Phonon models by language:

  • phonon for English
  • phonon:40m-fr for French
  • phonon:40m-de for German
  • phonon:40m-es for Spanish
  • phonon:40m-pt for Portuguese
  • phonon:40m-multilingual for all five languages

Voices come from Gradium’s voice catalog. Users pick one with a voice option, and the command ollama show phonon lists every available voice. Ollama’s examples use names such as Hadley and Zoey.

What are the licensing terms?

Ollama states that the main phonon model is released under Apache 2.0. The 40M models are released under CC BY-NC 4.0, which limits them to noncommercial use. The French, German, Spanish, Portuguese and multilingual models appear to fall in that 40M group, based on their names.

How do people use it?

Ollama shows several ways to use the models. The simplest is a single command that speaks a line of text. Running the model with no text opens a prompt where users can type lines, and redirecting the output saves a WAV audio file.

Ollama also shows a way to read chat replies aloud. A reply from a chat model can be passed straight into Phonon. Text is spoken as it arrives, so playback starts after the first sentence rather than after the full reply.

Can existing apps connect to it?

Ollama says Phonon works with an OpenAI-compatible speech endpoint. Software already written for the OpenAI developer library needs only a different base address to point at the local Ollama server. Ollama provides examples for command-line, Python and JavaScript clients.

The response streams while audio is generated, so playback can begin immediately. Audio is 24 kHz mono and returns as WAV by default, or as raw 16-bit samples when PCM is requested.

How do you get started?

Ollama says users need Ollama version 0.40.11 or later on an Apple Silicon Mac. They then download the model with the pull command for phonon. Ollama links a model page, speech documentation, OpenAI compatibility notes and Gradium’s voice catalog for more detail.

The audio is generated by a model running on the user’s own machine. Ollama’s announcement does not discuss privacy, so details on data handling would need to come from its documentation.

Sources