What Alibaba has and has not said about qwen-audio-3.1-live
Alibaba's speech-to-speech overview lists qwen-audio-3.1-live as the Model Studio recommendation for teams using OpenAI GPT-Live 1 or Gemini 3.8 Live for "real-time voice conversations while tools run" 1. That is a mapping in a migration table, not a benchmark. The pages I read on 2026-11-27 give no latency, interruption or accuracy numbers for the model. So the question "can it replace your voice stack?" has to be answered with your own recordings.
What the documentation does state is useful for designing the test:
- The model is full duplex: it can keep listening while it speaks, and it can keep talking to the user while a task runs 2.
- There are two delegation modes. In Client mode your application handles the task and returns the result; in Responses mode Model Studio calls a configured backend model 3.
- Function calling is supported. Structured output, context caching and built-in search are not 2.
- Instructions plus function configuration text for the frontend model are capped at 65,536 tokens 2.
- Up to 5 WebSocket connections can be open at once 2.
This is the same shape as GPT-Live, which also delegates to a separate backend model 4. That matters: the method in the GPT-Live recorded-session test carries over, but four things are specific to Qwen and are covered below: the model id you are really testing, the billing unit, the 5-connection ceiling and the data path.
Pin which model actually answers
The quickstart on the Qwen-Audio-Live page selects the service in the URL with model=qwen-audio-3.1-live, then sets session.model to qwen-audio-4.0-realtime-preview and turn_detection.type to duplex 3. So the id in the connection URL and the model that speaks with the user are two different settings, and the documented example uses a preview id for the second.
Do not copy that example into a production test without deciding what you are testing. Send your chosen session.update, then read session.updated, which the page says carries the effective configuration 3. Store that event with every run. If the effective model differs from what you asked for, or changes between weeks, your results mean nothing. Alibaba's overview also says to pin a dated version for regression testing where one exists 1. Whether a preview id suits production is a separate question; see the preview-model retirement data before you decide.
Also record which delegation mode you tested. Client mode and Responses mode move the backend work to different places, so latency on tool turns and the bill both differ.
Build the recorded-session set
Use the same set you would build for any voice model: plain turns, tool turns, alphanumerics read aloud, callers who interrupt, noise and accents, and a few calls past ten minutes. The slices and labelling rules are in the GPT-Live method; label each session once and reuse the labels for every candidate.
Add three Qwen-specific slices:
- Your languages. Alibaba's omni overview publishes speech and text support per language, and some languages are text-only on some models 5. That table covers the Omni and Livetranslate families; it does not list languages for qwen-audio-3.1-live, so treat language coverage as unconfirmed for this model and give each language you serve its own slice.
- Long idle stretches. A session has no maximum duration and silence is billed 3, so include calls where the caller goes quiet, puts the phone down or waits on hold.
- Mid-call text. The page lets an application send a text message into the session with
session.item.create3. If your product does that, record sessions that include it.
Check consent and retention before you store caller audio, and again before you send it to a new provider. Replay sends real audio to Alibaba, which is a data-path decision (see the last section), not only a test step.
Replay harness and the 5-connection ceiling
The harness must send audio at real-time pace. The Qwen quickstart does exactly this: 16 kHz, 16-bit mono PCM in 20 ms frames (640 bytes), Base64-encoded into session.input_audio.append events, with audio returned as 24 kHz PCM in session.output_audio.delta events 3. The sketch below follows that event vocabulary. It is a harness outline written from the documentation, not tested code, and the exact field that carries final usage in session.closed is something to confirm against the server-events reference, which I did not read.
import base64, json, time, uuid
from websockets.sync.client import connect
FRAME = 640 # 20 ms of 16 kHz, 16-bit mono PCM
BPS = 32000 # bytes per second of input audio
def replay(url, headers, session_cfg, pcm, labels):
events = []
with connect(url, additional_headers=headers) as ws:
def send(t, **p):
ws.send(json.dumps({"type": t, "event_id": uuid.uuid4().hex, **p}))
send("session.update", session=session_cfg)
while json.loads(ws.recv())["type"] != "session.updated":
pass # store this event: effective config
t0, off = time.monotonic(), 0
while time.monotonic() - t0 < len(pcm) / BPS + labels["tail_s"]:
if off < len(pcm) and time.monotonic() - t0 >= off / BPS:
send("session.input_audio.append",
audio=base64.b64encode(pcm[off:off + FRAME]).decode())
off += FRAME
try:
e = json.loads(ws.recv(timeout=0.02))
except TimeoutError:
continue
events.append({"t": time.monotonic() - t0, "type": e["type"]})
# keep session.usage.updated and session.closed payloads for billing
send("session.close")
return eventsTwo operational points. Each pair of runs (current model and Qwen) needs two connections, and the documented ceiling is 5 open WebSocket connections 2. That limits how many sessions you can replay in parallel, and it is also a production capacity question: if your peak concurrent calls exceed what your workspace allows, the model cannot replace your stack no matter how it sounds. The model page links a rate-limiting document I did not read, so confirm what applies to your workspace and whether the limit can be raised.
Second, interleave runs and repeat each pair three to five times, as in the GPT-Live method, so a slow period hits both models. Keep the same region for both sides where you can.
Latency: time to first substantive audio
Measure from the end of the caller's utterance, taken from your labels, to the first audio frame that reaches your client, here the first session.output_audio.delta after the labelled end. In a full-duplex model, short acknowledgements can arrive while the caller is still talking, so also report time to first substantive audio, using a backchannel cutoff you derive from your own recordings 4. Report p50, p90 and p99, separately for plain turns and tool turns.
Qwen adds a wrinkle on tool turns. In Client mode, the delay includes your own backend; in Responses mode it includes Model Studio's call to the backend model 3. Hold the backend constant across the models you compare, or you are measuring the backend. For GPT-Live the backend is a separate frontier model OpenAI says it updates over time 4; for Qwen, record which backend you configured and when.
Network distance will dominate if you are far from the endpoint. The documented example endpoints are in the Singapore region 3, and the omni realtime page lists Singapore and Beijing as supported regions with region-specific API keys 6. Run the test from the region where your callers' audio is actually terminated, and say so in the results. For WebRTC versus WebSocket, test the transport you will ship: WebRTC and AOQ are separate media paths set up through the control WebSocket 3.
Interruption handling
Script barge-ins at labelled offsets and score four things: stop time (caller speech start to last agent audio frame that reaches your player), false stops (coughs, "mm-hm" and noise that should not interrupt), false holds (real interruptions that did not stop the agent) and recovery (the next answer addresses the interruption, judged with a rubric and a human sample) 4.
Where the Qwen docs help and where they do not:
- The Live page tells you to use the player's actual playback state for the speaking indicator and notes that both transcripts can update at once when the user talks over the model 3. So the client owns playback: on a barge-in you must flush your buffer, and that flush is part of stop time.
- Semantic turn detection (
smart_turn, recommendedsmart_turn_v2) that ignores non-meaningful utterances is documented for Qwen-Audio Realtime 5, and semantic_vad for Qwen-Omni-Realtime 6. The Live quickstart usesturn_detection.typeset toduplexinstead 3. Do not assume Realtime's turn-detection options apply to Live, and do not assume a server-side cancel event exists; I did not read the server-events page. Check the reference, then test what your client actually receives.
A model that cuts callers off or ignores them is experienced as broken, not slow. Gate on false stops and false holds as hard as on stop time.
Cost per completed call
Alibaba bills qwen-audio-3.1-live per session second, at least 3 seconds once connected, and text messages, silence and idle time all count. A backend model invoked by Model Studio is billed separately on its token usage 2. The list rate is $0.000710 per second in Singapore and $0.000471 per second in China (Beijing) 2. By arithmetic that is $0.0426 and $0.02826 per minute. These are Alibaba's list rates, billed by Alibaba; check your workspace for any negotiated rate.
Usage is visible during the call: session.usage.updated reports cumulative billable seconds every 5 seconds, and session.closed carries the final value 3. Log both, and reconcile against the invoice line rather than your own timers.
| qwen-audio-3.1-live | GPT-Live 1 | Gemini 3.8 Live | |
|---|---|---|---|
| Unit | Session second, 3 s minimum 2 | Session second 7 | Tokens, with per-minute equivalents 7 |
| List rate | $0.000710/s Singapore; $0.000471/s Beijing 2 | $0.05/minute 7 | $0.005/min audio in, $0.018/min audio out 7 |
| Silence | Billed 2 | Billed, including backend waits 7 | Not billed when voice activity detection filters it out 7 |
| Billed separately | Backend model tokens in Responses mode 2 | Backend model and tools 7 | Search grounding beyond the free allowance 7 |
Because a session has no maximum duration and idle time bills 3, add a hang-up timeout in your own code and test it: a caller who walks away should not hold a billable session open. The same applies to a muted microphone, since the session stays connected while muted 3. For how providers treat cancelled or failed streams, see what to forecast.
Then compute cost per completed call, not per minute: voice seconds plus backend tokens, divided by calls that reached the outcome you labelled. A model that takes longer per call bills more per second.
Data path: what to record before real callers
Call audio is personal data, and the model page gives you little beyond who serves it: "The inference service provider for the qwen-audio-3.1-live model is Alibaba Cloud Model Studio" 2. Beyond that, record what is documented and mark the rest unconfirmed, using the layered approach in the Model Studio data-path checklist 8.
- Region. The workspace-specific domain embeds the region, and the API key is region-specific 3. Pricing is listed separately for Singapore and China (Beijing) 2. Record which region you call. The lower Beijing rate is a different data location, so it is a compliance decision before it is a price comparison.
- Backend in Responses mode. Model Studio calls the backend model you configure 3. The Model Studio catalog lists Qwen and third-party models side by side 9, so a delegated backend can be a different developer with different terms. Record the exact backend id and its region.
- Client mode. Your application runs the task, so tool arguments and results stay in your systems; the audio and transcripts still go to Alibaba.
- Retention and training use of audio. Unconfirmed. The pages I read do not state them. Ask Alibaba in writing, and keep the answer with the capture date.
If you run the text side of the agent through a gateway, that call is separate from the audio session. INFRO's shipped OpenAI-compatible text endpoint, usage records, traces and OpenTelemetry export can cover the backend call in Client mode, so tool-turn cost and latency land on the same run as the rest of your traffic. The live audio session itself connects to Model Studio directly and is not something that path observes.
Decision gates
Decide before the run, per slice, and write the gates down:
- Effective
session.modelrecorded on every run, and stable across the test window - Time to first substantive audio, paired against the current model, within your bound at p90 and p99 on plain and tool turns
- False stops and false holds no worse than the current model on the noise and interruption slices
- Tool-call accuracy (right tool, right moment, right arguments) no worse on the alphanumeric slice
- Cost per completed call computed from
session.closedusage plus backend tokens, reconciled to the invoice - Peak concurrent calls fit the documented 5-connection limit or an agreed raise
- Region, backend id and retention answers written into the approval record, with "unconfirmed" where Alibaba has not answered
Replacement is justified only when every gate passes on the slices you serve. If latency and cost pass but audio retention is unconfirmed, the answer is a limited canary on non-sensitive calls, not a cutover.
