Use AIUnderstand AIBuild with AI
Build with AI·Model deep dive·· 4 min read

Run ZONOS3-Mini: 100M-Active-Parameter TTS with Voice Cloning

Serve Zyphra's Apache-2.0 text-to-speech model with SGLang-Omni, call its OpenAI-style speech endpoint, clone a voice and stream audio.

The code in this post comes from the model's docs and hasn't been run in our CI yet. If something breaks, let us know.

ZONOS3-Mini is Zyphra’s compact open text-to-speech model. The card describes “natural reliable speech and high-fidelity voice cloning with just 100 million active parameters,” runs in real time on phones and laptops, and supports 43 languages. Weights are released under Apache 2.0. What makes it notable for developers is the range of ways to run it: in a browser through WebGPU, behind an OpenAI-compatible endpoint, or with native runtimes.

Key specs

All of these are from the model card.

Item Value
Parameters 800M total, about 100M active per token (latent MoE: 64 experts, top-2 routing)
Backbone 11 layers, model dim 1,024; 9 Gated DeltaNet layers + 2 global attention layers
Context 32,768 positions
Output audio 44.1 kHz, generated as 15 Hz frames from a dual codec
Max generation Up to 10 minutes of audio per generation
Voice prompt Reference clip (up to 60 s) or a single 192-d speaker embedding
Controls Loudness, bandwidth, and speaking rate (UTF-8 bytes per second)
Languages 43
Weights bf16 (model.pth); decoder heads run in fp32

The card reports 80 ms median time to first audio with 8 concurrent requests and a peak throughput of 457 seconds of audio per second, both on one H100 80GB. Those numbers come from Zyphra’s own measurements on that GPU. Don’t expect them on other hardware.

Pick a runtime

The card lists several ways to run it:

  • Browser (WebGPU): no install and no server. The first visit downloads the model and the browser caches it. The card links a full studio and a “Lite” page for quick voice cloning.
  • SGLang-Omni: serves the model on NVIDIA GPUs behind an OpenAI-compatible /v1/audio/speech endpoint, with streaming and voice cloning.
  • Native runtimes from the ZONOS3-Mini GitHub repository: a CUDA server, an MLX server for Apple Silicon, a C++/ggml server and CLI (CPU, CUDA, Metal or Vulkan), and the WebGPU build. They load the GGUF files in gguf/ and the WebGPU shards in web/.

The rest of this post uses SGLang-Omni, because it is the path with commands in the card.

Install and serve

Install SGLang-Omni by following its installation guide. Then start a server:

Terminal window
sgl-omni serve --model-path Zyphra/ZONOS3-Mini --port 8000

Wait until the health check reports "healthy":

Terminal window
curl http://localhost:8000/health

Generate speech with the default voice

From another terminal:

Terminal window
curl -X POST http://localhost:8000/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"input": "Hello from ZONOS3-Mini!"}' \
--output output.wav

Clone a voice

Add a references field to the request body. The card says cloning works from a reference clip and needs no transcript:

Terminal window
curl -X POST http://localhost:8000/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"input": "Hello from ZONOS3-Mini!", "references": [{"audio_path": "<reference clip>"}]}' \
--output cloned.wav

Replace <reference clip> with the path to your audio file. The card shows only the field shape, not a full cloning request, so check the ZONOS3 cookbook for details. The cookbook covers voice cloning, streaming and sampling options.

Clone only voices you have permission to use.

Stream audio

For streaming, the card says to add "stream": true and "response_format": "pcm", which streams 44.1 kHz audio as it is generated:

Terminal window
curl -X POST http://localhost:8000/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"input": "Streaming from ZONOS3-Mini.", "stream": true, "response_format": "pcm"}' \
--output stream.pcm

The card doesn’t specify the sample format of the PCM stream beyond 44.1 kHz, so confirm it in the cookbook before you play it back or feed it to a player.

Gotchas

  • SGLang-Omni needs NVIDIA GPUs. For Apple Silicon, CPU, Vulkan or a browser, use the native or WebGPU runtimes instead.
  • Text normalization is language-dependent. The card says NeMo normalization is applied for English, Mandarin, Japanese, Korean, German, Spanish, French, Italian and Portuguese. Other languages pass through as written, so numbers, dates and abbreviations in those languages may not be spoken as you expect.
  • Reference clip length. The card lists up to 60 seconds for a raw reference clip.
  • Speaker embedding option. Instead of a clip, a single 192-d speaker embedding can condition the voice. The card’s evaluation measured ZONOS3-Mini with the speaker-embedding prompt.
  • Decoder variants. full_mr is the default decoder. keep2_plain is a pruned variant the card describes as about 3x faster at decoding. The card doesn’t say how to select it in SGLang-Omni.
  • Default voices. The card mentions 27 default voices, grouped by language, in gguf/voices/ in the repository.
  • Quality numbers. The card’s quality comparison is a chart in the repository and a blog post. This post doesn’t repeat scores because the card text gives none. Test it on your own text and languages.

When to pick it

Pick ZONOS3-Mini when you want:

  • A permissively licensed TTS model that can run in a browser or on a laptop or phone.
  • An OpenAI-style speech endpoint you can self-host.
  • Voice cloning without a transcript.
  • Support for 43 languages from one model.

Think twice if you need a documented Python API with exact arguments. The card documents HTTP calls, not a Python library. Also be cautious if your language isn’t on the normalization list, or if you need guarantees about voice quality in a specific language. The card points to a blog post for evaluations rather than listing per-language results.

For anything involving real people’s voices, get consent first.

Related