Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

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

GitHub repoWebsiteAPI docs

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-82M

License 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

36 / 100
Gid Score, same scale as developer tools
10,386
GitHub stars
251.2K
npm downloads, last 7 days
-14.7% in 4 weeks
2
AI-agent projects using it, from our repo scan of 1,588
Kokoro-82M: downloads per weeknpm, kokoro-js 245,314
Kokoro-82M: GitHub starshexgrad/kokoro 10,386

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

Mistakes to avoid

KPipeline(lang_code='a') with a British, Japanese or Spanish voice
Match the language code to the voice prefix, for example 'b' for bf_emma and 'j' for jf_alpha

The pipeline's language must fit the voice.

Installing kokoro on Python 3.13
Use Python 3.10, 3.11 or 3.12

The package declares requires_python <3.13.

Skipping espeak-ng and getting broken or silent words for names and other languages
Install espeak-ng from the system package manager (or the Windows installer) before running

espeak-ng is the fallback for unknown English words and several languages.

device "webgpu" with dtype "q8" in kokoro-js
With device "webgpu" use dtype "fp32"

The kokoro-js docs recommend fp32 for WebGPU.

Sending one word at a time or a whole chapter as one piece
Group short lines together and split long text into chunks of about 100-200 tokens (split_pattern on blank lines)

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.

Commercial use
Yes

“This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.” huggingface.co/hexgrad/Kokoro-82M

Credit
Not needed
Inside your app or game
Can ship inside your app

“This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.” huggingface.co/hexgrad/Kokoro-82M

Pass the files on to your users
With conditions

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

Monetized YouTube
Allowed
AI training
Not stated
Bots and bulk downloads
Not stated

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.

License rules
- 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/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install kokoro-js
How an agent gets 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.

Formats: wav

Repository
API, key or account
Not needed. Everything runs on your side. API docs
MCP server
None found
This card for machines

Alternatives

Kokoro-82M This page

Free Commercial OK npm, PyPI

Chatterbox

Pick Chatterbox when you need to clone a voice from a sample; it is MIT-licensed and covers 23 languages.

Free Commercial OK PyPI

Piper

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.

Free With conditions PyPI

Meta MMS-TTS

Pick Meta MMS-TTS when you need a language Kokoro lacks; it has small checkpoints for over 1,100 languages.

Free Non-commercial Download

VoiceStudio

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.

Free With conditions MCP, API

VibeVoice

Long-form multi-speaker TTS for podcast-style dialogue, up to 90 minutes and 4 speakers, in English and Chinese.

Free With conditions Download

All voiceover (text-to-speech)

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

All guides