Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text to speech

CosyVoice-300M

by losCrossos loscrossos/CosyVoice-300M

CosyVoice-300M is an open-weight model for text to speech from losCrossos, released under Apache License 2.0. Its published files total 2.6 GB.

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.

Parameters—
Context—
Weights2.6 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By losCrossos, published under apache-2.0, revision dd0231969a30.

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. - [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] Thanks to the contribution from NVIDIA Yuekai Zhang, add triton trtllm runtime support and cosyvoice2 grpo training support - [x] release Fun-CosyVoice 3.0 eval set - [x] add CosyVoice2-0.5B vllm support - [x] 25hz CosyVoice2-0.5B released - [x] 25hz…

Read losCrossos's full model card

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

Model Open-Source Model Size test-zh
CER (%) ↓
test-zh
Speaker Similarity (%) ↑
test-en
WER (%) ↓
test-en
Speaker Similarity (%) ↑
test-hard
CER (%) ↓
test-hard
Speaker Similarity (%) ↑
Human - - 1.26 75.5 2.14 73.4 - -
Seed-TTS No - 1.12 79.6 2.25 76.2 7.59 77.6
MiniMax-Speech No - 0.83 78.3 1.65 69.2 - -
F5-TTS Yes 0.3B 1.52 74.1 2.00 64.7 8.67 71.3
Spark TTS Yes 0.5B 1.2 66.0 1.98 57.3 - -
CosyVoice2 Yes 0.5B 1.45 75.7 2.57 65.9 6.83 72.4
FireRedTTS2 Yes 1.5B 1.14 73.2 1.95 66.5 - -
Index-TTS2 Yes 1.5B 1.03 76.5 2.23 70.6 7.12 75.5
VibeVoice-1.5B Yes 1.5B 1.16 74.4 3.04 68.9 - -
VibeVoice-Realtime Yes 0.5B - - 2.05 63.3 - -
HiggsAudio-v2 Yes 3B 1.50 74.0 2.44 67.7 - -
VoxCPM Yes 0.5B 0.93 77.2 1.85 72.9 8.87 73.0
GLM-TTS Yes 1.5B 1.03 76.1 - - - -
GLM-TTS RL Yes 1.5B 0.89 76.4 - - - -
Fun-CosyVoice3-0.5B-2512 Yes 0.5B 1.21 78.0 2.24 71.8 6.71 75.8
Fun-CosyVoice3-0.5B-2512_RL Yes 0.5B 0.81 77.4 1.68 69.5 5.44 75.0

Install

Clone and install

  • Clone the repo sh 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:

    ``` sh 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/CosyVoice-300M', local_dir='pretrained_models/CosyVoice-300M')
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

Basic Usage

import sys
sys.path.append('third_party/Matcha-TTS')
from cosyvoice.cli.cosyvoice import AutoModel
import torchaudio

""" CosyVoice Usage, check https://fun-audio-llm.github.io/ for more details
"""
cosyvoice = AutoModel(model_dir='pretrained_models/CosyVoice-300M')
# en zero_shot usage
for i, j in enumerate(cosyvoice.inference_zero_shot('CosyVoice is undergoing a comprehensive upgrade, providing more accurate, stable, faster, and better voice generation capabilities.', '希望你以后能够做的比我还好呦。', './asset/zero_shot_prompt.wav')):
    torchaudio.save('zero_shot_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)
# zh zero_shot usage
for i, j in enumerate(cosyvoice.inference_zero_shot('收到好友从远方寄来的生日礼物,那份意外的惊喜与深深的祝福让我心中充满了甜蜜的快乐,笑容如花儿般绽放。', '希望你以后能够做的比我还好呦。', './asset/zero_shot_prompt.wav')):
    torchaudio.save('zero_shot_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)
# cross_lingual usage, <|zh|><|en|><|jp|><|yue|><|ko|> for Chinese/English/Japanese/Cantonese/Korean
for i, j in enumerate(cosyvoice.inference_cross_lingual('<|en|>And then later on, fully acquiring that company. So keeping management in line, interest in line with the asset that\'s coming into the family is a reason why sometimes we don\'t buy the whole thing.',
                                                        './asset/cross_lingual_prompt.wav')):
    torchaudio.save('cross_lingual_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)
# vc usage
for i, j in enumerate(cosyvoice.inference_vc('./asset/cross_lingual_prompt.wav', './asset/zero_shot_prompt.wav')):
    torchaudio.save('vc_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)

Discussion & Communication

You can directly discuss on Github Issues.

You can also scan the QR code to join our official Dingding chat group.

Acknowledge

  1. We borrowed a lot of code from FunASR.
  2. We borrowed a lot of code from FunCodec.
  3. We borrowed a lot of code from Matcha-TTS.
  4. We borrowed a lot of code from AcademiCodec.
  5. We borrowed a lot of code from WeNet.

Citations

@article{du2024cosyvoice,
  title={Cosyvoice: A scalable multilingual zero-shot text-to-speech synthesizer based on supervised semantic tokens},
  author={Du, Zhihao and Chen, Qian and Zhang, Shiliang and Hu, Kai and Lu, Heng and Yang, Yexin and Hu, Hangrui and Zheng, Siqi and Gu, Yue and Ma, Ziyang and others},
  journal={arXiv preprint arXiv:2407.05407},
  year={2024}
}

@article{du2024cosyvoice,
  title={Cosyvoice 2: Scalable streaming speech synthesis with large language models},
  author={Du, Zhihao and Wang, Yuxuan and Chen, Qian and Shi, Xian and Lv, Xiang and Zhao, Tianyu and Gao, Zhifu and Yang, Yexin and Gao, Changfeng and Wang, Hui and others},
  journal={arXiv preprint arXiv:2412.10117},
  year={2024}
}

@article{du2025cosyvoice,
  title={CosyVoice 3: Towards In-the-wild Speech Generation via Scaling-up and Post-training},
  author={Du, Zhihao and Gao, Changfeng and Wang, Yuxuan and Yu, Fan and Zhao, Tianyu and Wang, Hao and Lv, Xiang and Wang, Hui and Shi, Xian and An, Keyu and others},
  journal={arXiv preprint arXiv:2505.17589},
  year={2025}
}

@inproceedings{lyu2025build,
  title={Build LLM-Based Zero-Shot Streaming TTS System with Cosyvoice},
  author={Lyu, Xiang and Wang, Yuxuan and Zhao, Tianyu and Wang, Hao and Liu, Huadai and Du, Zhihao},
  booktitle={ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={1--2},
  year={2025},
  organization={IEEE}
}

Disclaimer

The content provided above is for academic purposes only and is intended to demonstrate technical capabilities. Some examples are sourced from the internet. If any content infringes on your rights, please contact us to request its removal.

Identity and Version

Repository
loscrossos/CosyVoice-300M
Publisher
losCrossos
Task
Text to speech
Modality
Audio
Library
Not stated by the source
Parameters
Not stated by the source
Languages
zh, en, fr, es, ja, ko, it, ru
Revision
dd0231969a30f437a3fcbbf15420b0fda49ba133
First published
2026-10-13
Last updated
2026-10-13

Files and Weights

12 files, 2.6 GB in total. The weights are 6 files totalling 2.6 GB in onnx, pt.

Weights6 files · 2.6 GB
Configuration3 files · 6.5 KB
Documentation1 file · 10.6 KB
Other1 file · 122.8 KB
Repository1 file · 1.9 KB
Every file
FileTypeSizeSHA-256
campplus.onnxWeights28.3 MB a6ac6a639977
flow.decoder.estimator.fp32.onnxWeights328.7 MB 8c02bc651f59
flow.ptWeights419.9 MB fd80b089444a
hift.ptWeights81.9 MB 91e679b6ca1e
llm.ptWeights1.2 GB 59f7eb172d2f
speech_tokenizer_v1.onnxWeights522.6 MB 23b5a723ed91
config.jsonConfiguration2 B —
configuration.jsonConfiguration47 B —
cosyvoice.yamlConfiguration6.4 KB —
README.mdDocumentation10.6 KB —
asset/dingding.pngOther122.8 KB 7f04815e2e67
.gitattributesRepository1.9 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.6 GB
Download from losCrossos

Released by losCrossos through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2407.05407
  • Described by arXiv:2412.10117
  • Described by arXiv:2505.17589

Memory Requirements

PrecisionWeights in memory
As published2.6 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About CosyVoice-300M

Can I use CosyVoice-300M commercially?

Yes. CosyVoice-300M is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text to speech

Kokoro-82M

Hexgrad

Kokoro is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects. You can run this basic cell on Google Colab. Listen to samples. For more languages and details, see Advanced Usage. Under the hood, kokoro uses misaki, a G2P library at https://github.com/hexgrad/misaki Model SHA256 Hash: 496dba118d1a58f5f3db2efc88dbdc216e0483fc89fe6e47ee1f2c53f18ad1e4 Data: Kokoro was trained exclusively on permissive/non-copyrighted audio data and IPA…

Open weights apache-2.0

Model · Text to speech

audio.cpp-gguf

Audio.cpp

This directory contains audio.cpp-native GGUF conversions of multiple speech models. These files are intended for use with audio.cpp. If you enjoy the project, please star audio.cpp on GitHub and this Hugging Face repository. For conversion details, supported layouts, direct-file loading, sidecar embedding, and the latest compatibility notes, see the audio.cpp GGUF guide: - https://github.com/0xShug0/audio.cpp/blob/main/docs/gguf.md!!! Converted and quantized packages are checked with automated metrics, but perceived quality can still differ for human listeners. Please validate the exact package, backend, and route to confirm the output is acceptable for your use case. The table lists the…

Open weights other audio.cpp

Model · Text to speech

XTTS-v2

Coqui.ai

ⓍTTS is a Voice generation model that lets you clone voices into different languages by using just a quick 6-second audio clip. There is no need for an excessive amount of training data that spans countless hours. This is the same or similar model to what powers Coqui Studio and Coqui API. - Supports 17 languages. - Voice cloning with just a 6-second audio clip. - Emotion and style transfer by cloning. - Cross-language voice cloning. - Multi-lingual speech generation. - 24khz sampling rate. - 2 new languages; Hungarian and Korean - Architectural improvements for speaker conditioning. - Enables the use of multiple speaker references and interpolation between speakers. - Stability…

Open weights other coqui

Model · Text to speech

chatterbox

Resemble AI

Chatterbox Multilingual V3 is the latest general-purpose multilingual TTS model in the Chatterbox family. It keeps the same 0.5B model size while improving speaker similarity, reducing hallucinations, and producing more natural, conversational speech across languages. V3 is designed for broad language coverage like V2, but with stronger stability and more expressive generation. It is the recommended multilingual model for users who want one voice cloning model that works across many languages. Try it in the Chatterbox Multilingual TTS V3 Space. Alongside V3, we are releasing the Single Language Pack: dedicated finetunes for priority languages where tighter quality control, stronger…

Open weights mit chatterbox

Model · Text to speech

F5-TTS

Yushen CHEN

Download F5-TTS or E2 TTS and place under ckpts/ Paper: F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching

Open weights cc-by-nc-4.0 f5-tts

Model · Text to speech

Kokoro-82M-v1.0-ONNX

ONNX Community

Kokoro is a frontier TTS model for its size of 82 million parameters (text in/audio out). First, install the kokoro-js library from NPM using: You can then generate speech as follows: Optionally, save the audio to a file: The model is resilient to quantization, enabling efficient high-quality speech synthesis at a fraction of the original model size.

Open weights apache-2.0 transformers.js