Kokoro-82M
An 82-million-parameter open TTS that sounds like it has ten times more parameters — Apache 2.0, fast, and free to run anywhere.
| Params | Task type | License | Released | Access | Pricing |
|---|---|---|---|---|---|
| ~82M | Text-to-speech (multilingual, 8 languages) | Apache 2.0 | Jan 2025 | Open weights — Hugging Face (kokoro/kokoro), kokoro-js, ONNX | Free self-host; $0 to run |
What it is and who makes it
Kokoro-82M is an open-weights text-to-speech model released January 2025 by an open community project (community-trained, Apache 2.0, widely distributed via the kokoro/kokoro repos and the kokoro-js library). It’s famous for one reason: per-parameter, it is absurdly good. At 82M parameters it rivals models ten to fifty times its size on naturalness benchmarks, runs on CPUs and modest GPUs, and costs nothing to deploy. As of Nov 2026 it’s the default answer whenever someone asks for open, local, good-enough-to-ship speech synthesis.
Architecture and how it works
Public knowledge, hedged: Kokoro is a StyleTTS 2-style architecture — a compact transformer encoder-decoder operating on phoneme/token sequences with a style vector controlling speaker identity, and a vocoder producing the waveform. It relies on espeak-ng for grapheme-to-phoneme conversion, which is why language coverage is tied to espeak’s support (English plus several other languages, ~8 total). There is no LLM backbone and no instruction steerability; prosody comes from the style embeddings and the text. Training data composition and exact hyperparameters are partially documented by the community but nothing like a full technical report exists — treat internals as community-reverse-engineered, and note quality varies by voice and language.
Strengths
- Quality per parameter. TTS Arena ELO ~1070 (approximate, community leaderboards) — beating or brushing models many times its size in blind preference tests.
- Apache 2.0 and tiny. ~82M params: tens of megabytes, CPU-realtime capable, trivially embedded in apps, browsers (via kokoro-js + ONNX/WebGPU) and edge devices.
- Genuinely natural voices. The af_heart/af_bella-class English voices pass as human in casual listening more often than not.
- Multilingual. ~8 languages including English (US/UK), Spanish, French, Italian, Portuguese, Hindi and Japanese, quality varying by voice.
- Zero marginal cost. Batch-generate a thousand hours of narration for the price of electricity.
Weaknesses and failure modes
- No voice cloning. Fixed preset voices only; your brand voice can’t be created from your CEO’s samples here.
- 82M ceiling. Complex expressive direction, long-form emotional arcs and unusual character voices top out quickly vs GPT-4o mini TTS or ElevenLabs v3.
- Limited SSML. Control is coarse — punctuation and phrasing drive prosody more than markup. Plan text, don’t tag it.
- espeak dependency. Mispronunciations of names/jargon require respelling hacks; non-English quality is uneven.
- Rough edges. It’s a community project: docs drift, voice packs change, and long inputs need chunking.
Best for / avoid for
Best for: local narration, accessibility (screen-reader-ish read-aloud), indie games, offline apps, prototypes, high-volume batch TTS, privacy-sensitive pipelines, and hobbyist voice assistants.
Avoid for: branded cloned voices, premium commercial voice identity, real-time conversational agents needing sub-200ms first audio (doable but tight), and non-English markets where its espeak coverage is weak.
Variants and family
Kokoro ships as a single ~82M model with multiple voice packs (US/UK English, Spanish, French, Italian, Portuguese, Hindi, Japanese) — voices, not new weights, are the units of choice. Community ports include kokoro-js (browser/Node, ONNX), ONNX runtime builds, and GGUF-ish quantizations for llama.cpp-adjacent tooling. The upstream training repo and the kokoro/kokoro Hugging Face org are the canonical sources; forks multiply, so pull from there.
Pricing and access
Free. Self-host via the reference Python stack or kokoro-js:
// Node / browser via kokoro-js
import { KokoroTTS } from "kokoro-js";
const tts = await KokoroTTS.from_pretrained("onnx-community/Kokoro-82M-v1.0-ONNX", {
dtype: "q8", // or fp32 / fp16 / q4
device: "cpu", // "webgpu" in browsers
});
const audio = await tts.generate("The pea is botanically a legume.", { voice: "af_heart" });
audio.save("pea.wav");
# Python reference usage
pip install kokoro soundfile
from kokoro import KPipeline
import soundfile as sf
pipe = KPipeline(lang_code="a") # American English
for i, (_, _, audio) in enumerate(pipe("Hello from a tiny open TTS.", voice="af_heart")):
sf.write(f"out_{i}.wav", audio, 24000)
Runs in real time or better on CPU; a laptop is enough.
Sample usage and what to expect
Expect clean, neutral-to-warm narration with occasional flat affect on emotionally loaded text, and the odd espeak mispronunciation of names — fix by respelling (“PeaBox” → “Pee Box”) or swapping voices. Very long inputs need manual chunking to avoid prosody drift. Latency: near-realtime on modern CPUs, faster on GPU. For podcasts and voiceover drafts it’s shockingly usable; for character drama, it plateaus fast.
Benchmarks snapshot
From models-data.js, approximate as of Nov 2026: TTS Arena ELO ~1070, with quality rivaling models ~10x its size in blind human preference. There is no MMLU-style benchmark for TTS; arena ELOs and listener studies are the currency, and Kokoro consistently lands in the top tier of open models, close behind (lossily) premium closed services for neutral speech. Treat the ELO as approximate — voice preference is subjective and arena populations skew enthusiast.
How it stacks up
vs Piper: Piper is even lighter and more CPU-friendly with broader language coverage, but its voices sound noticeably more synthetic. Kokoro trades a bit of footprint and language breadth for much more natural delivery; for English narration, Kokoro wins clearly.
vs XTTSv2: XTTSv2 does multilingual voice cloning in 6–17 languages — Kokoro cannot clone at all. XTTSv2 is heavier, slower and license-encumbered (CPML for commercial use). Clone-or-die → XTTSv2; small, fast, human-sounding fixed voices → Kokoro; vs GPT-4o mini TTS: GPT-4o mini TTS adds instruction steerability and slicker defaults at trivial cost per minute — Kokoro counters with $0, privacy and offline use.
PeaBox fit
Kokoro is the default speech engine for Speech Studio when the requirement is “local, free, good”: spoken READMEs, narrated changelogs, offline demos, and narration pipelines that never leave the machine. It slots into the PeaBox AI Workbench as the zero-cost TTS backend behind the same interface Speech Studio uses for GPT-4o mini TTS — swap engines per project, keep the pipeline. For Data Studio, it’s a neat augmentation source for speech corpora. Anything needing a cloned brand voice goes to a commercial API; everything else, Kokoro.
The practitioner’s take
Kokoro-82M is the model that makes “we can’t afford TTS” an invalid excuse. It’s the closest thing open source has to a free lunch: Apache 2.0, laptop-fast, and weirdly beautiful output. Respect its ceiling — no cloning, light expressivity — and it will carry a shocking fraction of your speech workload without a cent of API spend.