nano-edge-tts: a 1.75M-parameter decoder makes Kokoro text-to-speech about 11 times faster on one CPU thread

nano-edge-ttsFree, open weights (Apache-2.0); runs locally on a CPU

nano-edge-tts, published on Hugging Face on 11 November 2026 under Apache-2.0, swaps Kokoro-82M's 53.3M-parameter waveform decoder for a 1.75M-parameter one, so the open Kokoro text-to-speech model runs about 11 times faster from phonemes to audio on one CPU thread. Kokoro's pronunciation, timing, pitch and 28 English voices stay the same.

What it does

Two small networks running 80 and 160 times a second set per-frequency gains on a pulse train and on white noise, and two inverse STFTs turn that into audio, so no neural network runs at audio rate. load() returns Kokoro-82M with the new decoder, so it works anywhere Kokoro's KModel does, and the decoder weights are 7.0 MB on disk instead of 213 MB.

Results and limits

On an Apple M4 the author measured a real-time factor of 0.0127 from phonemes to audio on one CPU thread against Kokoro's 0.1411, and peak memory of 0.75 GB against 1.4 to 1.7 GB. Whisper word errors on 240 sentences were 4.69% against Kokoro's 4.63%, and UTMOS 4.327 against 4.383; in blind A/B tests by the author, an earlier checkpoint sounded the same as Kokoro on 9 of 12 pairs.

Worth knowing

It is trained and tested only on Kokoro's 28 American and British English voices; other languages run but are untested. Some voiced sounds have a faint machine-like tone, most on two or three voices, and the listening results come from one listener. It was shared as a Show HN on 15 November 2026.

Try it yourself

pipe = KPipeline(lang_code='a', model=load()); pipe('[Your narration line for the opening shot.]', voice='af_heart')
Read the primary source >

More coverage

Related entries

< Back to all entries