{
 "kind": "model",
 "slug": "hexgrad-kokoro-82m",
 "path": "models/open/hexgrad-kokoro-82m/",
 "name": "Kokoro-82M",
 "maker": "hexgrad",
 "density": "full",
 "crumbs": [
  [
   "Models",
   "models/"
  ],
  [
   "Open models",
   "models/open/"
  ]
 ],
 "lead": "Small text-to-speech with ready voices.",
 "chips": [
  {
   "label": "Voice and audio",
   "path": "models/open/?task=voice"
  },
  {
   "label": "Commercial use"
  }
 ],
 "primary": {
  "label": "Copy model id",
  "copy": "hexgrad/Kokoro-82M"
 },
 "links": [
  {
   "label": "Hugging Face",
   "href": "https://huggingface.co/hexgrad/Kokoro-82M"
  },
  {
   "label": "Demos",
   "href": "https://huggingface.co/spaces?search=Kokoro-82M"
  }
 ],
 "track": "New versions, price and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": "Apache 2.0",
   "quote": "We welcome the deployment of the model in real use cases.",
   "note": "The weights are Apache 2.0, and the model card welcomes real deployments.",
   "src": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/README.md"
  },
  {
   "key": "local",
   "label": "On your machine",
   "status": "unknown",
   "value": "Size not published",
   "sub": null,
   "note": "The repository does not publish its parameter count in a form we read.",
   "src": "https://huggingface.co/hexgrad/Kokoro-82M"
  },
  {
   "key": "api",
   "label": "Through an API",
   "status": "yes",
   "value": "1 provider",
   "sub": "deepinfra",
   "note": "Hugging Face Inference Providers that serve it live.",
   "src": "https://huggingface.co/hexgrad/Kokoro-82M"
  },
  {
   "key": "rising",
   "label": "Momentum",
   "status": "info",
   "value": "7,524 likes",
   "sub": "Hugging Face trending score 38",
   "note": "Likes and the trending score are Hugging Face's own figures; attention, not quality.",
   "src": "https://huggingface.co/hexgrad/Kokoro-82M"
  }
 ],
 "vfoot": "Checked against its official pages on Nov 23, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Kokoro-82M does",
   "parts": [
    {
     "t": "prose",
     "text": "Kokoro-82M is an open text-to-speech model by hexgrad that reads written text aloud in a choice of ready-made voices. It is small, with 82 million parameters, so it runs on an ordinary computer. The model files are on Hugging Face, free to use in paid products under the Apache 2.0 license."
    },
    {
     "t": "h3",
     "text": "What people use it for"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Read text aloud in your app",
       "text": "Turn a paragraph of text into speech files on your own machine, for voice-overs, read-aloud buttons or voice replies.",
       "idea": false
      },
      {
       "title": "Pick from 54 voices in 8 languages",
       "text": "Version 1.0 comes with 54 voices across 8 languages, including British and American English, Spanish, French, Hindi, Italian, Japanese, Chinese and Brazilian Portuguese.",
       "idea": false
      },
      {
       "title": "Long texts and audiobooks",
       "text": "Split a long text by lines and get one audio file per piece, with an adjustable reading speed.",
       "idea": false
      },
      {
       "title": "Cheap speech for a product",
       "text": "Because it is small, it is cheap to run; the model card says it is already used in many projects and paid services.",
       "idea": false
      },
      {
       "title": "Narration for short videos",
       "text": "Make a voice track for tutorials or social clips from a script, then put it under the video.",
       "idea": true
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Kokoro-82M popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "7,524",
       "l": "likes on Hugging Face"
      },
      {
       "n": "13.7M",
       "l": "downloads, last 30 days"
      },
      {
       "n": "38",
       "l": "Hugging Face trending score"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none."
    }
   ]
  },
  {
   "id": "run",
   "nav": "Run it",
   "h2": "Where to run Kokoro-82M",
   "parts": [
    {
     "t": "h3",
     "text": "Through an API"
    },
    {
     "t": "list",
     "items": [
      "deepinfra (Hugging Face Inference Providers)"
     ]
    }
   ]
  },
  {
   "id": "license",
   "nav": "License",
   "h2": "Kokoro-82M license",
   "parts": [
    {
     "t": "prose",
     "text": "Apache 2.0 for the model files and the code that runs it. You may use it in paid products and share it; keep the license with copies you share."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid product",
       "v": "Yes",
       "status": "yes",
       "sub": "The weights are Apache 2.0, and the model card welcomes real deployments.",
       "quote": "We welcome the deployment of the model in real use cases.",
       "src": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/README.md"
      },
      {
       "l": "Ship the weights to users",
       "v": "With conditions",
       "status": "cond",
       "sub": "You may share the model and code; include a copy of the Apache 2.0 license.",
       "quote": "You must give any other recipients of the Work or Derivative Works a copy of this License; and",
       "src": "https://github.com/hexgrad/kokoro/blob/main/LICENSE"
      },
      {
       "l": "Work for clients",
       "v": "Yes",
       "status": "yes",
       "sub": "Apache 2.0 has no limit on who you do the work for.",
       "quote": "each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of,",
       "src": "https://github.com/hexgrad/kokoro/blob/main/LICENSE"
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Kokoro-82M",
       "me": true,
       "facts": [
        "7,524 likes",
        "Apache 2.0"
       ]
      },
      {
       "name": "whisper-large-v3",
       "path": "models/open/openai-whisper-large-v3/",
       "why": "openai · automatic-speech-recognition",
       "facts": [
        "6,851 likes",
        "Apache 2.0"
       ]
      },
      {
       "name": "speaker-diarization-3.1",
       "path": "models/open/pyannote-speaker-diarization-3-1/",
       "why": "pyannote · automatic-speech-recognition",
       "facts": [
        "5,614 likes",
        "MIT"
       ]
      },
      {
       "name": "speaker-diarization-community-1",
       "path": "models/open/pyannote-speaker-diarization-community-1/",
       "why": "pyannote · automatic-speech-recognition",
       "facts": [
        "5,103 likes",
        "CC BY 4.0"
       ]
      },
      {
       "name": "XTTS-v2",
       "path": "models/open/coqui-xtts-v2/",
       "why": "coqui · text-to-speech",
       "facts": [
        "3,989 likes",
        "Custom license"
       ]
      }
     ],
     "more": "All voice and audio models",
     "more_path": "models/open/?task=voice"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "In a Python 3.10-3.13 virtual environment install kokoro>=0.9.4 and soundfile, make sure espeak-ng is installed, and write a script that reads input.txt with KPipeline(lang_code='a') and the af_heart voice and saves one 24 kHz WAV per paragraph."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Install the package and the espeak-ng program (the model card shows the commands for Google Colab).",
       "code": "!pip install -q kokoro>=0.9.4 soundfile\n!apt-get -qq -y install espeak-ng > /dev/null 2>&1\n",
       "src": "https://github.com/hexgrad/kokoro/blob/main/README.md"
      },
      {
       "text": "Create a pipeline for American English and generate speech with the af_heart voice; the model downloads on first use.",
       "code": "from kokoro import KPipeline\npipeline = KPipeline(lang_code='a')\ngenerator = pipeline(text, voice='af_heart')\n",
       "src": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/README.md"
      },
      {
       "text": "On an Apple-silicon Mac, set PYTORCH_ENABLE_MPS_FALLBACK=1 to use the Mac's graphics chip.",
       "code": "PYTORCH_ENABLE_MPS_FALLBACK=1 python run-your-kokoro-script.py",
       "src": "https://github.com/hexgrad/kokoro/blob/main/README.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Using a British or Japanese voice with KPipeline(lang_code='a')",
       "fix": "Set lang_code to the voice's language ('a' American English, 'b' British English, 'j' Japanese and so on)",
       "why": "The pipeline's language code must match the voice."
      },
      {
       "dont": "Installing only the Python package",
       "fix": "Also install espeak-ng (apt-get install espeak-ng, or the .msi installer on Windows)",
       "why": "espeak-ng is used as a fallback for English and for some non-English languages."
      },
      {
       "dont": "Sending very long paragraphs in one piece",
       "fix": "Split text into pieces (split_pattern) or lower speed",
       "why": "Voices tend to rush on pieces over about 400 tokens."
      },
      {
       "dont": "Generating one or two words at a time",
       "fix": "Bundle short phrases together into one request",
       "why": "Quality is weaker on very short pieces of text."
      },
      {
       "dont": "Downloading Kokoro from a site with \"kokoro\" in its domain name",
       "fix": "Use the Hugging Face page hexgrad/Kokoro-82M or the GitHub code hexgrad/kokoro",
       "why": "The model card warns that such sites are not owned by or linked to the model's author."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Can I use Kokoro in a paid product?",
       "a": "Yes. The weights are Apache 2.0, and the model card says it is already used in commercial services.",
       "evidence": {
        "url": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/README.md",
        "quote": "This is an Apache-licensed model, and Kokoro has been deployed in numerous projects and commercial APIs."
       }
      },
      {
       "q": "Which languages does it speak?",
       "a": "American and British English, Japanese, Mandarin Chinese, Spanish, French, Hindi, Italian and Brazilian Portuguese; English has the most voices.",
       "evidence": {
        "url": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/VOICES.md",
        "quote": "Some languages are only represented by a small handful or even just one voice (French)."
       }
      },
      {
       "q": "Can it copy my voice?",
       "a": "No. It speaks with its own set of ready-made voices, and the model card lists no voice cloning.",
       "evidence": {
        "url": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/README.md",
        "quote": "No synthetic audio from open TTS models or \"custom voice clones\""
       }
      },
      {
       "q": "Which voice sounds best?",
       "a": "Each voice has a grade on the voices page; af_heart has the top grade in American English, but taste differs.",
       "evidence": {
        "url": "https://huggingface.co/hexgrad/Kokoro-82M/raw/main/VOICES.md",
        "quote": "Subjectively, voices will sound better or worse to different people."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "hexgrad"
  ],
  [
   "Task",
   "Voice and audio"
  ],
  [
   "Pipeline",
   "text-to-speech"
  ],
  [
   "On Hugging Face since",
   "Dec 26, 2024"
  ],
  [
   "License",
   "Apache 2.0"
  ],
  [
   "Hugging Face",
   "hexgrad/Kokoro-82M"
  ]
 ],
 "good": [
  "English is the strongest language. Other languages may be weak, and French has only one voice.",
  "You also need the free espeak-ng program installed; it helps with unusual English words and some other languages.",
  "Japanese and Chinese need an extra language package (misaki[ja] or misaki[zh])."
 ],
 "checked_line": "Hand-checked from 7 official pages on Nov 23, 2026; numbers refresh daily.",
 "logo": null
}