Kokoro TTS explained: open-source text-to-speech setup, voices and limits
Kokoro TTS is a free, open-source text-to-speech model with 82 million parameters, 50-plus voices in six languages, and local CPU setup in minutes.
By Galactic News Editorial · Published 2026-11-27T17:05:51+00:00 · Updated 2026-11-27T17:05:51+00:00
Kokoro TTS explained: open-source text-to-speech setup, voices and limits
Kokoro TTS is an open-source text-to-speech model that turns text into natural-sounding speech on your own machine. The model has 82 million parameters, runs on CPU, and is released under the Apache 2.0 license. It supports more than 50 voices across American English, British English, French, Italian, Japanese, and Chinese. There is no subscription and no per-character charge. This guide covers what Kokoro is, how to set it up, which voices to pick, and where it falls short.
What is Kokoro TTS?
Kokoro is a small text-to-speech model built on the StyleTTS 2 architecture. It was trained on less than 100 hours of audio. Despite that small size, it ranked first in the TTS Spaces Arena in the weeks before its release. Version 0.19 was released on December 25, 2024, with weights in full fp32 precision under an Apache 2.0 license. An ONNX version followed in January 2025.
The model takes text in and returns audio out at 24 kHz. The default voice is a 50-50 mix of two American English voices, Bella and Sarah. Voicepacks are separate files you load alongside the model. The project is open source, so you can run it locally, build it into your own tools, or use it through a command line wrapper.
Kokoro is free in every sense that matters. There is no account, no API key, and no usage meter. You pay only for your own compute. That makes it a strong choice for developers, hobbyists, and creators who want speech without a cloud bill.
Kokoro TTS setup: install it in five steps
The easiest route is the kokoro-tts command line tool, published on PyPI. It wraps the ONNX model in a simple CLI. It converts text, EPUB, and PDF files into WAV or MP3 audio. It also supports streaming playback and voice blending.
- Check Python. You need Python 3.11 or 3.12. Python 3.13 and newer are not currently supported, so check your version first with
python --version. - Install the tool. With uv, run
uv tool install kokoro-tts. With pip, runpip install kokoro-tts. Both install the same package. - Download the model files. Fetch the ONNX model and the voice data into the folder where you will run the tool:
wget https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/kokoro-v1.0.onnxandwget https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/voices-v1.0.bin. - List the voices. Run
kokoro-tts --help-voicesto see the available voices, orkokoro-tts --help-languagesfor the supported languages. - Generate audio. Run
kokoro-tts input.txt output.wav --voice af_sarah. Add--streamto hear the audio as it generates instead of waiting for the file.
Developers who want the model directly can clone the Hugging Face repository instead. The model page shows a short Colab example. You install espeak-ng, phonemizer, torch, transformers, and scipy, build the model from the weights file, load a voicepack, and call generate. The ONNX route is simpler for most users and runs well on CPU.
Kokoro TTS voices and languages
Kokoro ships with more than 50 voices across six languages. Voice names use a short code. The first letter marks the language family: a for American English, b for British English, f for French, i for Italian, j for Japanese, and z for Chinese. The second letter marks gender: f for female, m for male.
| Language | Code | Example voices |
|---|---|---|
| American English | en-us | af_sarah, af_bella, af_heart, am_adam, am_michael |
| British English | en-gb | bf_emma, bf_isabella, bm_george, bm_lewis |
| French | fr-fr | ff_siwis |
| Italian | it | if_sara, im_nicola |
| Japanese | ja | jf_alpha, jf_nezumi, jm_kumo |
| Chinese | cmn | zf_xiaobei, zf_xiaoni, zm_yunjian, zm_yunxi |
Voice blending is a useful extra. You can mix two voices with weights, such as 60 percent af_sarah and 40 percent am_adam, to create a custom tone. The CLI accepts blends in the form voice1:weight,voice2:weight. Speech speed is adjustable too, from 0.5 to 2.0 times normal pace.
English has the widest choice by far, with 19 American and 8 British voices. French has only one voice. If your project needs a language outside the six listed, Kokoro cannot help. Check the voice list before you commit to a project in a less common language.
Kokoro TTS limits to know before you use it
Kokoro has no voice cloning. The voices are fixed voicepacks. You cannot clone your own voice or a client's voice. If cloning is the job, you need a different tool. Kokoro also has no built-in web interface. You run it from the command line or from code, or you use a wrapper that adds one.
Quality is strong for an 82-million-parameter model, but it is not a large cloud model. Long or unusual text can expose quirks in pronunciation and pacing. Numbers, abbreviations, and mixed-language text may need manual cleanup. Always listen to a sample before generating a full audiobook or a long narration.
The Python version limit is a practical snag. The CLI supports Python 3.11 and 3.12, and newer versions are not supported yet. If your machine runs Python 3.13, you need a separate environment. The espeak-ng dependency can also trip up new users on some systems, so follow the project README if the install fails.
Finally, remember the license split. The model weights are Apache 2.0, which is permissive. The inference code in the Hugging Face repository is MIT. Both allow commercial use, but check the current license files before shipping a product built on Kokoro.
Bottom line
Kokoro TTS gives you high-quality, local, free text-to-speech in a package small enough to run on a laptop. Setup takes a few minutes with the CLI, the voice list covers the major languages, and blending adds variety. It suits developers, audiobook makers, and creators who want speech without a cloud bill. Skip it if you need voice cloning, a language outside its six, or a polished web app. For everyone else, it is one of the best free speech tools available.