Model reference · open weights
leokani-tts-7M is an open-weight audio or speech model from milliwattlabs. leokani-tts-7M (FP32) weighs 21 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the milliwattlabs/leokani-tts-7M model card, 2026-11-08
What it is
| Released by | milliwattlabs |
|---|---|
| Released | 2026-10-30 |
| Parameters | 7M |
| VRAM | 21 MB for the weights |
What it runs on
| Card | One stream | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
Try it in your browser: Leokani-tts 7M on Hugging Face Spaces
Smaller: Leokani-tts 4.5M, for slower CPUs and microcontrollers.
Leokani-tts is a fast English text-to-speech model: high-quality speech in a tiny model for any CPU, no GPU needed. It speaks in two American English voices, Dala (female) and Pono (male), both trained on synthetic speech generated with Kokoro-82M. The name is Hawaiian: leo (voice) and kani (sound).
Leokani-tts is from Milliwatt Labs: AI measured in milliwatts, not megawatts. We build small, efficient models that run on the devices you already own, with no data center and no GPU.
Everything else is on milliwattlabs.com, free, with docs:
pono/.g2p/.leokani-tts-int4.onnx, a smaller ONNX file for a quicker download.| Text | Audio |
|---|---|
| Hello! I'm a small text-to-speech model, and I run on an ordinary computer. | |
| That sounds like a great plan! Let me know how it goes, and good luck tomorrow. | |
| Did you remember to water the tomatoes before the rain started? | |
| Your flight leaves on March 14th at 7:45 AM, and the fare is 219 dollars. | |
| The trail is 4.2 miles long, climbs about 1,200 feet, and takes around 3 hours. | |
| Maria Gonzalez and Hiroshi Tanaka are meeting Dr. Okafor in Minneapolis on Friday. | |
| The old lighthouse stood at the edge of the bay for more than a century, and every evening the keeper climbed one hundred and twelve steps to light the lamp. | |
| Sure, no problem. |
| Voice | Files | Use | |
|---|---|---|---|
| Dala | female, American English | this folder | python leokani.py "Hello there." |
| Pono | male, American English | pono/ | python leokani.py --model pono "Hello there." |
Pono has the same size and speed as Dala, in fp32 and fp16 (safetensors and ONNX: python leokani_onnx.py --model pono).
| Text | Pono |
|---|---|
| Hello! I'm a small text-to-speech model, and I run on an ordinary computer. | |
| Did you remember to water the tomatoes before the rain started? | |
| The old lighthouse stood at the edge of the bay for more than a century, and every evening the keeper climbed one hundred and twelve steps to light the lamp. |
hf download milliwattlabs/leokani-tts-7M --local-dir leokani-tts
cd leokani-tts
pip install -r requirements.txt # torch, safetensors
python leokani.py "Hello there. How was your day?" -o hello.wav
python leokani.py "A little slower, please." --speed 0.85 -o slow.wav
python leokani.py --fp16 "Same voice, half-size weights." -o fp16.wav
To turn text into phonemes, Leokani-tts uses espeak-ng by default, or Leokani G2P with --g2p leokani.
Leokani G2P is our own espeak-ng-compatible phonemizer, included in g2p/, so nothing else needs installing:
python leokani.py "Hello there. How was your day?" --g2p leokani -o hello.wav
espeak-ng is a separate dependency under GPL-3.0, and it is not included here. Install it with
brew install espeak-ng (macOS) or sudo apt install espeak-ng (Debian/Ubuntu), or point to it with
--espeak PATH. Or pass Kokoro-style phonemes with --phonemes "...". Leokani G2P on its own:
milliwattlabs/leokani-g2p.
pip install onnxruntime
python leokani_onnx.py "Hello there. How was your day?" -o hello.wav
python leokani_onnx.py "No espeak-ng needed." --g2p leokani -o g2p.wav
python leokani_onnx.py --int8 "Same voice, a smaller file." -o int8.wav
python leokani_onnx.py --int4 "The smallest file, with a small quality cost." -o int4.wav
INT8: ~half the size of FP16; rated the same as full precision in blind listening tests.
7.0M parameters · 28 MB (fp32) or 14 MB (fp16) safetensors · leokani-tts.onnx (fp32), leokani-tts-fp16.onnx
(fp16), leokani-tts-int8.onnx (int8, 7.8 MB) and leokani-tts-int4.onnx (int4, 4.9 MB, a smaller download with a
small quality cost) · 24 kHz mono output. Pono: pono/ holds the same fp32 and fp16 files.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.