Gradient LabSign up free

Trending › Voice model

Phonon: text-to-speech small enough to run on your phone

Gradium opened the weights of Phonon, text-to-speech models of 31M and 40M parameters that run on a phone, laptop or in a browser tab. Small enough to ship inside an app, with the first audio in tens of milliseconds and nothing sent to a server.

Watch it move. This is an animated lesson on Gradient Lab.

Start the animated lesson

Step by step

Concept

Two ways to make a voice

Most apps send text to a server, a large model turns it into audio, and the audio comes back. That adds network delay, needs a connection, and the text leaves the device. On-device text-to-speech runs the model on the phone or laptop itself.

Left: text travels to the cloud and back. Right: the phone does it alone.

Problem

The catch: models must be tiny

A phone has little memory and no big GPU, so the model has to be small. Gradium’s smallest Phonon has about 31 million parameters, against 82 million for Kokoro, the most widely used open on-device model. Gradium says the download is as little as 64.5 MB.

Bar heights to scale: parameter counts.

Build

Speak before you finish

Voice apps feel slow when you wait for the whole sentence. A streaming model generates audio in small chunks and starts playing the first one straight away. The number that matters is time to first audio: Gradium reports about 5 ms on a data-centre GPU and 43 ms on a server CPU.

Chunks of audio come out one after another; playback starts with the first.

Insight

Small but still natural

Small models usually sound robotic or misread numbers. Gradium says Phonon ranked first in blind listening tests against other on-device models, and on Hugging Face’s open TTS leaderboard the 31M English model was fastest to first audio at 28 ms. The 40M models cover English, French, German, Spanish and Portuguese.

These are the company’s own and leaderboard figures; independent tests may differ.

Practice

Read the licence

“Open weights” doesn’t always mean free for business. Phonon 31M (English) is under Apache 2.0, so you can use it in a commercial product. The 40M models, including the multilingual one, are CC BY-NC: non-commercial only. Voice cloning stays a paid Gradium service.

Always check the model card before shipping an open model.

Quick check: Why does streaming matter for a voice assistant?

Pseudocode

# cloud TTS
audio = server.speak(text)        # text leaves the device, waits on the network

# on-device TTS
model = load("phonon-31m")        # about 31M parameters, tens of MB
for chunk in model.stream(text):  # start playing the first chunk
    play(chunk)                   # while the rest is generated

Go deeper

Sources

  1. Gradium: Gradium releases Phonon, open-source on-device TTS
  2. Gradium: A closer look at Phonon
  3. Gradium: Phonon product page (models and licences)
  4. Gradium: Evaluating Phonon