Winter 2026 · Sent from Tranquility Base
Visit the moon studio ↗
AI tools

GLM-TTS Voice Cloning Test: Free for Commercial Use

In my tests, Z.ai’s open-source GLM-TTS read 4 of 5 English lines correctly and just 6 of 20 lines mixing Simplified Chinese and English.

An astronaut holding a blank cue card sits at a microphone inside the lunar base. A machine on the desk turns a stack of cards into glowing sound waves that travel toward the microphone. A small robot sorts cards nearby.
An astronaut holding a blank cue card sits at a microphone inside the lunar base. A machine on the desk turns a stack of cards into glowing sound waves that travel toward the microphone. A small robot sorts cards nearby.

GLM-TTS is Z.ai’s open-source text-to-speech (TTS) model for voice cloning. Give it 3 to 10 seconds of reference audio and a verbatim transcript, and it can read Chinese or English in the same voice.

Z.ai used reinforcement learning to make the delivery sound more natural. During training, the model was rewarded for matching the voice, getting the words right, and reproducing emotions and laughter. The model weights are MIT-licensed and free for commercial use.

I used audio.cpp to run the Q8 quantized model on the integrated GPU in my usual Linux laptop (Intel Core Ultra 5 322). The laptop has no dedicated GPU.

Test results

Item

Result

Built-in voices

None. Voice cloning only

Traditional Chinese input

0 of 20 mixed Chinese-English lines fully correct

Simplified Chinese input

6 of 20 mixed Chinese-English lines fully correct

Reference transcript

Required. Use simplified characters for Chinese

English

4 of 5 lines fully correct. The line containing CLI had errors

Languages

Chinese and English only

Emotion control

No direct control. Delivery follows the reference recording

Speed

About 20 to 30 seconds per cloned line

Model file

5.14 GB for Q8

License

Apache 2.0 for the code, MIT for the weights. Both allow commercial use

What is GLM-TTS? Can you use it commercially?

  • Release: The code is on GitHub, the weights are on Hugging Face, and the paper is on arXiv.
  • License: The code is under Apache 2.0 and the model weights are under MIT. Both are free for commercial use.
  • Languages: Chinese and English.
  • Cloning only: There are no built-in voices. You need both a reference recording and its transcript.
  • Reinforcement learning: The training rewards account for voice similarity, character error rate, emotion, and laughter. The paper reports a 0.89% character error rate (CER) for the reinforcement-learning model on the Chinese portion of Seed-TTS-eval.
  • Output: 24 kHz.

How I tested

I use the same set of lines across TTS models. There’s an everyday line for judging audio quality, two lines with English tech jargon, and translations of the same lines for testing other languages. I normally test one happy line and one sad line when a model lets me specify emotion. GLM-TTS has no emotion controls, so I skipped that part.

I used reference recordings from public speech datasets. For the 20-line Chinese test, I used a recording of a woman reading in Mandarin from Mozilla Common Voice (CC0). For the English tests and the three-line Simplified Chinese test, I used recordings of native speakers from Google FLEURS (CC BY 4.0). I generated each line just once and checked the results with Whisper and Qwen3-ASR.

Test 1: Audio quality

I used the clip below to clone a native English speaker’s voice. GLM-TTS has no built-in voices, so every generated example uses the cloned voice.

Reference recording (Google FLEURS, CC BY 4.0): This became common practice, but the iron caused more wear on the wooden wheels of the wagons.
Cloned voice: Last weekend I took my camera for a walk on the beach. The sunset was beautiful. Want to come along next time?
Cloned voice: Welcome to my lunar base. I write about the tools I test, and I hope it helps you.
Cloned voice: I deployed the Cloudflare Worker, then checked the logs in the dashboard.

Whisper and Qwen3-ASR both transcribed all three generated lines correctly.

The reference transcript is required

The model needs a transcript of the reference recording even for English. It has to match what the speaker actually says. Errors in the transcript can carry over into the generated speech.

Test 2: English tech jargon

Cloned voice: I've already fixed this bug, I'll send you the PR for review in a bit.
Cloned voice: Claude Code works best in the CLI, where the agent can really go all out.

Both speech recognition models transcribed the line about the bug and PR correctly. In the second line, Whisper heard CLI as “clit” and Qwen3-ASR heard it as “cloud.”

Test 3: Traditional vs. Simplified Chinese

Chinese can be written with traditional or simplified characters. I tested the same 20 lines of Chinese mixed with English in both scripts. By Whisper’s count, none of the lines came out right with traditional characters, and some were hard to make sense of. With simplified characters, 6 of 20 came out right. Most of the errors in the other 14 lines involved English terms and names such as Sprint, Cloudflare, cold start, Godot, boss fight, and Midjourney. A few lines also had missing or misread Chinese characters.

When I wrote the reference transcript in traditional characters, the model added a few extra syllables at the start of each line, as though it were repeating the end of the transcript. Switching the transcript to simplified characters fixed that.

Language or input

Result

English

4 of 5 lines fully correct

Simplified Chinese (three-line test)

2 of 3 fully correct. The Claude Code and CLI line had errors

Chinese with English terms (20 lines)

0 fully correct with traditional characters, 6 after conversion to simplified characters

Other languages

Unsupported

The line containing CLI had errors with all three voices I cloned.

Traditional characters: 我們用 GitHub Actions 做 CI,每次 push 都會自動 deploy。 (“We use GitHub Actions for CI, and every push deploys automatically.”) The model misreads “我們” and “都會自動.”
Simplified characters: The same line, read correctly.

I use OpenCC’s t2s to convert both the lines and the reference transcript to simplified characters before feeding them to the model. The conversion leaves the wording intact.

opencc -c t2s -i lines-tw.txt -o lines-cn.txt

Running GLM-TTS locally with audio.cpp

The official implementation runs in Python. On a computer without a dedicated GPU, audio.cpp can run on Intel or AMD integrated graphics through Vulkan. The quantized models are in audio-cpp/audio.cpp-gguf on Hugging Face. The Q8 file is 5.14 GB, in part because some of the model is still stored at F16 precision.

When building audio.cpp, include GLM-TTS under its internal name, glm_tts.

./scripts/build_linux.sh --backend vulkan --model-set custom --models glm_tts --target audiocpp_cli

For cloning, pass the exact transcript of the reference recording. Use simplified characters for Chinese.

audiocpp_cli --task clon --family glm_tts --backend vulkan --mode offline \
  --model GLM-TTS_Q8.gguf \
  --batch-text-file lines.txt --out-dir out \
  --voice-ref ref.wav \
  --reference-text "参考录音的逐字稿"

Speed

Mode

Time per line

GLM-TTS cloning

About 20 to 30 seconds

IndexTTS-2.5 cloning

About 35 to 40 seconds

OmniVoice cloning

About 25 seconds

Drawbacks

  • Traditional Chinese is prone to misreads. None of the 20 mixed lines came out fully correct. Convert both the lines and the reference transcript to simplified characters.
  • Simplified input still has frequent errors. Only 6 of 20 mixed lines were fully correct.
  • A transcript is mandatory. Mistakes in it can carry over to the generated speech.
  • Only Chinese and English are supported.
  • There are no built-in voices or emotion controls. The delivery comes from the reference recording.
  • The line containing CLI had errors with all three cloned voices.
  • The model file is large. The Q8 version takes 5.14 GB.

Final thoughts

GLM-TTS is free for commercial use and reads everyday English accurately. Chinese mixed with English was harder: even with Simplified input, only 6 of 20 lines were fully correct. It supports just two languages, has no built-in voices or emotion controls, and the Q8 file is 5.14 GB.

Ming 3.0 TTS also allows commercial use, and it’s smaller, faster, and supports more languages. For emotion control, I’d pick IndexTTS-2.5.

The cloned voice sounds like the original to me, but the error rate is too high. When open-source TTS models sound similar, I care most about whether they get the words right. I wouldn’t use GLM-TTS.

Can I use GLM-TTS commercially?

Yes. The code is under Apache 2.0 and the weights are under MIT. Both licenses allow commercial use.

Which languages does GLM-TTS support?

Chinese and English only.

Should I use simplified or traditional Chinese characters?

Use simplified characters. With traditional characters, none of my 20 lines mixing Chinese and English came out right. After conversion to simplified characters, 6 came out right. When the reference transcript used traditional characters, the model added a few extra syllables at the start of each line. Switching the transcript to simplified characters fixed that.

Does GLM-TTS require a transcript?

Yes. Voice cloning requires a reference recording and a transcript that matches it exactly.

Can GLM-TTS control emotion?

There’s no direct emotion setting. Reinforcement learning makes the delivery more natural, but the tone mainly follows the reference recording.

Can I run GLM-TTS without an NVIDIA GPU?

Yes, using audio.cpp and a quantized GGUF model. I ran the 5.14 GB Q8 version through Vulkan on an Intel laptop without a dedicated GPU. Cloning took about 20 to 30 seconds per line.

If you’ve tried GLM-TTS, share what you found on Threads or X.