{
 "slug": "kokoro",
 "name": "Kokoro-82M",
 "author": "hexgrad",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "82M-parameter open-weight TTS model under Apache-2.0 with fixed voice packs.",
 "category": {
  "slug": "voiceover",
  "name": "Voiceover (text-to-speech)"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/hexgrad.png",
 "logo_letter": "K",
 "links": {
  "repo": "https://github.com/hexgrad/kokoro",
  "website": "https://huggingface.co/hexgrad/Kokoro-82M",
  "api_docs": "https://github.com/hexgrad/kokoro",
  "open_model": null
 },
 "preview": null,
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Self-hosted; compute only.",
   "source": {
    "label": "huggingface.co/hexgrad/Kokoro-82M",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "Apache-2.0",
   "quote": "This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.",
   "note": "Apache-2.0 allows commercial use; the model card says it already runs in commercial services.",
   "source": {
    "label": "huggingface.co/hexgrad/Kokoro-82M",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": null,
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "huggingface.co/hexgrad/Kokoro-82M",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install kokoro-js. No key or account is needed.",
   "source": {
    "label": "github.com/hexgrad/kokoro",
    "url": "https://github.com/hexgrad/kokoro"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "Apache-2.0",
  "url": "https://huggingface.co/hexgrad/Kokoro-82M",
  "summary": ", so you may use it in paid products and services. If you pass the model files on, include the license and keep the notices.",
  "pages_read": 1,
  "rules": [
   "Keep the Apache-2.0 license notice when you redistribute the model."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.",
    "source": {
     "label": "huggingface.co/hexgrad/Kokoro-82M",
     "url": "https://huggingface.co/hexgrad/Kokoro-82M"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs.",
    "source": {
     "label": "huggingface.co/hexgrad/Kokoro-82M",
     "url": "https://huggingface.co/hexgrad/Kokoro-82M"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "You must retain, in the Source form of any Derivative Works",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/hexgrad/kokoro/blob/main/LICENSE"
    },
    "note": "Passing the model on needs the license copy, change notices and kept attribution notices."
   },
   {
    "label": "Monetized YouTube",
    "value": "Allowed",
    "status": "yes",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-10-10",
  "commercial_use_page": "https://agentgid.com/assets/kokoro/commercial-use/"
 },
 "overview": {
  "heading": "Kokoro-82M: small free voice model for speech",
  "body": "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."
 },
 "uses": [
  {
   "title": "Voiceover for videos and tutorials",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Speech inside the browser",
   "text": "A web page reads text aloud on the visitor's own device, with no server and no paid voice service behind it.",
   "idea": false,
   "image": null
  },
  {
   "title": "Read chatbot answers aloud",
   "text": "Speak an AI assistant's answer while it is still being written, sentence by sentence, instead of waiting for the whole reply.",
   "idea": false,
   "image": null
  },
  {
   "title": "Cheap voice for your own app",
   "text": "Run speech on your own server instead of paying a voice service per character; hosted copies of Kokoro are also sold at low prices.",
   "idea": false,
   "image": null
  },
  {
   "title": "Audio versions of blog posts",
   "text": "Add a \"listen to this article\" player that plays a file made once when the post is published.",
   "idea": true,
   "image": null
  },
  {
   "title": "Spoken prompts in a game prototype",
   "text": "Give characters and menus placeholder voice lines in different voices until real actors record them.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "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'.",
  "install": null,
  "install_note": null,
  "code": [
   {
    "tab": "Step 1",
    "intro": "Install the Python package and the soundfile helper; espeak-ng is also needed as a fallback for unusual words and some languages.",
    "source": "!pip install -q kokoro>=0.9.4 soundfile\n!apt-get -qq -y install espeak-ng > /dev/null 2>&1"
   },
   {
    "tab": "Step 2",
    "intro": "Create a pipeline with the language code that matches your voice, for example 'a' for American English.",
    "source": "pipeline = KPipeline(lang_code='a')"
   },
   {
    "tab": "Step 3",
    "intro": "Generate speech with a voice such as af_heart and save each piece as a 24 kHz WAV file.",
    "source": "generator = pipeline(text, voice='af_heart')\nfor i, (gs, ps, audio) in enumerate(generator):\n    sf.write(f'{i}.wav', audio, 24000)"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "KPipeline(lang_code='a') with a British, Japanese or Spanish voice",
   "fix": "Match the language code to the voice prefix, for example 'b' for bf_emma and 'j' for jf_alpha",
   "why": "The pipeline's language must fit the voice.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Installing kokoro on Python 3.13",
   "fix": "Use Python 3.10, 3.11 or 3.12",
   "why": "The package declares requires_python <3.13.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Skipping espeak-ng and getting broken or silent words for names and other languages",
   "fix": "Install espeak-ng from the system package manager (or the Windows installer) before running",
   "why": "espeak-ng is the fallback for unknown English words and several languages.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "device \"webgpu\" with dtype \"q8\" in kokoro-js",
   "fix": "With device \"webgpu\" use dtype \"fp32\"",
   "why": "The kokoro-js docs recommend fp32 for WebGPU.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Sending one word at a time or a whole chapter as one piece",
   "fix": "Group short lines together and split long text into chunks of about 100-200 tokens (split_pattern on blank lines)",
   "why": "Voices sound weak on very short text and rush on very long text.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install kokoro-js",
  "repo": "https://github.com/hexgrad/kokoro",
  "api_docs": "https://github.com/hexgrad/kokoro",
  "api_account": "Not needed. Everything runs on your side.",
  "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.",
  "formats": [
   "wav"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": null,
  "rules_text": "- 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.\n  Connect: npm kokoro-js; PyPI kokoro.\n  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).\n  Not allowed: Apache-2.0: keep the license notice when redistributing.\n  Not allowed: Output is 24 kHz audio; v1.0 supports 8 languages and 54 voices.\n  Rule: Keep the Apache-2.0 license notice when you redistribute the model.\n  License: https://huggingface.co/hexgrad/Kokoro-82M (checked 2026-10-10; details: https://agentgid.com/assets/kokoro/)",
  "agent_md": "https://agentgid.com/assets/kokoro/agent.md",
  "card_json": "https://agentgid.com/assets/kokoro/card.json"
 },
 "popularity": {
  "gid_score": 36,
  "stars": 10386,
  "downloads_7d": 251159,
  "downloads_7d_label": "251.2K",
  "downloads_change_4w_pct": -14.7,
  "eco": "npm",
  "package": "kokoro-js",
  "repo": "hexgrad/kokoro",
  "agent_projects": 2,
  "agent_projects_total": 1588,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-24",
     16793
    ],
    [
     "2025-12-01",
     16832
    ],
    [
     "2025-12-08",
     16396
    ],
    [
     "2025-12-15",
     16540
    ],
    [
     "2025-12-22",
     12914
    ],
    [
     "2025-12-29",
     12401
    ],
    [
     "2026-01-05",
     20306
    ],
    [
     "2026-01-12",
     18071
    ],
    [
     "2026-01-19",
     19861
    ],
    [
     "2026-01-26",
     19862
    ],
    [
     "2026-02-02",
     20652
    ],
    [
     "2026-02-09",
     26388
    ],
    [
     "2026-02-16",
     31110
    ],
    [
     "2026-02-23",
     34506
    ],
    [
     "2026-03-02",
     44509
    ],
    [
     "2026-03-09",
     43304
    ],
    [
     "2026-03-16",
     40658
    ],
    [
     "2026-03-23",
     40909
    ],
    [
     "2026-03-30",
     39659
    ],
    [
     "2026-04-06",
     46199
    ],
    [
     "2026-04-13",
     44875
    ],
    [
     "2026-04-20",
     48675
    ],
    [
     "2026-04-27",
     61413
    ],
    [
     "2026-05-04",
     54856
    ],
    [
     "2026-05-11",
     58224
    ],
    [
     "2026-05-18",
     55005
    ],
    [
     "2026-05-25",
     52584
    ],
    [
     "2026-06-01",
     70181
    ],
    [
     "2026-06-08",
     68852
    ],
    [
     "2026-06-15",
     191530
    ],
    [
     "2026-06-22",
     91314
    ],
    [
     "2026-06-29",
     96598
    ],
    [
     "2026-07-06",
     102507
    ],
    [
     "2026-07-13",
     102785
    ],
    [
     "2026-07-20",
     108616
    ],
    [
     "2026-07-27",
     128198
    ],
    [
     "2026-08-03",
     128227
    ],
    [
     "2026-08-10",
     131301
    ],
    [
     "2026-08-17",
     121709
    ],
    [
     "2026-08-24",
     126821
    ],
    [
     "2026-08-31",
     139212
    ],
    [
     "2026-09-07",
     140364
    ],
    [
     "2026-09-14",
     121978
    ],
    [
     "2026-09-21",
     194241
    ],
    [
     "2026-09-28",
     338835
    ],
    [
     "2026-10-05",
     403087
    ],
    [
     "2026-10-12",
     235126
    ],
    [
     "2026-10-19",
     140794
    ],
    [
     "2026-10-26",
     215309
    ],
    [
     "2026-11-02",
     234237
    ],
    [
     "2026-11-09",
     258706
    ],
    [
     "2026-11-16",
     245314
    ]
   ],
   "stars": [
    [
     "2026-10-13",
     9291
    ],
    [
     "2026-10-20",
     9513
    ],
    [
     "2026-10-21",
     9547
    ],
    [
     "2026-10-22",
     9581
    ],
    [
     "2026-11-07",
     9956
    ],
    [
     "2026-11-08",
     9965
    ],
    [
     "2026-11-09",
     10002
    ],
    [
     "2026-11-10",
     10026
    ],
    [
     "2026-11-11",
     10050
    ],
    [
     "2026-11-12",
     10061
    ],
    [
     "2026-11-13",
     10092
    ],
    [
     "2026-11-14",
     10108
    ],
    [
     "2026-11-15",
     10126
    ],
    [
     "2026-11-16",
     10144
    ],
    [
     "2026-11-17",
     10185
    ],
    [
     "2026-11-18",
     10211
    ],
    [
     "2026-11-19",
     10236
    ],
    [
     "2026-11-20",
     10253
    ],
    [
     "2026-11-21",
     10275
    ],
    [
     "2026-11-22",
     10295
    ],
    [
     "2026-11-23",
     10320
    ],
    [
     "2026-11-24",
     10342
    ],
    [
     "2026-11-25",
     10355
    ],
    [
     "2026-11-26",
     10386
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "kokoro",
   "name": "Kokoro-82M",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm, PyPI"
  },
  {
   "slug": "chatterbox",
   "name": "Chatterbox",
   "why": "Pick Chatterbox when you need to clone a voice from a sample; it is MIT-licensed and covers 23 languages.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "PyPI"
  },
  {
   "slug": "piper",
   "name": "Piper",
   "why": "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.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "PyPI"
  },
  {
   "slug": "mms-tts",
   "name": "Meta MMS-TTS",
   "why": "Pick Meta MMS-TTS when you need a language Kokoro lacks; it has small checkpoints for over 1,100 languages.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Non-commercial",
    "status": "no"
   },
   "access": "Download"
  },
  {
   "slug": "voicestudio",
   "name": "VoiceStudio",
   "why": "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.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "MCP, API"
  },
  {
   "slug": "vibevoice",
   "name": "VibeVoice",
   "why": "Long-form multi-speaker TTS for podcast-style dialogue, up to 90 minutes and 4 speakers, in English and Chinese.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Can I use Kokoro voices in a commercial product or YouTube video?",
   "a": "Yes. The weights are Apache-licensed, and the model card notes it is already used in commercial services."
  },
  {
   "q": "Can it speak in my own voice?",
   "a": "No. Kokoro only has its fixed set of 54 voices across 8 languages; pick a cloning model for your own voice."
  },
  {
   "q": "Does it run on a Mac?",
   "a": "Yes. On Apple Silicon you can turn on graphics acceleration with an environment variable."
  },
  {
   "q": "What audio format comes out?",
   "a": "Raw audio at a 24 kHz sample rate, which the examples save as WAV files."
  }
 ],
 "at_a_glance": {
  "latest_version": "kokoro 0.9.4; kokoro-js 1.2.1",
  "last_commit": "2025-08-06",
  "runtime": "Python >=3.10,<3.13 with PyTorch and espeak-ng; kokoro-js depends on @huggingface/transformers ^3.5.1 and phonemizer",
  "key_needed": false,
  "formats": "wav"
 },
 "good_to_know": [
  "Only the ready-made voices are available. There is no voice cloning, and voice quality differs a lot, from grade A for af_heart down to F+.",
  "Languages: American and British English, Japanese, Mandarin Chinese, Spanish, French, Hindi, Italian and Brazilian Portuguese. Russian is not among them, and French has one voice.",
  "Japanese and Chinese need extra language packages, and espeak-ng must be installed separately.",
  "Websites with \"kokoro\" in their domain are not the official project, and the model page warns they are likely scams.",
  "The Python package was last released in April 2025, and it supports Python 3.10 to 3.12 only."
 ],
 "stack_snippets": [],
 "claims": [
  "Market rate for hosted Kokoro under $1 per million characters as of April 2025",
  "Quality comparable to larger models while faster and cheaper"
 ],
 "checked": {
  "license_read": "2026-10-10",
  "overview_checked": "2026-11-10",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "huggingface.co/hexgrad/Kokoro-82M",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M"
   },
   {
    "label": "huggingface.co",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/README.md"
   },
   {
    "label": "huggingface.co",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/VOICES.md"
   },
   {
    "label": "huggingface.co",
    "url": "https://huggingface.co/api/models/hexgrad/Kokoro-82M"
   },
   {
    "label": "huggingface.co",
    "url": "https://huggingface.co/api/models/hexgrad/Kokoro-82M/tree/main"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/hexgrad/kokoro/blob/main/README.md"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/hexgrad/kokoro/blob/main/LICENSE"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/hexgrad/kokoro/blob/main/kokoro.js/README.md"
   },
   {
    "label": "github.com/hexgrad/kokoro/commits/main.atom",
    "url": "https://github.com/hexgrad/kokoro/commits/main.atom"
   },
   {
    "label": "pypi.org/pypi/kokoro/json",
    "url": "https://pypi.org/pypi/kokoro/json"
   },
   {
    "label": "npm: kokoro-js/latest",
    "url": "https://registry.npmjs.org/kokoro-js/latest"
   },
   {
    "label": "huggingface.co",
    "url": "https://huggingface.co/hexgrad/Kokoro-82M/blob/main/VOICES.md"
   },
   {
    "label": "github.com/hexgrad/kokoro",
    "url": "https://github.com/hexgrad/kokoro"
   }
  ],
  "unverified": "Last push to the GitHub repo was 2025-08-06."
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/kokoro/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
