Kokoro: Local, CPU-Friendly TTS That Actually Sounds Good

TL;DR
An 82M parameter text-to-speech model that runs on CPU and produces high-quality speech across multiple languages - no cloud APIs or GPU required.
Last updated: October 25, 2026 (commands, model facts and benchmark figures re-checked against the sources below)
Local AI inference keeps getting more practical. Kokoro is an 82 million parameter text-to-speech model that runs entirely on CPU while producing surprisingly natural-sounding speech. It supports English, Mandarin, Hindi, and other languages with approximately 50 voice options.
What Makes Kokoro Interesting#
The key numbers:
- 82M parameters - small enough for CPU inference
- ~50 voices - predominantly English speakers (the v1.0 model card lists 54 voices across 8 languages, with Apache-licensed weights)
- 5GB Docker image - includes pre-downloaded voice models
- OpenAI-compatible API - drop-in replacement for existing integrations
Performance varies by hardware but stays practical:
- Intel Core i7-4770K: 4.7 seconds for a short paragraph
- Apple M2 Pro: 4.5 seconds
- AMD Ryzen 7 8745HS: 1.5 seconds
These benchmarks are for CPU-only inference. If you have an integrated GPU, you can go faster - there's a start-gpu_mac.sh script for Apple Silicon.
Quick Setup with Kokoro-FastAPI#
The easiest path is the containerized Kokoro-FastAPI wrapper:
podman run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu
Once running, you get a web interface at localhost:8880/web for testing, plus an OpenAI-compatible speech API. Applications built for OpenAI's TTS can point at your local endpoint instead.
The Kokoro-FastAPI README also documents docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:latest and recommends pinning a release tag instead of :latest for stable use. Here is the README's own example for calling the local endpoint with the OpenAI Python client:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8880/v1", api_key="not-needed")
response = client.audio.speech.create(
model="kokoro",
voice="af_bella+af_sky",
input="Hello world!",
response_format="mp3"
)
response.stream_to_file("output.mp3")
The + in the voice name blends two voices, a feature the README calls voice mixing. NVIDIA and AMD images exist if you want GPU speed, and ./start-gpu_mac.sh runs natively on Apple Silicon. Remember that the HN-reported timings above come from the original article's CPU-only runs, not from the GPU images.
What HN Is Saying#
The Hacker News discussion (80+ comments) is largely positive, with developers sharing their real-world use cases.
Multiple commenters are using Kokoro for home automation and voice assistants:
"I use kokoro with home assistant and its great. I find its the most natural sounding and small too. I speak over sonos speakers when certain events happen."
Several developers have built article-to-podcast pipelines:
"About a month ago I setup Kokoro on my GTX1650 to do TTS for an article reader. A simple WebUI lets me paste a URL or a chunk of copy pasted text... Then for my morning drive I'll catch up on articles or blog posts I've gathered."
One developer ported it to iPhone's ANE (Apple Neural Engine) for mobile TTS with better battery life:
"Cool I actually got it ported to iPhone's ANE finally yesterday! So we can get both rt natural local TTS and 4x less battery drainage and thermals"
The comments also surface some practical limitations. Single words and short phrases can sound off:
"Try having it say simply 'six' and it almost always says something like 'ah-six-ah'. I found a way around that though. If you give it a longer sentence to say (eg 'The word is: six') it will say it fine."
The commenter notes you can crop out just the word you need using the timestamp data Kokoro returns with each generation.
Alternative models came up frequently. Pocket TTS from Kyutai Labs got several mentions for voice cloning. Supertonic 3 was praised for handling mixed-language text well:
"Supertonic 3 is the only one that can autodetect language and make a mix of different languages sound good."
Read the full thread at https://news.ycombinator.com/item?id=48821576.
Practical Applications#
The HN thread includes several specific use cases worth noting:
Accessibility tools: One developer uses Kokoro extensively for an accessibility product, appreciating the IPA pronunciation guides for handling homographs correctly.
Browser extensions: Someone built a Chrome extension that runs Kokoro on any webpage with sentence highlighting: Local Reader
Ebook audiobooks: Multiple commenters use Kokoro to generate audiobooks from EPUBs when no official audiobook exists.
Japanese language learning: Combined with an LLM, one developer built a local Japanese tutor with native-sounding speech.
Alternatives and Comparisons#
The discussion surfaced several other local TTS options:
| Model | Parameters | Voice Cloning | Notes |
|---|---|---|---|
| Kokoro | 82M | No | Best CPU efficiency |
| Pocket TTS | ~100M | Yes | Easy voice cloning |
| Chatterbox Turbo | Larger | Yes | Emotional control |
| Fish Audio S2 | Larger | Yes | Fine-grained tone control |
| Piper | Various | No | Lightweight, fast |
For pure CPU inference without voice cloning, Kokoro remains the standout choice. If you need voice cloning, Pocket TTS is the comparable-size option.
The Bigger Picture#
Local TTS has reached a practical inflection point. A 5GB download gets you production-quality speech synthesis that runs on consumer hardware. Combined with local STT (Parakeet, whisper.cpp) and local LLMs, you can build voice interfaces that never touch the cloud.
The quality is not quite ElevenLabs or Azure's DragonHD voices at peak performance. But it is good enough for most applications, and "good enough + completely private + zero marginal cost" is a compelling combination.
As one commenter put it:
"Both Text-to-Speech and Speech-to-Text now have local models that are good enough to get the job done. Kokoro for TTS, Parakeet for STT and Fluid-1 for text formatting. I hope this is a trend that continues for other applications."
Getting Started#
The fastest path to try Kokoro:
- Run the container:
podman run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu - Open
localhost:8880/web - Paste some text and generate
For more control, check the Kokoro-82M Hugging Face page or the ONNX version at NeuML/kokoro-base-onnx for custom pipelines.
FAQ#
Can Kokoro TTS run without a GPU?#
Yes. Kokoro is an 82 million parameter model that runs entirely on CPU. Reported CPU-only times for a short paragraph were 4.7 seconds on an Intel Core i7-4770K, 4.5 seconds on an Apple M2 Pro, and 1.5 seconds on an AMD Ryzen 7 8745HS. A start-gpu_mac.sh script is available if you want to use an Apple Silicon GPU.
How do I run Kokoro locally?#
The easiest path is the containerized Kokoro-FastAPI wrapper: run podman run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu, open localhost:8880/web, and paste some text to generate speech. The Docker image is about 5GB and includes pre-downloaded voice models.
Is Kokoro compatible with the OpenAI TTS API?#
Yes. Kokoro-FastAPI exposes an OpenAI-compatible speech API, so applications built for OpenAI's TTS can point at your local endpoint instead.
Does Kokoro support voice cloning?#
No. Kokoro ships with about 50 voices, predominantly English, but no voice cloning. If you need cloning at a comparable size, the HN discussion pointed to Pocket TTS from Kyutai Labs.
What are Kokoro's known limitations?#
Single words and short phrases can sound off, for example "six" coming out as "ah-six-ah". One commenter's workaround is to give it a longer sentence such as "The word is: six" and crop the word using the timestamp data Kokoro returns. Quality is also not quite at the level of top cloud voices.
Continue Reading#
- DeepSeek R1 and V3: The Developer's Guide to Open-Source AI
- The $44 Compiler: Persistent Projects Beat Persistent Agents
- Forge Shows the Local Agent Reliability Gap Is a Harness Problem
- Best Local Models - more models you can run on your own hardware
- Best Open-Source Models - open-weight models you can self-host, ranked
Sources#
- Local, CPU-Friendly, High-Quality TTS with Kokoro - Original article (benchmark times, container size and run command re-checked October 25, 2026)
- Hacker News Discussion
- Kokoro-82M on Hugging Face
- Kokoro-FastAPI
- Pocket TTS - Alternative with voice cloning
Get the next deep dive like this in your inbox
One email a week on News and the rest of the AI dev stack. Free.
Read next on local and open-weight models
Ornith-1.0: What an Open Source Self-Improving Coding Model Actually Means
Ornith-1.0 open-source coding models explained: what "self-improving" really means, the four model sizes, hardware needs, HN reactions and whether to try it.
7 min readColibri: Run GLM 5.2 on a 32GB Laptop With Disk Streaming
A solo developer built a 1,300-line C inference engine that runs the 744B GLM 5.2 model on consumer hardware by streaming routed experts from disk.
6 min readRunning Gemma 4 26B at 5 Tokens/Sec on a 13-Year-Old Xeon With No GPU
Gemma 4 26B on a 2013 Xeon with no GPU: how a sub-$300 box reached about 5 tokens/sec, the silent MoE bug behind the gibberish, and the upstream fix.
6 min readNew here? Start with
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.








