Kokoro TTS: The Small Model That Makes Local Text-to-Speech Sound Human
82 million parameters and a voice that doesn't sound like a GPS

Contents
Local text-to-speech has been the weak link in every voice pipeline I’ve built. Speech-to-text got genuinely good years ago — Whisper on a Raspberry Pi transcribes cleanly on hardware that cost less than a nice dinner — but the reply side stayed stubbornly robotic, the flat, slightly-off cadence that immediately marks a voice as synthetic even when every word is intelligible. Kokoro is the first small local model that closed that gap for me, and the “small” part is the detail that makes it interesting: 82 million parameters, small enough to run comfortably without a serious GPU, sounding better than TTS models many times its size did a couple of years ago.
Why the size matters
Text-to-speech quality historically scaled with model size in a way that made “good” and “runs on modest hardware” feel like opposing goals. The large, genuinely natural-sounding commercial systems run on server-class hardware you’re not replicating in a homelab; the small, fast local options (classic examples like eSpeak or older lightweight neural TTS) sounded exactly as synthetic as their size implied. Kokoro-82M sits in a spot that didn’t really exist before: small enough to run inference in well under real-time on a CPU, let alone a modest GPU, while sounding close enough to natural that it stops being the obvious tell in a voice pipeline.
This matters specifically for the always-on, low-latency use case — a home automation voice reply, a live transcription-to-speech loop — where a large, slow model that sounds slightly better isn’t actually the better choice if it makes the whole interaction feel laggy. Kokoro’s trade-off point is deliberately tuned for exactly that scenario.

Getting it running
Kokoro is distributed as open weights with a permissive licence, and the most common self-hosted path wraps it behind the Wyoming protocol — the same protocol Piper uses, which makes it a drop-in alternative for anyone who’s already built a voice pipeline expecting a Wyoming TTS service:
| |
That specific image exposes an OpenAI-compatible speech endpoint rather than Wyoming directly, which is convenient if you’re already building against that API shape:
| |
For a Home Assistant voice pipeline specifically — the kind built around a Voice Preview Edition puck — a Wyoming-wrapped Kokoro instance slots into the text-to-speech step exactly where Piper would normally sit, and the pipeline configuration is a matter of pointing at the new service rather than restructuring anything.
Voices, and why there are so many
Kokoro ships with several dozen voices across multiple languages and accents, each a short identifier like af_bella or am_michael (the prefix roughly indicating language and gender). Unlike training your own voice clone — a heavier, separate undertaking with its own consent and quality considerations — these are pre-trained voices baked into the model release, chosen for variety rather than resembling any specific real person. Picking a voice is a matter of listening to samples and choosing one that fits the use case: something warmer for a home assistant that announces things conversationally, something clipped and clear for a monitoring alert you need to parse instantly while doing something else.
The practical tip worth having: don’t assume the default voice in whatever wrapper you’re using is the best fit. I switched away from the example above’s af_bella for my own alert pipeline after noticing a different voice in the pack was noticeably more intelligible at the specific volume and background-noise level my kitchen speaker actually deals with — a five-minute listening comparison that mattered more to daily usability than any parameter tuning.
What “sounds human” actually means here
It’s worth being precise rather than hyperbolic about the quality claim. Kokoro doesn’t produce audio indistinguishable from a recorded human voice under close listening — pacing on longer, complex sentences occasionally lands slightly off, and it lacks the full emotional range a human narrator brings to genuinely expressive text. What it does convincingly is short-to-medium declarative sentences at a natural cadence with correct stress and intonation, which is the overwhelming majority of what a voice assistant, notification reader or short-form narrator actually needs to say. The failure mode with older small models was often mispronunciation and flat, syllable-by-syllable timing that no amount of exposure lets you stop noticing; Kokoro mostly avoids that, which is the specific bar it clears that its similarly-sized predecessors didn’t.
Where it fits against Piper and cloud TTS
Piper remains the more battle-tested Wyoming-native option for a Home Assistant pipeline specifically, with a longer track record and tighter integration examples in the Home Assistant ecosystem. Kokoro’s advantage is voice quality at a comparable resource cost — for the same modest hardware budget, it’s the more natural-sounding option, at the cost of being a newer project with less first-party integration polish. Cloud TTS (the kind bundled with commercial voice assistants, or paid APIs) still edges out both on raw naturalness and language coverage, at the recurring cost — literal cost, and the OPSEC cost of every spoken response leaving your network — that the rest of this desk’s local-first posts exist to avoid.
If you’re already running local speech-to-text via Whisper and want the reply half of the loop to match in quality rather than dragging the experience back down, Kokoro is the piece that’s made that pairing feel complete for me in a way Piper alone didn’t.
Resource use in practice
Kokoro’s stated design goal is real-time-or-faster synthesis on CPU, and that holds up on modest, non-GPU hardware — generating a short spoken sentence takes a small fraction of the sentence’s own spoken duration, which is the property that matters for a responsive voice pipeline rather than a batch narration job. A GPU speeds this up further and is worth using if one’s already available for other local-AI work in the same pipeline (the conversation-agent LLM, if you’re running one), but it’s not a requirement the way it is for many other local generative models — the whole point of an 82-million-parameter model is that it doesn’t need one.
Under the hood: why a small model gets away with this
Part of how Kokoro stays small while sounding good is that it leans on a separate, lightweight phonemization step (converting text to phonetic representation before synthesis, commonly via the misaki library in the reference implementation) rather than asking the neural network itself to learn pronunciation from raw text end to end. That division of labour — a fast, rule-and-dictionary-based front end handling the “how do these letters actually sound” problem, leaving the neural model to focus purely on prosody and voice generation from an already-correct phonetic input — is a meaningful part of why an 82-million-parameter model can compete with far larger end-to-end systems on perceived naturalness. It’s also the source of one of its more common rough edges: pronunciation of unusual proper nouns or acronyms not in the phonemizer’s dictionary can land oddly, since the front end is guessing at a pronunciation the neural model then commits to confidently.
Licensing and where the model actually comes from
Kokoro’s weights are released under Apache 2.0, which matters in practice for anyone weighing whether to build something around it: no restrictive research-only clause, no required attribution baked into generated audio, free to use in a self-hosted or even commercial context without a licensing negotiation. That openness is a meaningful part of why wrappers like the FastAPI-based one used above appeared quickly after release — a permissive licence on genuinely small, genuinely capable weights is a combination the local-AI hobbyist ecosystem moves fast around, in a way it doesn’t for a large or restrictively-licensed model that only a handful of well-resourced setups can actually run.
Multilingual coverage, and where it’s uneven
The voice pack spans several languages beyond English — the model card documents support that includes variants for Spanish, French, Japanese and a handful of others — but coverage and quality are not uniform across them, which is worth knowing before committing a pipeline to a non-English deployment. English voices, unsurprisingly given where most of the training and community tuning attention has gone, are the most consistently polished; some of the other languages are usable but show more of the pronunciation-guessing rough edges described above. If your use case is English-language home automation or notifications, this is a non-issue; if you’re building for a genuinely multilingual household, it’s worth testing the specific target language’s voices against your actual content before committing rather than assuming parity with the English experience.
Batch narration, not just live replies
Beyond the live, low-latency voice-assistant use case, Kokoro’s speed makes it viable for batch narration jobs that would be tedious to wait on with a larger model — generating an audio version of a written article, or narrating a status report, where the interaction is offline yet a short piece of audio should still turn around quickly rather than take minutes. Running the same OpenAI-compatible endpoint against a full article’s text, chunked into paragraph-sized requests and concatenated, produces a serviceable spoken version of written content on hardware that would choke on a heavier TTS model attempting the same job in anything close to reasonable time.
Troubleshooting
The most common issue with the Wyoming or OpenAI-compatible wrappers is a mismatch between the sample rate the wrapper emits and what the downstream consumer expects — a voice puck or media player that assumes 16kHz or 22kHz audio will play a mismatched stream at the wrong pitch and speed, sounding chipmunk-fast or bog-slow rather than simply failing. Check the wrapper’s documented output sample rate against your pipeline’s expectation before assuming the model itself has produced bad audio.
The second is longer text producing audio that trails off or clips at the end — most Kokoro wrappers have an internal maximum input length per request, and text longer than that either truncates silently or needs to be chunked into multiple requests and concatenated by the calling code. For anything beyond a short notification sentence, check your wrapper’s documented limit before assuming a single call handles arbitrary-length text.
Is it worth it
For any local voice pipeline where you’ve already committed to keeping speech-to-text on your own hardware, mismatching that with a text-to-speech step that still sounds obviously robotic undercuts the whole effort — Kokoro is the model that’s actually closed that gap without asking for GPU hardware most homelabs don’t have sitting idle. If your bar is genuinely indistinguishable-from-human narration for long-form content, it’s not there yet and neither is anything else at this size; for short spoken replies, alerts and voice assistant responses, it’s the best-sounding option I’ve run at this resource cost.



