Run this model with HF Jobs
Run moonbox-dev/ZONOS3-Mini-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/moonbox-dev/ZONOS3-Mini-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/moonbox-dev/ZONOS3-Mini-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use moonbox-dev/ZONOS3-Mini-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/ZONOS3-Mini-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/ZONOS3-Mini-MLX --local-dir ZONOS3-Mini-MLX
- Zonos
How to use moonbox-dev/ZONOS3-Mini-MLX with Zonos:
# pip install git+https://github.com/Zyphra/Zonos.git import torchaudio from zonos.model import Zonos from zonos.conditioning import make_cond_dict model = Zonos.from_pretrained("moonbox-dev/ZONOS3-Mini-MLX", device="cuda") wav, sr = torchaudio.load("speaker.wav") # 5-10s reference clip speaker = model.make_speaker_embedding(wav, sr) cond = make_cond_dict(text="Hello, world!", speaker=speaker, language="en-us") codes = model.generate(model.prepare_conditioning(cond)) audio = model.autoencoder.decode(codes)[0].cpu() torchaudio.save("sample.wav", audio, model.autoencoder.sampling_rate) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
ZONOS3-Mini MLX
MLX builds of ZONOS3-Mini, made by Moonbox for Apple Silicon Macs. Each precision is a folder; keep a folder's files together. Only the parts listed below are converted: the rest of the pipeline comes from the original repository unless the section below says otherwise.
Files
The last column is how far each build is from the original PyTorch model on the same inputs (see the section below for what was measured).
| Precision | File | Size | sha256 | Checked against the original |
|---|---|---|---|---|
| bf16 | bf16/codec.safetensors |
452.3 MB | e31dbebfa0ab |
WER 0.0 % / CER 0.0 % (original 0.0 / 0.65), speaker similarity 0.961 / 0.959 (0.961 / 0.955), DNSMOS 3.33 / 3.32 (3.28 / 3.22); RTF 0.31, peak 3.2 GB |
| bf16 | bf16/config.json |
4.4 kB | 6358e8483593 |
(the same build: numbers in its first row) |
| bf16 | bf16/lm.safetensors |
1.77 GB | 7d96c6a5c492 |
(the same build: numbers in its first row) |
| bf16 | bf16/mlx_model.py |
52.6 kB | 8ba04c4f7a94 |
(the same build: numbers in its first row) |
| bf16 | bf16/speaker.safetensors |
45.4 MB | 8d7a56da49dc |
(the same build: numbers in its first row) |
| bf16 | bf16/tokenizer.json |
0.6 MB | 90322f910600 |
(the same build: numbers in its first row) |
| fp16 | fp16/codec.safetensors |
452.3 MB | e31dbebfa0ab |
WER 0.0 % / CER 0.0 %, similarity 0.963 / 0.959, DNSMOS 3.32 / 3.34; RTF 0.26, peak 3.2 GB |
| fp16 | fp16/config.json |
4.4 kB | 35bdcfa16b25 |
(the same build: numbers in its first row) |
| fp16 | fp16/lm.safetensors |
1.77 GB | d0197ba9c403 |
(the same build: numbers in its first row) |
| fp16 | fp16/mlx_model.py |
52.6 kB | 8ba04c4f7a94 |
(the same build: numbers in its first row) |
| fp16 | fp16/speaker.safetensors |
45.4 MB | 8d7a56da49dc |
(the same build: numbers in its first row) |
| fp16 | fp16/tokenizer.json |
0.6 MB | 90322f910600 |
(the same build: numbers in its first row) |
| 8bit | 8bit/codec.safetensors |
452.3 MB | e31dbebfa0ab |
WER 0.0 % / CER 0.0 %, similarity 0.969 / 0.959, DNSMOS 3.27 / 3.38; RTF 0.27, peak 2.2 GB |
| 8bit | 8bit/config.json |
4.5 kB | 3b1c9ebb1c48 |
(the same build: numbers in its first row) |
| 8bit | 8bit/lm.safetensors |
989.8 MB | 4e46c03ee407 |
(the same build: numbers in its first row) |
| 8bit | 8bit/mlx_model.py |
52.6 kB | 8ba04c4f7a94 |
(the same build: numbers in its first row) |
| 8bit | 8bit/speaker.safetensors |
45.4 MB | 8d7a56da49dc |
(the same build: numbers in its first row) |
| 8bit | 8bit/tokenizer.json |
0.6 MB | 90322f910600 |
(the same build: numbers in its first row) |
| 6bit | 6bit/codec.safetensors |
452.3 MB | e31dbebfa0ab |
WER 0.0 % / CER 0.0 %, similarity 0.960 / 0.960, DNSMOS 3.10 / 3.30; RTF 0.32, peak 2.1 GB |
| 6bit | 6bit/config.json |
4.5 kB | 76ec3d9447f2 |
(the same build: numbers in its first row) |
| 6bit | 6bit/lm.safetensors |
781.1 MB | 18101b30366d |
(the same build: numbers in its first row) |
| 6bit | 6bit/mlx_model.py |
52.6 kB | 8ba04c4f7a94 |
(the same build: numbers in its first row) |
| 6bit | 6bit/speaker.safetensors |
45.4 MB | 8d7a56da49dc |
(the same build: numbers in its first row) |
| 6bit | 6bit/tokenizer.json |
0.6 MB | 90322f910600 |
(the same build: numbers in its first row) |
| 4bit | 4bit/codec.safetensors |
452.3 MB | e31dbebfa0ab |
below threshold (experimental): WER 1.8 % / CER 10.4 %, similarity 0.955 / 0.957, DNSMOS 3.03 / 3.08; RTF 0.27, peak 2.0 GB |
| 4bit | 4bit/config.json |
4.5 kB | 80d85cacec91 |
(the same build: numbers in its first row) |
| 4bit | 4bit/lm.safetensors |
572.4 MB | a347dc14f5f4 |
(the same build: numbers in its first row) |
| 4bit | 4bit/mlx_model.py |
52.6 kB | 8ba04c4f7a94 |
(the same build: numbers in its first row) |
| 4bit | 4bit/speaker.safetensors |
45.4 MB | 8d7a56da49dc |
(the same build: numbers in its first row) |
| 4bit | 4bit/tokenizer.json |
0.6 MB | 90322f910600 |
(the same build: numbers in its first row) |
How to run
ZONOS3-Mini (Zyphra: text to speech with voice cloning in 43 languages, 44.1 kHz; a 0.9 B hybrid Gated DeltaNet /
attention language model with 64 latent experts, about 0.1 B active per frame, predicting the 10 codebooks of the
ZAC 1 codec) on MLX. Each folder is the whole pipeline for mlx_model.py, the
one-file runtime that sits in it (mlx, numpy; no PyTorch): Zyphra's own MLX networks (from their repo's MLX server)
reading safetensors, and the request path of their plain-PyTorch reference (zonos3.reference.synth) with its
default sampler, cloning a voice from its speaker embedding.
| File | What |
|---|---|
lm.safetensors |
the language model: 11 layers (9 Gated DeltaNet + 2 global attention), Full AttnRes, latent MoE (64 experts, top 2), text / audio / condition / speaker rows, 10-codebook head |
codec.safetensors |
the ZAC 1 codec decoder (keep2_plain: causal multi-resolution iSTFT head), Zyphra's zac-keep2.gguf values unchanged: 452 MB |
speaker.safetensors |
the MECT-B2 speaker encoder: a clip -> 192-value embedding, Zyphra's spk-encoder.gguf values unchanged: 45 MB |
tokenizer.json, config.json, mlx_model.py |
SuperBPE text tokenizer; model, sampler and quantization settings; the runtime |
pip install mlx numpy soundfile
hf download moonbox-dev/ZONOS3-Mini-MLX --include "8bit/*" --local-dir zonos3
import sys, soundfile as sf
sys.path.insert(0, "zonos3/8bit")
from mlx_model import Zonos3
model = Zonos3.load("zonos3/8bit")
voice = model.speaker_embedding("voice.wav") # 192-value embedding of a few seconds of the voice
audio = model.generate("Hello from Moonbox.", speaker_embedding=voice, language="en_us", seed=0)
sf.write("out.wav", audio, model.sample_rate) # float32 mono, 44.1 kHz
language is the reference's language code (en_us, cmn, de, fr_fr, ja, ...; config.json lists them).
Text normalization uses Zyphra's zyphra_textnorm package when it is installed, as the original does; without it
only line breaks are collapsed, so spell out numbers and symbols yourself. Not in this runtime: cloning from a clip's
codec codes (the original's speaker_mode=reference, which needs the 4 GB codec encoder: generate(reference_codes=...)
takes precomputed [frames, 10] codes such as Zyphra's voices' .codes.npy), steering, accents, speech editing,
streaming.
8bit/, 6bit/ and 4bit/ quantize every matrix of the language model (attention, Gated DeltaNet projections, the
experts, the latent projections, the output head; MLX affine, group size 64). The routers, the speaker projection,
the embedding tables, the codec decoder and the speaker encoder keep their precision in every folder (0.5 GB of each).
Activations are float32 in every build, as in Zyphra's MLX runtime, so fp16/ has no overflow risk. 4bit/ is
experimental: it fails the check below (repeated or garbled words).
How they were checked. The bf16 port against the original PyTorch model in float32, fed the same tokens: logits cosine >= 0.999999 and the same top token 99.9 % of the time; speaker embedding cosine 0.99996; codec decoder 43-51 dB SNR. Then 10 sentences (6 English, 4 Chinese) x 2 seeds, each cloning a prompt voice from its speaker embedding, by the original (Zyphra's reference pipeline, PyTorch float32 on the CPU) and every MLX build. Error = WER / CER of Whisper's transcript of the speech; similarity = WavLM speaker similarity to the prompt; DNSMOS = predicted quality. Pass: error at most 2 points above the original's, similarity at most 0.03 and DNSMOS at most 0.2 below, in each language.
| Precision | Size | WER en / CER zh | Speaker similarity en / zh | DNSMOS en / zh | Real-time factor, M5 24 GB |
|---|---|---|---|---|---|
| original (PyTorch float32, CPU) | - | 0.0 % / 0.65 % | 0.961 / 0.955 | 3.28 / 3.22 | 22.9 |
bf16/ |
2.27 GB | 0.0 % / 0.0 % | 0.961 / 0.959 | 3.33 / 3.32 | 0.31 |
fp16/ |
2.27 GB | 0.0 % / 0.0 % | 0.963 / 0.959 | 3.32 / 3.34 | 0.26 |
8bit/ |
1.49 GB | 0.0 % / 0.0 % | 0.969 / 0.959 | 3.27 / 3.38 | 0.27 |
6bit/ |
1.28 GB | 0.0 % / 0.0 % | 0.960 / 0.960 | 3.10 / 3.30 | 0.32 |
4bit/ (experimental) |
1.07 GB | 1.8 % / 10.4 % | 0.955 / 0.957 | 3.03 / 3.08 | 0.27 |
Real-time factor = generation time / audio length (lower is faster), one sentence at a time, including the speaker embedding and the decode; measured with other jobs running on the machine, so a quiet machine is faster.
Licence: the weights are Apache-2.0, as Zyphra's original (Zyphra/ZONOS3-Mini); mlx_model.py contains code from
Zyphra's ZONOS3-Mini repository (MIT).
How these were made
From ZONOS3-Mini at revision 2921b88217: the original weights loaded in MLX and stored as bf16 or fp16, or
quantized with MLX's affine quantization (8bit, 6bit, 4bit, group size 64; layers MLX can't quantize, such as
convolutions and norms, stay bf16). Every build was checked against the original before upload; the sha256 column
above is what the files must hash to.
License
Apache-2.0. These files are a derivative of the original model and carry its license: it is copied in this repository, and it governs your use of these files. The original model card follows unchanged.
Original model card
ZONOS3-Mini
ZONOS3-Mini is Zyphraโs compact, open-source text-to-speech model, delivering natural reliable speech and high-fidelity voice cloning with just 100 million active parameters. It runs in real time on phones and laptops, including directly in the browser.
Clone a voice from an audio sample, or design a character by shaping age, accent and vocal texture. Steer emotion, pace and delivery down to individual words for games, narration and voice assistants.
Run ZONOS3-Mini locally with our browser and native runtimes, or access it through Zyphra Cloud. Model weights are released under Apache 2.0.
Model details, samples and evaluations are in the blog post. A hosted version is available at Zyphra Cloud.
Languages
ZONOS3-Mini supports 43 languages.
| Region | Languages |
|---|---|
| Western and Southern Europe | English, French, Spanish, German, Italian, Portuguese, Dutch, Greek |
| Northern Europe | Swedish, Danish, Norwegian, Finnish |
| Central and Eastern Europe | Polish, Czech, Slovak, Hungarian, Romanian, Bulgarian, Russian, Ukrainian |
| Middle East and Caucasus | Turkish, Arabic, Hebrew, Georgian |
| East Asia | Mandarin Chinese, Japanese, Korean |
| Southeast Asia | Vietnamese, Indonesian, Malay, Thai, Tagalog |
| South Asia | Hindi, Bengali, Tamil, Telugu, Marathi, Gujarati, Kannada, Malayalam, Punjabi, Odia, Urdu |
Quick start
In your browser
ZONOS3-Mini runs entirely on your own GPU through WebGPU: no install and no server. The first visit downloads the model, and the browser keeps it cached for later visits. You need a browser with WebGPU support.
- Zonos Voice Studio: the full studio.
- Lite: quick voice cloning. Pick, upload or record a voice and speak with it.
With SGLang
SGLang-Omni serves ZONOS3-Mini on NVIDIA GPUs behind the OpenAI-compatible
/v1/audio/speech endpoint, with streaming and voice cloning from a reference clip (no transcript needed). Install SGLang-Omni
by following its installation guide,
then start a server:
sgl-omni serve --model-path Zyphra/ZONOS3-Mini --port 8000
Once curl http://localhost:8000/health reports "healthy", generate speech with the default voice from another terminal:
curl -X POST http://localhost:8000/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"input": "Hello from ZONOS3-Mini!"}' \
--output output.wav
Add "references": [{"audio_path": "<reference clip>"}] to clone a voice, or "stream": true, "response_format": "pcm" to
stream 44.1 kHz audio as it is generated. The ZONOS3 cookbook
covers voice cloning, streaming and the sampling options.
Native runtimes
The ZONOS3-Mini GitHub repository holds Zyphra's own runtimes, which share one HTTP
API and serve the Zonos Voice Studio: a CUDA server for NVIDIA GPUs, an MLX server for Apple Silicon, a C++/ggml server and CLI
(CPU, CUDA, Metal or Vulkan), and the in-browser WebGPU build.
They load the GGUF files in gguf/ and the WebGPU shards in
web/; the 27 default voices, grouped by language, are in
gguf/voices/.
Architecture (rough outline)
Text is NeMo-normalized (English, Mandarin, Japanese, Korean, German, Spanish, French, Italian, Portuguese; other languages pass through as written) and encoded with an 8,192-entry SuperBPE tokenizer. The language model autoregressively generates 15 Hz dual-codec frames (10 codebooks of 4,096 entries each: one semantic codebook distilled from the Wav2Vec2-BERT teacher plus nine acoustic codebooks), conditioned on the text, a speaker prompt and three bucketed acoustic controls. A causal multi-resolution iSTFT head renders the frames to 44.1 kHz audio as they are produced.
Inference pipeline. Speaker conditioning (raw reference codes or a speaker-embedding row), control rows and SuperBPE text enter the hybrid GDN/attention MoE backbone, which predicts all ten codebooks of the next frame under the delay pattern (four drawn); as soon as a frame's last codebook is generated, the codec's causal iSTFT head renders that frame to audio.
| ZONOS3-Mini | |
|---|---|
| Backbone | 11 layers, model dim 1,024; 800M parameters total, about 100M active per token (latent MoE: 64 experts, top-2 routing, from layer 1) |
| Sequence mixer | pattern gdn3_global1: 9 Gated DeltaNet (GDN) layers + 2 global attention layers (16 heads x 32 dims, 4 KV heads), attention residuals (full_attnres); context 32,768 positions |
| Text | SuperBPE, 8,192 entries (+4 specials), NeMo text normalization at inference |
| Audio tokens | 15 Hz, 44.1 kHz dual-encoding codec, 10 x 4,096 codebooks (1 semantic + 9 acoustic); hop 2,940 samples; up to 10 minutes of audio per generation |
| Speaker prompt | raw reference clip (encoded by the codec into a token prefix, up to 60 s, with speaker CFG) or a single 192-d MECT-B2 speaker embedding (ownmect_s2) |
| Controls | loudness (LUFS, 10 buckets), bandwidth f_max (Hz, 10 buckets), speaking rate (UTF-8 bytes per second, 30 buckets); each row has an "unknown" index; bucket edges in params.json (condition_edges) |
| Decoder | causal multi-resolution iSTFT head: full_mr (default) or keep2_plain (pruned, about 3x faster decode) |
| Precision | bf16 weights (model.pth); decoder heads run in fp32 |
ZAC 1 (Zyphra Audio Codec 1).
Evaluations
Full results and the ZTTS2 capability index are in the blog post.
Quality against speed on one H100 80GB. Quality combines macro speaker similarity and macro WER over the 55 language subsets of ZTTS2-Eval (benchmark version 2: FLEURS-R read speech in 35 languages and VoxBlink2 in-the-wild recordings in 20 languages) as ยฝ z(similarity) โ ยฝ z(WER) across the systems shown; ZONOS3-Mini is measured with the speaker-embedding prompt. Left: median time to first audio with 8 concurrent requests (80 ms for ZONOS3-Mini). Right: peak throughput at each model's best concurrency (457 seconds of audio per second for ZONOS3-Mini).
Citation
If you find this model useful in an academic context, please cite the technical report:
@misc{zyphra2026zonos3mini,
title = {{ZONOS3-Mini Technical Report}},
author = {Gabriel Clark and Sofian Mejjoute and George Close and Beren Millidge},
year = {2026},
eprint = {2611.16525},
archivePrefix = {arXiv},
primaryClass = {cs.SD},
url = {https://arxiv.org/abs/2611.16525},
}
Quantized
Model tree for moonbox-dev/ZONOS3-Mini-MLX
Base model
Zyphra/ZONOS3-Mini

