#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.
- Stars
- 5.7k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
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
- 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
- Multiple simultaneous requests or cancelling requests mid-stream causes server to crash ↗ (opens in a new tab)7 reactions · closed 9 Sept 2026Fixed by fix(streaming): close audio writer and generator on client disconnect (#288, #337) ↗ (opens in a new tab)
- Kokoro docker container crashes with exited code 139 (when using the open-webui "call" feature) ↗ (opens in a new tab)2 reactions · closed 27 Aug 2026Fixed by fix(streaming): close audio writer and generator on client disconnect (#288, #337) ↗ (opens in a new tab)
- IME composition Enter triggers find/replace in TextEditor ↗ (opens in a new tab)0 reactions · closed 28 Oct 2026Fixed by fix(web): keep find/replace out of IME composition ↗ (opens in a new tab)
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| Rank | Project | Score |
|---|---|---|
| #16 | Pocket TTSCPU-only text-to-speech model with voice cloning and streaming output | 80 out of 100 |
| #17 | espnetPyTorch toolkit for speech recognition, synthesis, translation and enhancement | 80 out of 100 |
| #19 | realtimesttPython speech-to-text library with VAD, wake words and realtime transcription | 79 out of 100 |
| #20 | dograhVisual builder for voice agents with telephony, a Vapi and Retell alternative | 79 out of 100 |
| #21 | speechbrainPyTorch toolkit for training and running speech and text models | 78 out of 100 |