Model reference · open weights

leokani-tts-7M

Audio milliwattlabs Text→speech 1 build Non-commercial 512 dl/mo

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.

  • Leokani-tts is a 7M parameter text-to-speech model by Milliwatt Labs designed for fast English speech synthesis on CPUs without a GPU.
  • It features two American English voices, Dala and Pono, and runs on various platforms including mobile devices and microcontrollers.
  • The model is licensed under CC BY-NC 4.0.

Summary of the milliwattlabs/leokani-tts-7M model card, 2026-11-08

What it is

Released bymilliwattlabs
Released2026-10-30
Parameters7M
VRAM21 MB for the weights

What it runs on

Memory and cards for leokani-tts-7M (FP32)

21 MBweights, file size
1.6 GBruntime overhead
CardOne streamMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What milliwattlabs says about leokani-tts-7M

Read 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:

  • Try it in your browser: the Hugging Face Space and the model page run Leokani locally in JavaScript; your text never leaves your device.
  • Mac app and a command-line tool with an MCP server for AI assistants.
  • Android app, which also works as the phone's system text-to-speech voice.
  • Linux and Raspberry Pi command-line tool (x86_64 and ARM64).
  • Home Assistant: add https://github.com/Milliwatt-Labs/home-assistant-addons in the app store and install Leokani (amd64 and arm64). Also a Wyoming server and an OpenAI-compatible speech API in Docker.
  • JavaScript library for browsers and Node.js, and Python with ONNX Runtime or PyTorch (the files in this repo).

What's new

Samples

TextAudio
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.

Voices

VoiceFilesUse
Dalafemale, American Englishthis folderpython leokani.py "Hello there."
Ponomale, American Englishpono/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).

TextPono
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.

Usage

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.

Usage (ONNX)

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.

Specs

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.

On every

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms