SuperAPI AI Directory

Qwen3-ASR

Qwen3-ASR is an open-source automatic speech recognition (ASR) model series developed by Alibaba Cloud's Tongyi Qianwen team, supporting stable recognition of multilingual speech, music, and songs, language identification, and timestamp prediction. The series includes two all-in-one speech recognition models, Qwen3-ASR-1.7B and Qwen3-ASR-0.6B, which support 52 languages and dialects, as well as a non-autoregressive forced alignment model, Qwen3-ForcedAligner-0.6B, which can align text-speech pairs in 11 languages. The 1.7B version achieves a leading level among open-source ASR models and is competitive with the strongest commercial APIs; the 0.6B version balances accuracy and efficiency, achieving throughput of up to 2000x at a concurrency of 128. The models are based on the audio understanding capabilities of the Qwen3-Omni foundation model, support unified streaming and offline inference, and can transcribe long audio. The project provides a complete inference toolkit, supporting vLLM-based batch inference, asynchronous serving, streaming inference, and timestamp prediction, and can be used quickly by installing the qwen-asr package via PyPI.

Open website

About this tool

Qwen3-ASR is an open-source speech recognition model series developed by Alibaba Cloud's Tongyi Qianwen (Qwen) team, supporting stable multilingual speech, music, and song recognition, language identification, and timestamp prediction.

Uses It is intended for automatic speech recognition (ASR) tasks and can perform multilingual speech transcription, language identification, timestamp prediction, and text-speech forced alignment.

Main capabilities The series includes two all-in-one speech recognition models, Qwen3-ASR-1.7B and Qwen3-ASR-0.6B, supporting language identification and speech recognition for 52 languages and dialects, including 30 languages and 22 Chinese dialects, and covering English accents from multiple countries and regions. Both models leverage large-scale speech training data and the strong audio understanding capabilities of the foundation model Qwen3-Omni. According to the materials, the 1.7B version achieves state-of-the-art performance among open-source ASR models and is competitive with the strongest proprietary commercial APIs; the 0.6B version achieves a trade-off between accuracy and efficiency, reaching 2000x throughput at a concurrency of 128. Both implement unified streaming/offline inference through a single model and support transcription of long audio.

In addition, the series includes Qwen3-ForcedAligner-0.6B, a novel non-autoregressive speech forced alignment model that supports timestamp prediction for arbitrary units within up to 5 minutes of speech, covering 11 languages. Evaluations show that its timestamp accuracy exceeds that of E2E-based forced alignment models.

Usage It can be used by installing the qwen-asr Python package via PyPI; the package provides a transformers backend and a vLLM backend. Audio input supports local paths, URLs, base64 data, or (np.ndarray, sr) tuples, and supports batch inference. Using an isolated environment is recommended, for example creating a Python 3.12 environment. Installation commands: pip install -U qwen-asr (minimal installation, supports the transformers backend); pip install -U qwen-asr[vllm] (enables the vLLM backend for faster inference and streaming support); the source code can be installed in editable mode. Using FlashAttention 2 is recommended to reduce GPU memory and accelerate inference, especially for long inputs and large batches.

With the transformers backend, you can quickly try it via Qwen3ASRModel.from_pretrained(...); if you need to returnTimestamp, passed into forced_aligner along with its initialization parameters. Using the vLLM backend, initialize via Qwen3ASRModel.LLM(...) for the fastest inference speed. A vLLM server can be started via the qwen-asr-serve command (a wrapper around vllm serve), and supports any vllm serve parameter. Streaming inference is currently only supported with the vLLM backend, and streaming inference does not support batched inference or returning timestamps.

Qwen3-ForcedAligner-0.6B can be used directly to align text-speech pairs, returning word-level or character-level timestamps, supporting local paths/URLs/base64 data/(np.ndarray, sr) inputs and batched inference.

The DashScope API can also be used for a faster and more efficient experience. The local Web UI Gradio demo can be started by running qwen-asr-demo after installing the qwen-asr package, supporting both transformers and vLLM backends, passing initialization parameters as a JSON dictionary via --backend-kwargs, and selecting GPUs via --cuda-visible-devices; timestamps are only available when --aligner-checkpoint is provided. It is recommended to run the Gradio service over HTTPS (using --ssl-certfile and --ssl-keyfile) to avoid browser microphone permission issues. In addition, a minimal Flask-based streaming demo is provided, where the browser captures microphone audio, resamples it to 16,000 Hz, and continuously pushes PCM chunks to the model.

vLLM officially provides day-0 support for Qwen3-ASR, which can be run using nightly wheels or Docker images, supporting the OpenAI transcription API and offline inference. For fine-tuning, refer to Qwen3-ASR-Finetuning. An official prebuilt Docker image qwenllm/qwen3-asr is also provided; you only need to install the GPU driver and download the model files to run it; follow the NVIDIA Container Toolkit installation guide to ensure Docker can access the GPU.

Model weights are in the qwen-asr package or vLLM They are automatically downloaded based on the model name when loading; if the runtime environment does not allow download at execution time, you can manually download the weights to a local directory.

For evaluation, all models use dtype=torch.bfloat16 and max_new_tokens=1024 via vLLM inference, with greedy search, and no language parameter is specified in testing. See the materials for specific evaluation results.

Applicable Scenarios Suitable for research and engineering scenarios requiring multilingual speech recognition, language detection, timestamp prediction, long audio transcription, streaming transcription, and text-speech forced alignment, and can also be deployed as a service via Docker or vLLM.

Limitations Streaming inference is currently only supported with the vLLM backend, and does not support batched inference or returning timestamps; in the local Web UI demo, the timestamp UI is only available when --aligner-checkpoint is provided; when using features such as streaming under vLLM, be aware of spawn errors, and it is recommended to place the code under if name == 'main':. The materials do not provide more information such as fees, pricing, and specific platform compatibility.