Qwen: Qwen-Audio-3.1-TTS Plus
qwen/qwen-audio-3.1-tts-plus
Qwen-Audio-3.1-TTS Plus is a higher-quality text-to-speech model from Alibaba's Qwen team. It supports natural-language style instructions, SSML, and emotion tags for expressive voice broadcasting, audiobook narration, and virtual human applications.
Playground
Documentation
Create an OpenRouter API key, then send a POST request to /api/v1/audio/speech. Authenticate with Authorization: Bearer <OPENROUTER_API_KEY> and send JSON with Content-Type: application/json. The examples below use this model and its published voice and output format, when available.
import { OpenRouter } from "@openrouter/sdk";
import fs from "fs";
const openrouter = new OpenRouter({
apiKey: "<OPENROUTER_API_KEY>"
});
const stream = await openrouter.tts.createSpeech({
speechRequest: {
model: "qwen/qwen-audio-3.1-tts-plus",
input: "Hello! This is a text-to-speech test.",
voice: "longanlingxin_v3.1",
responseFormat: "mp3",
provider: { only: ["alibaba"] }
}
});
const reader = stream.getReader();
const chunks: Uint8Array[] = [];
while (true) {
const { done, value } = await reader.read();
if (done) break;
chunks.push(value);
}
const totalLength = chunks.reduce((sum, c) => sum + c.length, 0);
const buffer = new Uint8Array(totalLength);
let offset = 0;
for (const chunk of chunks) {
buffer.set(chunk, offset);
offset += chunk.length;
}
await fs.promises.writeFile("output.mp3", buffer);
console.log("Audio saved to output.mp3");Handle the audio response
A successful request returns raw audio bytes, not JSON or chat-completion events. Read or stream the response body to a file. Match the file extension to the chosen response_format: mp3 is compressed audio; pcm is raw audio and needs the provider's sample rate to play correctly. Check the HTTP status before saving: errors return JSON, not audio. Keep X-Generation-Id for troubleshooting.
See the text-to-speech guide for streaming with the OpenAI SDK, multi-speaker input, reference audio, and provider-specific options. Generation still uses /api/v1/audio/speech; the v2 schema describes model discovery, not a new generation URL.
Providers
This model is hosted by one provider. OpenRouter forwards every request without routing.
| $30.00 | -- |
- Chars /M
- $30.00
- Latency
- --
- Uptime
- --
Performance
Latency is how long before playback can start (lower is better).
Uptime
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Not enough uptime data to display yet.
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Not enough data for apps using this model yet.
Activity
Token volume and request traffic to this model over time.
API
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
Not currently available through EU in-region routing. In-region routing docs
Frequently asked questions
Qwen-Audio-3.1-TTS Plus is a higher-quality text-to-speech model from Alibaba's Qwen team. It supports natural-language style instructions, SSML, and emotion tags for expressive voice broadcasting, audiobook narration, and virtual human applications.
Qwen-Audio-3.1-TTS Plus costs $30.00/M characters.
Qwen-Audio-3.1-TTS Plus ships 4 voices. Pass a voice ID in the voice field of a text-to-speech request; the IDs this endpoint accepts are listed with the model in the models API.
Qwen-Audio-3.1-TTS Plus accepts text as input and returns generated speech audio.
Qwen-Audio-3.1-TTS Plus is served by 1 provider on OpenRouter: Alibaba Cloud Int..
Qwen-Audio-3.1-TTS Flash, Qwen3 TTS 1.7B, Qwen-Audio-3.0-TTS Flash and 1 more are other speech models from Qwen.
Qwen-Audio-3.1-TTS Plus was released on December 2, 2026.