Libra TTS: 16 languages, 8 voices, 0.3B parameters, faster than real time on a Mac or a PC

Multilingual text-to-speech model with 16 languages and 8 voices in 0.3B parameters, running faster than real time

Try it live Code on GitHub Listen to 13 samples

License: Apache 2.0 Apple silicon: MLX NVIDIA: CUDA ONNX Runtime Runs on macOS, Windows and Linux Python 3.10+ 16 languages Downloads GitHub stars

Libra TTS reads text in English, Chinese, Japanese, Korean, German, French, Spanish, Italian, Portuguese, Russian, Arabic, Hindi, Punjabi, Bengali, Urdu and Indonesian.

Samples

Default settings, seed 0, text exactly as written.

English Β· Nina
English Β· Bob
English, raw numbers and times Β· Sofia
Chinese Β· Aliya
Japanese Β· Maya
Korean Β· Sam
Spanish Β· Jon
French Β· Nina
German Β· Omar
Hindi Β· Omar
Punjabi Β· Bob
Arabic Β· Aliya
Portuguese Β· Sofia

Highlights

  • Lowest English error rate of the open models we tested: 1.64% WER, ahead of Magpie-357M, Kokoro-82M and both Qwen3-TTS models (2.74% at 1.7B, 3.21% at 0.6B).
  • Beats Qwen3-TTS 1.7B and 0.6B across their ten languages (1.77% average error vs 2.75% and 2.62%) at a sixth and a third of their size, and comes in below the 1.9B model it was distilled from (1.91%).
  • 16 languages, six more than Qwen3-TTS: adds Arabic, Hindi, Punjabi, Bengali, Urdu and Indonesian.
  • Fast: one sentence at a time 7.7x faster than real time on a MacBook Pro and 8.7x on an RTX 3090; 44x reading long text on a MacBook Pro and 72x on an RTX 3090; 2.4x on a CPU with ONNX.
  • Runs everywhere: Apple silicon (MLX), NVIDIA GPUs on Windows and Linux (PyTorch with CUDA graphs) and any CPU (ONNX Runtime); the live demo reads on a GPU.
  • Reads raw text: numbers, dates, times and currencies need no preprocessing.
  • Speaking styles: 12 styles from warm to whispering, read slower or faster.

Run it

On a Mac with Apple silicon, on the GPU with MLX:

pip install "libra-tts[ja] @ https://github.com/ekambrar100/Libra-TTS/archive/refs/heads/main.zip"
libra-tts "Some days, the smallest moments are the ones we remember." -o hello.wav

On an NVIDIA GPU, Windows or Linux (GeForce RTX 20-series or newer), with PyTorch and CUDA graphs. On Windows, install PyTorch with GPU support first (a plain pip install torch there has none):

pip install torch --index-url https://download.pytorch.org/whl/cu126
pip install "libra-tts[cuda,ja] @ https://github.com/ekambrar100/Libra-TTS/archive/refs/heads/main.zip"

An RTX 3090 reads one sentence at a time 8.7x faster than real time and long text 72x. On Linux, LibraTTS() also compiles its layers when it loads (a few seconds, cached), about 15% faster one sentence at a time.

On any CPU, with ONNX Runtime:

pip install "libra-tts[onnx,ja] @ https://github.com/ekambrar100/Libra-TTS/archive/refs/heads/main.zip"

In Python, LibraTTS() picks the first of MLX, CUDA and ONNX Runtime that is installed:

from libra_tts import LibraTTS

tts = LibraTTS()
tts.save("hello.wav", tts.synthesize("Hello from Libra.", voice="nina"))
tts.synthesize("It can keep a secret.", voice="nina", style="whispering")
tts.synthesize("Okay, you win.", voice="jon", style="wry")

Voices: nina (default), sofia, aliya, maya, omar, jon, bob, sam.

Languages: en zh ja ko de fr es it pt ru ar hi pa bn ur id, detected sentence by sentence from the script by default, so one text can mix languages (pass lang for Latin-script languages other than English).

Styles: warm cheerful excited sad frightened calm serious wry tender whispering dramatic documentary (pace="slow" / "fast").

Benchmarks

Error rate of a speech recognizer on the generated audio (Whisper-large-v3; Paraformer-zh for Chinese; Omnilingual ASR for Punjabi, Bengali, Urdu), seed-tts-eval scoring, lower is better. Every model ran with its own default settings and text processing on the same sentences, one read each. Parameters are each model's own weights as released, without a separate audio decoder (Libra and Qwen3-TTS use the same Qwen3-TTS codec decoder; Kokoro and KittenTTS have theirs built in). Qwen3-TTS's names count only the language model it grew from; its released weights are 1.9B (1.7B) and 0.9B (0.6B).

model parameters English WER 10-language average
Libra TTS 0.3B 1.64% 1.77%
Qwen3-TTS 1.7B 1.9B 2.74% 2.75%
Qwen3-TTS 0.6B 0.9B 3.21% 2.62%
Magpie-357M 357M 1.77% –
Kokoro-82M 82M 1.80% –
MOSS-TTS-Nano 100M 3.06% 8.83%
Soprano-1.1 80M 3.45% –
PocketTTS 100M 3.81% –
KittenTTS mini 0.8 74M 4.33% –

English: Seed-TTS-eval test-en + LibriSpeech-PC test-clean, 2,215 sentences.

Ten languages: the MiniMax multilingual test set, 100 sentences per language ("–": the model does not cover all ten).

Libra vs Qwen3-TTS on the average: βˆ’0.98 points vs 1.7B and βˆ’0.85 vs 0.6B (95% CIs exclude zero).

error % parameters en zh ja ko de fr es it pt ru
Libra TTS 0.3B 1.07 0.98 3.84 2.08 0.50 2.74 0.60 1.00 1.07 3.85
Qwen3-TTS 1.7B 1.9B 0.94 0.75 3.47 4.87 2.39 4.71 1.47 2.05 2.18 4.69
Qwen3-TTS 0.6B 0.9B 1.25 1.15 6.02 1.92 0.90 4.11 1.55 1.74 2.33 5.26

WER Beyond Qwen3-TTS's languages:

Arabic and Indonesian have WERs of 2.34% and 0.86%, respectively. Punjabi, Bengali and Urdu are low resource languages to the extent that the model WER is difficult to establish and separate from a recognizer's error.

Speed

MacBook Pro, M5 Max Libra TTS Qwen3-TTS 0.6B size Qwen3-TTS 1.7B
GPU (MLX), one sentence at a time 7.7x real time 5.1x 3.6x
peak memory 2.0 GB 3.8 GB 5.8 GB

20 English sentences of 5-25 s, end to end (text in, 24 kHz audio out); all three on the same MLX engine. Long text is read up to 64 utterances at a time: 15 minutes of audio in 20 seconds (44x real time, 4 GB peak).

ONNX Runtime on Mac CPU: 2.4x real time.

NVIDIA RTX 3090 (PyTorch, CUDA) Libra TTS
one sentence at a time (the same 20 sentences) 8.7x real time, 2.4 GB of GPU memory
long text, 64 utterances at a time 72x real time, 3.6 GB

Files

file
model.safetensors talker + residual-code predictor, bfloat16 (307M parameters)
codec.safetensors Qwen3-TTS 12 Hz codec decoder (114M; float32 head, float16 body)
onnx/ the same model as three ONNX graphs (talker, predictor, decoder), float32
tokenizer.json, config.json text tokenizer, model configuration
frontend/ English lexicon and abbreviation list, Chinese rare-token list

How it was made

Libra TTS is distilled from a fine-tuned Qwen3-TTS-12Hz-1.7B teacher. It has a 14-layer low-rank talker and a 5-layer residual-code predictor (307M parameters) built from the teacher's own weights through SVD (and then trained on over 9,000 hours of the teacher's speech) and the Qwen3-TTS 12 Hz codec decoder (114M). A final round of online reinforcement learning (GRPO) on the model's own readings in all 16 languages and lowered its error rate (ten-language average 1.93% to 1.77%).

License

Apache 2.0, have fun.

Downloads last month
236
Safetensors
Model size
0.3B params
Tensor type
BF16
Β·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Ekam/Libra-TTS

Quantized
(21)
this model

Space using Ekam/Libra-TTS 1