
Chatterbox TTS Server
Self-hosted Chatterbox TTS with OpenAI-compatible API
Chatterbox TTS Server wraps Resemble AI’s Chatterbox models in a FastAPI service with a web UI, voice cloning, chunking for long texts, and CUDA, ROCm, or CPU backends.
OpenAI Text-to-Speech API by OpenAI is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to OpenAI Text-to-Speech API is CosyVoice, with 24.5k GitHub stars. Other open-source alternatives to OpenAI Text-to-Speech API are Chatterbox TTS Server. Most OpenAI Text-to-Speech API alternatives here are Machine Learning Infrastructure tools. The first 1 say in their own README or website that they can replace OpenAI Text-to-Speech API (the quote is shown under each one); the other 1 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.

Self-hosted Chatterbox TTS with OpenAI-compatible API
Chatterbox TTS Server wraps Resemble AI’s Chatterbox models in a FastAPI service with a web UI, voice cloning, chunking for long texts, and CUDA, ROCm, or CPU backends.
“The OpenAI-compatible /v1/audio/speech and /v1/audio/voices exist for drop-in replacement of OpenAI's TTS API.”
These projects don't call themselves a OpenAI Text-to-Speech API alternative, but two independent checks of their own description found they do the same main job.

Multilingual LLM-based text-to-speech and voice cloning
CosyVoice synthesizes speech from text across many languages and dialects, with zero-shot voice cloning and optional streaming output. It ships with training, inference, and deployment tooling for researchers and integrators.
“Fun-CosyVoice 3.0 is an advanced text-to-speech (TTS) system based on large language models (LLM), surpassing its predecessor (CosyVoice 2.0) in content consistency, speaker similarity, and prosody naturalness.”
Yes. 2 open-source projects can replace OpenAI Text-to-Speech API, for example CosyVoice and Chatterbox TTS Server. 1 of them says so in its own documentation; the other 1 do the same job.
CosyVoice (24.5k GitHub stars) is the most popular open-source alternative to OpenAI Text-to-Speech API on GitHub. Chatterbox TTS Server has the most recent code changes. To run it on your own server, look at Chatterbox TTS Server (self-hostable). The best choice depends on your needs: compare them side by side, for example CosyVoice vs Chatterbox TTS Server.
All of the 2 projects listed here are free to use under an open-source license, with no license fee: all permissive (such as Apache-2.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.