Kokoro-82M
by hexgrad
82M-parameter open-weight TTS model under Apache-2.0 with fixed voice packs.
Voiceover (text-to-speech) Code libraryOpen source
1. Price: huggingface.co/hexgrad/Kokoro-82M
Self-hosted; compute only.
huggingface.co/hexgrad/Kokoro-82MNo quote yet: price is read from the official pages.
2. Commercial use: huggingface.co/hexgrad/Kokoro-82M
“This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.”
Apache-2.0 allows commercial use; the model card says it already runs in commercial services.
huggingface.co/hexgrad/Kokoro-82M3. Credit the author: huggingface.co/hexgrad/Kokoro-82M
No credit on screen. Keep the license notice inside the code you ship.
huggingface.co/hexgrad/Kokoro-82M4. Agent access: github.com/hexgrad/kokoro
An agent can install it by itself with npm install kokoro-js. No key or account is needed.
github.com/hexgrad/kokoroLicense checked Oct 10, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
Kokoro-82M: small free voice model for speech
Kokoro is a small, free text-to-speech model that reads your text aloud in one of 54 ready-made voices. It is light enough to run on an ordinary computer and even inside a web browser, so there is no per-word fee. It speaks English and seven other languages, but not Russian, and it cannot copy a new person's voice.
Where you can use it
Voiceover for videos and tutorials
Turn a script into spoken audio files for a product video, a course lesson or a demo, and redo any line in seconds after an edit.
Speech inside the browser
A web page reads text aloud on the visitor's own device, with no server and no paid voice service behind it.
Read chatbot answers aloud
Speak an AI assistant's answer while it is still being written, sentence by sentence, instead of waiting for the whole reply.
Cheap voice for your own app
Run speech on your own server instead of paying a voice service per character; hosted copies of Kokoro are also sold at low prices.
Audio versions of blog posts Idea
Add a "listen to this article" player that plays a file made once when the post is published.
Spoken prompts in a game prototype Idea
Give characters and menus placeholder voice lines in different voices until real actors record them.
As reported by hexgrad: Market rate for hosted Kokoro under $1 per million characters as of April 2025; Quality comparable to larger models while faster and cheaper.
Kokoro-82M popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 26, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“In a Python 3.10-3.12 venv, install kokoro==0.9.4 and soundfile (plus espeak-ng), and write a script that turns each paragraph of script.txt into a 24 kHz WAV with voice af_heart and lang_code 'a'.”
Show codeStep 1 or Step 2 or Step 3
Install the Python package and the soundfile helper; espeak-ng is also needed as a fallback for unusual words and some languages.
!pip install -q kokoro>=0.9.4 soundfile
!apt-get -qq -y install espeak-ng > /dev/null 2>&1
Create a pipeline with the language code that matches your voice, for example 'a' for American English.
pipeline = KPipeline(lang_code='a')
Generate speech with a voice such as af_heart and save each piece as a 24 kHz WAV file.
generator = pipeline(text, voice='af_heart')
for i, (gs, ps, audio) in enumerate(generator):
sf.write(f'{i}.wav', audio, 24000)
Mistakes to avoid
The pipeline's language must fit the voice.
The package declares requires_python <3.13.
espeak-ng is the fallback for unknown English words and several languages.
The kokoro-js docs recommend fp32 for WebGPU.
Voices sound weak on very short text and rush on very long text.
License
Apache-2.0 license. , so you may use it in paid products and services. If you pass the model files on, include the license and keep the notices.
“This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.” huggingface.co/hexgrad/Kokoro-82M
“This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.” huggingface.co/hexgrad/Kokoro-82M
Passing the model on needs the license copy, change notices and kept attribution notices.
“You must retain, in the Source form of any Derivative Works” LICENSE on GitHub
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Kokoro-82M free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Kokoro-82M. Paste them into your prompt or AGENTS.md.
- Kokoro-82M (Voiceover (text-to-speech)). 82M-parameter open-weight TTS model under Apache-2.0 with fixed voice packs. Price: free; commercial use OK; no credit needed.
Connect: npm kokoro-js; PyPI kokoro.
Get files: pip install kokoro soundfile (also needs espeak-ng); load KPipeline(lang_code='a') and call it with text and voice='af_heart'. Weights on Hugging Face (wav).
Not allowed: Apache-2.0: keep the license notice when redistributing.
Not allowed: Output is 24 kHz audio; v1.0 supports 8 languages and 54 voices.
Rule: Keep the Apache-2.0 license notice when you redistribute the model.
License: https://huggingface.co/hexgrad/Kokoro-82M (checked 2026-10-10; details: https://agentgid.com/assets/kokoro/)
Agent installs a package or loads it from a CDN.
npm install kokoro-jsFormats: wav
Alternatives
Kokoro-82M This page
Pick Chatterbox when you need to clone a voice from a sample; it is MIT-licensed and covers 23 languages.
Pick Piper for a fast local engine with many downloadable voices, keeping in mind it is GPL-3.0 and each voice has its own license.
Pick Meta MMS-TTS when you need a language Kokoro lacks; it has small checkpoints for over 1,100 languages.
Local desktop app for voice cloning, voice design, video dubbing, dictation and transcription in 646 languages, with a local API and an MCP server for agents.
Long-form multi-speaker TTS for podcast-style dialogue, up to 90 minutes and 4 speakers, in English and Chinese.
Questions
Can I use Kokoro voices in a commercial product or YouTube video?
Yes. The weights are Apache-licensed, and the model card notes it is already used in commercial services.
Can it speak in my own voice?
No. Kokoro only has its fixed set of 54 voices across 8 languages; pick a cloning model for your own voice.
Does it run on a Mac?
Yes. On Apple Silicon you can turn on graphics acceleration with an environment variable.
What audio format comes out?
Raw audio at a 24 kHz sample rate, which the examples save as WAV files.
AgentGid articles about Kokoro-82M
Claude Code Skills for Video and Animation: 8 GitHub Repos
A Chinese list of 8 Claude Code skills for video and animation, checked on GitHub: all were created in October 2026, one is not a skill at all, one needs paid DaVinci Resolve Studio under a non-commercial licence, and two lean on paid voice or image services.
AI Content Factory: 10 Open-Source GitHub Repos
A viral post lists 10 open-source repos for an AI content factory. We checked each: code and weights licenses, activity, the paid APIs several depend on, and which ones download from social platforms.
VoiceStudio: The Free, Local ElevenLabs Alternative
A viral post calls VoiceStudio a 100% free ElevenLabs replacement with 19.4K stars. We checked it against GitHub and the project's own pages: what it does, what is really free, the license catch in the default voice model, and how to plug it into Claude Code or Codex.