#1818th of 145 in VoiceFor voice, speech and music

Kokoro-FastAPI

OpenAI-compatible text-to-speech server for the Kokoro-82M model

Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
5.7k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 34 weeks+1,157
28 Mar 2026: 4,583 stars4 Apr 2026: 4,627 stars11 Apr 2026: 4,672 stars18 Apr 2026: 4,696 stars25 Apr 2026: 4,726 stars2 May 2026: 4,756 stars9 May 2026: 4,778 stars16 May 2026: 4,808 stars23 May 2026: 4,844 stars30 May 2026: 4,887 stars6 Jun 2026: 4,931 stars13 Jun 2026: 4,962 stars20 Jun 2026: 5,021 stars27 Jun 2026: 5,047 stars4 Jul 2026: 5,069 stars11 Jul 2026: 5,175 stars18 Jul 2026: 5,204 stars25 Jul 2026: 5,241 stars1 Aug 2026: 5,267 stars8 Aug 2026: 5,293 stars15 Aug 2026: 5,325 stars22 Aug 2026: 5,362 stars29 Aug 2026: 5,379 stars5 Sept 2026: 5,408 stars12 Sept 2026: 5,433 stars19 Sept 2026: 5,461 stars26 Sept 2026: 5,488 stars3 Oct 2026: 5,514 stars10 Oct 2026: 5,535 stars17 Oct 2026: 5,567 stars24 Oct 2026: 5,602 stars31 Oct 2026: 5,641 stars7 Nov 2026: 5,675 stars14 Nov 2026: 5,707 stars21 Nov 2026: 5,740 stars

4,583 on 28 Mar 20265,740 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

FastAPI wrapper around the Kokoro-82M TTS model that exposes an OpenAI-style /v1/audio/speech endpoint with streaming and six output formats. It supports voice mixing with weights, inline multi-speaker tags, pause and rate tokens, SSML, and per-word timestamped captions. Prebuilt images exist for CPU, NVIDIA CUDA and experimental AMD ROCm, and an optional web UI is served at /web.

Who it is for: Self-hosters needing a local OpenAI-compatible TTS backend

Strengths

  • Drop-in for OpenAI speech clients: set base_url to localhost:8880/v1
  • Weighted voice mixing, aliases and inline [voice:] tags for multi-speaker audio
  • Streams audio; README cites ~300ms first-token latency on GPU
  • Prebuilt CPU and CUDA images for amd64 and arm64, with models baked in

Weaknesses

  • ROCm image is experimental and amd64 only
  • Apple Silicon GPU (MPS) works only via uv scripts, not Docker
  • Smaller chunks for low latency can add intonation artifacts
  • Voice tuning from a reference clip is English-only and off by default

What it needs

  • GPU optional
  • Docker + Compose
  • Needs Docker, uv, espeak-ng
  • Models: Kokoro-82M
  • port 8880

What changed

  1. v0.9.1 ↗ (opens in a new tab)Security fix

    CVE-2026-63374, CVE-2026-64847, CVE-2026-97687, CVE-2026-97688, CVE-2026-97689, CVE-2026-104851, GHSA-XMJ3-9GF7-H52W, GHSA-J456-XH4H-CPF2. “Dependency bumps to resolve upstream advisories; none reachable from a running server (see Notes for checks done).”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Open now, reported in the last 90 days

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Voice

See all 145
Also in Voice
RankProjectScore
#16Pocket TTSCPU-only text-to-speech model with voice cloning and streaming output Live demo ↗ (opens in a new tab)10.4k starsMIT80 out of 100
#17espnetPyTorch toolkit for speech recognition, synthesis, translation and enhancement Live demo ↗ (opens in a new tab)10k starsApache-2.080 out of 100
#19realtimesttPython speech-to-text library with VAD, wake words and realtime transcription10.3k stars+67 (+0.7%) in 30 daysApache-2.079 out of 100
#20dograhVisual builder for voice agents with telephony, a Vapi and Retell alternative Live demo ↗ (opens in a new tab)6.3k starsBSD-2-Clause79 out of 100
#21speechbrainPyTorch toolkit for training and running speech and text models12k starsApache-2.078 out of 100