Kokoro-FastAPI

Docker server for the natural-sounding Kokoro text-to-speech model, with an OpenAI-style API

★ Stars5.6k5,560 on GitHub
Last commit14 Oct 2026
LicenceApache-2.0SPDX, from the repository
View on GitHub ↗

From GitHub, fetched 19 Oct 2026.

Kokoro-FastAPI wraps the small but high-quality Kokoro TTS model in a Docker container with an OpenAI-compatible speech endpoint and a simple web UI. It runs on CPU or GPU and is commonly paired with Open WebUI for spoken replies.

Self-hosting requirements

Runs withDocker, Python
DockerYes
The project README documents running it with Docker.

Sources: github.com/remsky/Kokoro-FastAPI, checked 19 Oct 2026. “Runs with” is from this listing. Blank means we haven't found it in official docs yet, not that it's unsupported.

Self-hosted alternative to

In collections

Related tools

GPT-SoVITS

Generative Artificial Intelligence (GenAI)

Voice cloning and text-to-speech from a few seconds to a minute of sample audio

Stars
★ 63.2k
Licence
MIT
Updated
  • Docker

Alternative to ElevenLabs

Piper

Generative Artificial Intelligence (GenAI)

Fast, lightweight local text-to-speech that even runs on a Raspberry Pi

Stars
★ 5.9k
Licence
GPL-3.0
Updated

Alternative to ElevenLabs

Speaches

Generative Artificial Intelligence (GenAI)

OpenAI-compatible speech server for transcription and text-to-speech

Stars
★ 3.7k
Licence
MIT
Updated
  • Docker

Alternative to OpenAI API, ElevenLabs

Ollama

Generative Artificial Intelligence (GenAI)

Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.

Stars
★ 184k
Licence
MIT
Updated
  • Docker

Alternative to ChatGPT

Open-WebUI

Generative Artificial Intelligence (GenAI)

User-friendly AI Interface, supports Ollama, OpenAI API.

Stars
★ 156k
Licence
BSD-3-Clause
Updated
  • Docker

Alternative to ChatGPT

Langflow

Generative Artificial Intelligence (GenAI)

Visual builder for AI agents and RAG workflows that you can deploy as APIs

Stars
★ 156k
Licence
MIT
Updated
  • Docker