Small CPU text-to-speech models compared: Piper, Kokoro, pocket-tts and Linnet on one core

Community Article
Published November 5, 2026

If you need speech in a product without a GPU and without a cloud round trip, there are now several small models to choose from, and their trade-offs are different enough that "which is best" has no single answer. This post measures four of them on the same CPU with the same texts and the same script, and lets you listen to the same sentence from each. We make one of the four (Linnet), so read the numbers with that in mind; everything here can be reproduced with the script linked at the end.

What is measured: speed, latency to first audio, memory and file size. What is not measured: quality. Listen to the samples and judge that yourself.

The models

model what it is languages params weights voice cloning streaming
Piper en_US-ljspeech-medium / -high VITS, one ONNX model per voice one model per voice, many languages 16 M / 28 M 64 / 114 MB no per sentence
Kokoro-82M v1.0 StyleTTS2-based, ONNX 8 languages in one model 82 M (81 M counted in the ONNX) 326 MB + 28 MB voices no whole utterance per call
pocket-tts 4.0.1 autoregressive, PyTorch, voice prompts 7 languages in the 4.0.1 package (6 on the model card), one model each; English measured 100 M 236 MB yes every 80 ms
Linnet linnet-en-35m autoregressive flow LM over a continuous-latent codec, Rust runtime English 41 M 83 MB yes every 80 ms

"Streaming" here means whether the package hands you audio before the utterance is finished. Piper returns one chunk per sentence; kokoro-onnx returned the whole utterance as one chunk (its create_stream API was used, and yielded a single chunk in this setup); pocket-tts and Linnet emit a chunk every 80 ms of speech.

Method

  • Machine: Intel Core i9-13900K, Linux (WSL2). Each process is pinned with taskset to performance cores: one core for the 1-thread runs, four cores for the 4-thread runs. pocket-tts uses one torch thread plus its own decoder thread by design, so its "1 thread" row runs on two cores and is marked as such.
  • Each model runs through its published Python package: piper-tts 1.8.0, kokoro-onnx 0.6.1 (fp32 model; the int8 one was slower on this CPU), pocket-tts 4.0.1, linnet-tts 0.1.1.
  • Three English texts of 44, 99 and 321 characters (about 2.6, 5.4 and 17 s of speech). One warm-up run, then the median of three runs.
  • RTF = wall-clock generation time / audio duration, summed over the three texts, including text processing, the Python loop and, for Linnet, the prime pass (pocket-tts's voice conditioning runs once per voice, outside the timed region). Lower is better; 10 % means ten times faster than real time.
  • First audio = time from the call to the first chunk, for the shortest and the longest text, at one thread.
  • Peak RSS = maximum resident memory of the Python process, interpreter and framework included (MiB, from ru_maxrss).
  • File sizes are decimal megabytes.

Results

model RTF, 1 thread RTF, 4 threads first audio (short / long text) peak RSS
Piper en_US-ljspeech-medium 5.8 % 2.1 % 180 / 283 ms 503 MB
Piper en_US-ljspeech-high 42.5 % 12.4 % 1.4 / 2.1 s 639 MB
Kokoro-82M (fp32) 51.7 % 17.2 % 1.5 / 9.6 s 1246 MB
pocket-tts 4.0.1 23.8 % (2 cores) 24.1 % 71 / 82 ms 968 MB
Linnet linnet-en-35m (fp16) 10.6 % 3.4 % 87 / 133 ms 187 MB

Some things the table says:

  • Piper medium is the cheapest model here by a wide margin: 16 M parameters, 64 MB, 6 % of real time on one core. If you need one fixed voice per language and can wait for a sentence to finish before it plays, it is hard to beat. The high variant is seven times slower for the same voice.
  • Kokoro is the most expensive per sentence on a CPU, and its latency grows with the text because it synthesises the whole utterance before returning: 9.6 s for a 17-second paragraph. Splitting text into sentences on the caller's side brings the first audio down to roughly the short-text figure. In exchange it covers eight languages from one model, with 54 voices.
  • pocket-tts and Linnet are the two streaming models with voice prompts. pocket-tts gets its first audio out slightly earlier (71 vs 87 ms) because its voice state is computed once per voice; Linnet re-reads the voice prompt in the prime pass of each session. Linnet costs about 2.2× less generation time (on one core instead of two) and five times less memory, most of which is the difference between a Rust runtime with its own kernels and PyTorch.
  • Four threads help Kokoro (3×) and Piper high (3.4×) most, because their work is a few large operators. Piper medium gains 2.8×; the 80 ms-step models have less to parallelise per step (Linnet 3.1×, pocket-tts none by design).

Listen

The same sentence from every system, with each package's default parameters and a stock voice. Licences of the samples: Piper LJSpeech voice (trained on the public-domain LJSpeech dataset; the piper-voices repository is MIT), Kokoro (Apache-2.0), pocket-tts alba voice (CC BY 4.0), Linnet (Linnet Weights License; sample published by the licensor).

Good morning, and welcome back. The meeting starts at nine, and the coffee is already on the table.

system audio
Piper en_US-ljspeech-medium
Piper en_US-ljspeech-high
Kokoro-82M, af_heart
pocket-tts, alba
Linnet, linnet-en-f1

The same five samples sit side by side in the "Compare with other CPU TTS models" tab of the Linnet demo Space, where you can also type your own text for Linnet.

What this does not tell you

  • Quality. No MOS, no similarity scores. The samples above are the whole of the evidence in this post.
  • Phones and boards. These are desktop-core numbers. Linnet's per-step times elsewhere (iPhone 13 Pro Max 5.5 ms, iPhone 11 7 ms, Snapdragon 662 14 ms and Raspberry Pi Zero 2 W 59–60 ms, the last two on four cores, all per 80 ms step) are in its README; we did not run the other models there, so there is no comparison.
  • Other languages. All three texts are English. Kokoro, pocket-tts and Piper cover other languages; Linnet does not.
  • Licences. They differ: the current piper-tts package is GPL-3.0-or-later with per-voice licences for the voices (LJSpeech is public domain); Kokoro-82M is Apache-2.0; pocket-tts weights are CC BY 4.0; Linnet's code is Apache-2.0 and its weights are under the Linnet Weights License (free to use in your own products, commercial included; custom voices, fine-tuning, training models on the weights or their outputs, and general-purpose TTS services need a separate licence). Check each model's card before shipping.

Reproduce

Everything is in the LinnetTTS repository. docs/benchmarks.md lists the shell steps: one virtual environment with the four packages, the model downloads (the pocket-tts weights are behind a gate on the Hub, accept its terms first), and the taskset pinning. tools/bench_cpu_tts.py runs one model at one thread count over the three texts and prints a JSON line with the timings and peak RSS; the table is assembled from those lines. If you run it on a different CPU and get a different ordering, we would like to see the numbers.

Community

The voice-conditioning boundary is a useful detail alongside the core counts: pocket-tts reuses a prepared voice state, while Linnet includes its prime pass per session. For an assistant that keeps one voice across many short turns, can Linnet reuse any voice-side state across sessions, or is re-priming part of the current API contract?

·
Article author

Good question, and the honest answer for 0.1.1 is: re-priming is the current contract. session.prime(text) rebuilds the whole prefix, [bos_voice] + voice latents + text tokens, through the trunk every time. A Session is bound to one voice and can be re-primed for each turn without re-allocating anything, but the voice part of the prefix is recomputed.
There is nothing in the model that requires that. The voice latents come first in the prefix, attention is causal and positions are absolute, so the KV cache of the voice part is identical for every utterance in the same voice; only the text tokens after it change. Reusing it is a runtime change, not a model change, and it is on the list for the next release.
What it is worth, measured on one core of an i9-13900K with the built-in voice (6 s, 77 prefix positions): the prime pass is 64 ms for a two-word text, 78 ms for a sentence, 138 ms for a 320-character paragraph. The voice prefix is roughly 60 ms of that. With the voice state cached, a short assistant turn should prime in the 10–20 ms range and the first chunk should land around 20–30 ms on that core instead of the 87 ms in the table. I will post the measured numbers when it ships rather than promise them.

Sign up or log in to comment