· via dev.to (home feed)
OpenBMB's VoxCPM2 brings Apache-2.0 voice cloning and 30-language TTS to self-hosted GPUs
A dev.to comparison argues OpenBMB's Apache-2.0 VoxCPM2 can replace most paid TTS API spend: 2B parameters, voice cloning, text-designed voices, 30 languages and OpenAI-compatible serving.

What VoxCPM2 is
According to a dev.to comparison published in September 2026, OpenBMB, the team behind the MiniCPM model family, released VoxCPM2 in April 2026: a 2-billion-parameter text-to-speech model licensed under Apache-2.0. The model is tokenizer-free. Instead of first chopping speech into discrete tokens, it generates continuous speech representations through an end-to-end diffusion-autoregressive architecture, an approach the article credits with handling breathing, pacing and mid-sentence emotional shifts better than token-based systems.
Three capabilities ship in a single checkpoint. Plain TTS infers emotional colouring from the input text itself. Voice design lets a developer describe a voice in natural language, with no reference recording, and have the model invent it. Zero-shot cloning applies a voice from a short reference clip to new text; supplying the clip's transcript as well lets pacing and emphasis carry over, not just timbre. Output is 48 kHz audio in 30 languages, including Arabic, Hindi, Japanese and Turkish, plus nine Chinese dialects such as Cantonese and Sichuanese.
Running it locally
The article describes installation as a pip package plus a few gigabytes of weights, downloaded from Hugging Face on first run, usable through either a CLI or a Python API. Lighter checkpoints from the earlier 0.5B and 1.5B releases remain available for smaller hardware. Apple Silicon users can run those older checkpoints through the community MLX-Audio project, though its documentation indicates VoxCPM2 support has not landed yet. The author also suggests testing real sentences in the free Hugging Face playground before committing to a deployment.
On memory, the model loads in the 8 GB VRAM class, but the article advises budgeting for a 24 GB card once KV cache, concurrency and longer prompts enter the picture.
Serving in production
The serving story is what makes VoxCPM2 a credible replacement for a hosted API. The officially recommended production route is vLLM-Omni, which exposes an OpenAI-compatible /v1/audio/speech endpoint with batching and KV-cache management. For applications already calling OpenAI-shaped audio endpoints, the article argues, switching backends amounts to a small configuration change rather than a rewrite. The PyPI documentation it cites reports a real-time factor around 0.13 on an RTX 4090 via the Nano-vLLM-VoxCPM backend, versus roughly 0.3 for the plain PyTorch path, which works out to generation finishing several times faster than playback.
How it compares
The dev.to piece still rates ElevenLabs as the benchmark for convenience and consistent polish, pricing its API at $0.10 per 1,000 characters on the v3 tier and $0.05 on Flash/Turbo. Its suggested split: self-host the routine bulk of generation, roughly 80% for most products, and keep a hosted API for the most demanding remainder.
Other open-source options appear in the comparison. Resemble AI's Chatterbox is MIT-licensed with emotion-exaggeration control and cloning from about five seconds of audio, but covers 23 languages and lacks free-form voice design. Alibaba's Qwen3-TTS offers natural-language voice design and can run in as little as 4 GB VRAM in its 0.6B form, but supports 10 languages. The article cautions that VoxCPM2 quality is uneven in lower-resource languages and should be tested case by case, and it stresses that cloning should only be applied to voices with explicit permission.
Why it matters
Per-character pricing on hosted text-to-speech has been a fixed cost for any product that speaks. An Apache-2.0 model that combines cloning, text-prompted voice design and 30 languages in one checkpoint, served behind the same OpenAI-compatible endpoint most code already targets, turns a recurring bill into a GPU you own and keeps customer text inside your network. The trade-off is operational: you run the infrastructure, and the hardest sentences may still sound better through a paid fallback. For teams with the hardware, the question shifts from which API to subscribe to, to what share of speech traffic can move in-house.
- #text-to-speech
- #open-source
- #voice-cloning
- #self-hosting
- #vllm