K
remsky/Kokoro-FastAPI★ 5,756 · Python
Self-hosted Kokoro-82M speech inference over OpenAI-compatible HTTP and voice WebSockets
Apache-2.0 · Commercial Friendlyv0.10.0
Side-by-side 2026 comparison in Voice, Vision & Video: openai/whisper leads both total GitHub adoption (★ 114.1k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
Self-hosted Kokoro-82M speech inference over OpenAI-compatible HTTP and voice WebSockets
Local encoder-decoder Transformer for multilingual speech transcription and translation
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | remsky/Kokoro-FastAPI | openai/whisper |
|---|---|---|
| Total GitHub Stars | ★ 5,756 | ★ 114,119 |
| 24h / 7d Velocity | +2 / +14 | +66 / +548 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 97/100 | B+ · 66/100 |
| Deployment Signals | Self-Hosted · Docker · GPU · API | Local AI · GPU · CLI |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 3d ago | Updated 3mo ago |
| Latest Release | v0.10.0 | v20250625 |
| Best For | Teams adding local streaming TTS to voice agents, smart-home assistants, readers, or audiobook pipelines that can use Kokoro voices and have time to test target hardware | Local or offline batch processing of recordings where you need control over audio handling, checkpoint choice, and the balance between accuracy and throughput |
/v1/audio/speech supports OpenAI SDK streaming with MP3, WAV, Opus, FLAC, AAC, and PCM output./v1/realtime and ElevenLabs- and Cartesia-compatible WebSockets for voice agents.af_bella(2)+af_heart(1), shorten names with request-scoped aliases, or export a mix as a .pt file.docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:latest
transcribe() reads the full file and runs autoregressive decoding over sliding 30-second windows.turbo is optimized for transcription and returns source-language text even with --task translate.# on Ubuntu or Debian sudo apt update && sudo apt install ffmpeg # on Arch Linux sudo pacman -S ffmpeg # on MacOS using Homebrew (https://brew.sh/) brew install ffmpeg # on Windows using Chocolatey (https://chocolatey.org/) choco install ffmpeg # on Windows using Scoop (https://scoop.sh/) scoop install ffmpeg
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy