Model reference · open weights

CosyVoice2

Available as managed deployment Audio FunAudioLLM Text→speech 1 variants 4k dl/mo

CosyVoice2 is an open-weight audio or speech model from FunAudioLLM. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

MakerFunAudioLLM
TypeAudio & music
TaskText→speech
Released2025-07-29
Popularity4k downloads / month
LicenceOpen weights

About

What CosyVoice2 is

👉🏻 CosyVoice 👈🏻

Fun-CosyVoice 3.0: Demos; Paper; Modelscope; Huggingface; CV3-Eval

CosyVoice 2.0: Demos; Paper; Modelscope; HuggingFace

CosyVoice 1.0: Demos; Paper; Modelscope; HuggingFace

Highlight🔥

Fun-CosyVoice 3.0 is an advanced text-to-speech (TTS) system based on large language models (LLM), surpassing its predecessor (CosyVoice 2.0) in content consistency, speaker similarity, and prosody naturalness. It is designed for zero-shot multilingual speech synthesis in the wild.

Key Features

  • Language Coverage: Covers 9 common languages (Chinese, English, Japanese, Korean, German, Spanish, French, Italian, Russian), 18+ Chinese dialects/accents (Guangdong, Minnan, Sichuan, Dongbei, Shan3xi, Shan1xi, Shanghai, Tianjin, Shandong, Ningxia, Gansu, etc.) and meanwhile supports both multi-lingual/cross-lingual zero-shot voice cloning.
  • Content Consistency & Naturalness: Achieves state-of-the-art performance in content consistency, speaker similarity, and prosody naturalness.
  • Pronunciation Inpainting: Supports pronunciation inpainting of Chinese Pinyin and English CMU phonemes, providing more controllability and thus suitable for production use.
  • Text Normalization: Supports reading of numbers, special symbols and various text formats without a traditional frontend module.
  • Bi-Streaming: Support both text-in streaming and audio-out streaming, and achieves latency as low as 150ms while maintaining high-quality audio output.
  • Instruct Support: Supports various instructions such as languages, dialects, emotions, speed, volume, etc.

Roadmap

  • [x] 2025/12

    • [x] release Fun-CosyVoice3-0.5B-2512 base model, rl model and its training/inference script
    • [x] release Fun-CosyVoice3-0.5B modelscope gradio space
  • [x] 2025/08

    • [x] Thanks to the contribution from NVIDIA Yuekai Zhang, add triton trtllm runtime support and cosyvoice2 grpo training support
  • [x] 2025/07

    • [x] release Fun-CosyVoice 3.0 eval set
  • [x] 2025/05

    • [x] add CosyVoice2-0.5B vllm support
  • [x] 2024/12

    • [x] 25hz CosyVoice2-0.5B released
  • [x] 2024/09

    • [x] 25hz CosyVoice-300M base model
    • [x] 25hz CosyVoice-300M voice conversion function
  • [x] 2024/08

    • [x] Repetition Aware Sampling(RAS) inference for llm stability
    • [x] Streaming inference mode support, including kv cache and sdpa for rtf optimization
  • [x] 2024/07

    • [x] Flow matching training support
    • [x] WeTextProcessing support when ttsfrd is not available
    • [x] Fastapi server and client

Evaluation

ModelOpen-SourceModel Sizetest-zhCER (%) ↓test-zhSpeaker Similarity (%) ↑test-enWER (%) ↓test-enSpeaker Similarity (%) ↑test-hardCER (%) ↓test-hardSpeaker Similarity (%) ↑
Human--1.2675.52.1473.4--
Seed-TTS-1.1279.62.2576.27.5977.6
MiniMax-Speech-0.8378.31.6569.2--
F5-TTS0.3B1.5274.12.0064.78.6771.3
Spark TTS0.5B1.266.01.9857.3--
CosyVoice20.5B1.4575.72.5765.96.8372.4
FireRedTTS21.5B1.1473.21.9566.5--
Index-TTS21.5B1.0376.52.2370.67.1275.5
VibeVoice-1.5B1.5B1.1674.43.0468.9--
VibeVoice-Realtime0.5B--2.0563.3--
HiggsAudio-v23B1.5074.02.4467.7--
VoxCPM0.5B0.9377.21.8572.98.8773.0
GLM-TTS1.5B1.0376.1----
GLM-TTS RL1.5B0.8976.4----
Fun-CosyVoice3-0.5B-25120.5B1.2178.02.2471.86.7175.8
Fun-CosyVoice3-0.5B-2512_RL0.5B0.8177.41.6869.55.4475.0

Install

Clone and install

  • Clone the repo

    git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
    # If you failed to clone the submodule due to network failures, please run the following command until success
    cd CosyVoice
    git submodule update --init --recursive
    
  • Install Conda: please see https://docs.conda.io/en/latest/miniconda.html

  • Create Conda env:

    conda create -n cosyvoice -y python=3.10
    conda activate cosyvoice
    pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
    
    # If you encounter sox compatibility issues
    # ubuntu
    sudo apt-get install sox libsox-dev
    # centos
    sudo yum install sox sox-devel
    

Model download

from huggingface_hub import snapshot_download
snapshot_download('FunAudioLLM/CosyVoice2-0.5B', local_dir='pretrained_models/CosyVoice2-0.5B')
snapshot_download('FunAudioLLM/CosyVoice-ttsfrd', local_dir='pretrained_models/CosyVoice-ttsfrd')

Optionally, you can unzip ttsfrd resource and install ttsfrd package for better text normalization performance.

Notice that this step is not necessary. If you do not install ttsfrd package, we will use wetext by default.

cd pretrained_models/CosyVoice-ttsfrd/
unzip resource.zip -d .
pip install ttsfrd_dependency-0.1-py3-none-any.whl
pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl

From the published model card. Full card on the HuggingFace links in the sidebar.

How it works

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys cosyvoice2 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (cosyvoice2 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -F model="cosyvoice2" -F file=@audio.mp3

Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms