
With parameters of 2B, 30 languages, and 48 kHz sampling rate, the system achieves a remarkable reduction in file size, compressing RTF to just 0.13 when not using a tokenizer.
VoxCPM2, a smart face-wall system, uses 2 million hours of multilingual data to train a 2B parameter model. It directly generates continuous speech representations by skipping discrete tokenization, supports one-sentence design for voice tones, and leverages vLLM to reduce the RTF (real-time factor) to as low as 0.13.
Related tags
2B Parameters, 30 Languages, 48kHz: Non-Tokenizer-Based Speech Synthesis Achieves RTF of 0.13
Summary: VoxCPM2, a voice cloning model trained on 20 million hours of multilingual data, generates continuous speech by skipping discrete tokenization and directly synthesizing audio. It supports describing "new sounds" in one sentence, outputs natively at 48kHz, and achieves an RTF (real-time factor) as low as 0.13 with vLLM acceleration.
While recent advancements in speech synthesis models focus on making the generated speech sound "more human-like," a key turning point lies in the ability to "design" voices. OpenBMB's VoxCPM2 achieves this by generating sounds based solely on natural language descriptions of gender, age, tone, emotion, and speaking speed, without relying on reference audio.
This repository currently has 40,272 stars, which is a significant number and indicates the potential of this project.
Avoiding the Token Approach
The mainstream approach to TTS involves first discretizing audio into tokens, and then using language models to predict these tokens. VoxCPM's innovative approach is to avoid tokenization altogether: it uses an end-to-end diffusion autoregressive architecture to directly generate continuous speech representations, bypassing this step. The model operates within the latent space of AudioVAE V2, with four sequential pipelines consisting of LocEnc → TSLM → RALM → LocDiT.
The advantage of avoiding tokenization is that it removes the limitation imposed by the vocabulary size, allowing for more nuanced and expressive sounds such as variations in tone, pauses, and emotional shifts. However, this comes at the cost of increased training and inference complexity. VoxCPM2 is based on MiniCPM-4, with a parameter count of 2B, trained on over 20 million hours of multilingual voice data.
Four Capabilities, One 48kHz
- 30 Languages Out-of-the-Box: Directly synthesize text in any supported language without requiring language tags. Nine dialects of Chinese are also supported: Sichuanese, Cantonese, Wu, Northeastern Mandarin, Mandarin from Henan, Mandarin from Shaanxi, Mandarin from Shandong, Tianjin dialect, and Taiwanese Min Nan.
- Voice Design: Create sounds based on pure text descriptions, without needing reference audio.
- Controllable Cloning: Clone voices from short snippets of reference audio while simultaneously adjusting the emotional tone, speaking speed, and expression style using instructions, all while maintaining the original voice.
- Ultimate Cloning: Provide both reference audio and its transcript text, allowing the model to seamlessly continue from the reference, preserving all details of the voice, including tone, rhythm, emotion, and style.
A key design element on the output side is the asymmetric encoding/decoding of AudioVAE V2: it takes a 16kHz reference audio and directly outputs a 48kHz studio-quality audio, with built-in super-resolution capabilities that do not require external upsampling devices. Comparing the evolution of versions highlights the ambition of this line – 0.5B is for 16kHz, VoxCPM1.5 is for 44.1kHz, and VoxCPM2 directly outputs at 48kHz, while language support expands from 2 to 30 languages.
Latency: What Remains Beyond Real-Time
RTF (real-time factor) is a key metric for determining whether TTS can be used in real-time applications. An RTF of less than 1 is required for real-time performance. VoxCPM2 achieves an RTF of approximately 0.30 on a single RTX 4090, with approximately 8GB of memory usage; after acceleration with Nano-vLLM or vLLM-Omni, it drops to around 0.13, the latter being a supported multi-modal service with PagedAttention and OpenAI compatible API, supporting batch concurrent requests – this largely determines its feasibility as a SaaS product.
If the goal is edge deployment, using llama.cpp-omni: a C++ inference engine that natively supports VoxCPM2's GGUF weights, covering CPU, Metal, CUDA, and Vulkan. The official reference data shows an RTF of approximately 1.76 on Apple M4 Pro with Metal backend and Q8_0 quantization – which is slightly slower than real-time, suitable for offline generation or applications where latency is not a critical factor, such as embedded systems.
Getting Started
pip install voxcpm
The required environment is Python ≥ 3.10 and < 3.13, PyTorch ≥ 2.5.0, and CUDA ≥ 12.0. The simplest way to use it involves three lines of code: VoxCPM.from_pretrained("openbmb/VoxCPM2") to obtain the model, model.generate(text=..., cfg_value=2.0, inference_timesteps=10, seed=42) to generate audio, and model.tts_model.sample_rate to retrieve the sampling rate when writing files. The official documentation also provides CLI, Web Demo, SFT (Speech-to-Text), and LoRA (Low-Rank Adaptation) fine-tuning scripts.
The weights and code are licensed under Apache-2.0, making it commercially usable. The technical report is available on arXiv (2606.06928), and the multi-language understandability has been evaluated using a 30-language × 500-sample internal benchmark for ASR retranslation.
A Noteworthy Signal
Compared to VoxCPM1.5, the key focus of VoxCPM2 is on making voice control possible: designing sounds, controlling style and expression through instructions, and offering different levels of cloning control. As audio synthesis quality moves beyond simply sounding "human-like," the ability to control these aspects becomes crucial – for example, a voice actor might want to make a character's voice sound "colder" rather than just mimicking a human 0.1%.
The repository address is: https://github.com/OpenBMB/VoxCPM
More News
Want to see more quality content?
Browse all news