THE SIGNAL IN ONE SENTENCE
A real-time AI demo usually begins in perfect weather. The microphone is clean. The network is obedient. Nobody interrupts. The model answers before the presenter has time to look worried. Then the product meets an elevator, a crowded train, a hospital Wi-Fi network or a customer whose question arrives at the same moment as a hundred others. That is where the protocol diagram stops being decoration. On November 24, Alibaba Cloud updated its Model Studio documentation with a clearer map of the Realtime API. The service supports live multimodal interaction, speech recognition, speech synthesis, voice conversation and real-time translation. Depending on the model, developers can connect through WebSocket, WebRTC or Alibaba's AOQ protocol, short for AI over QUIC. The documentation is useful because it separates the paths instead of pretending that every real-time model arrives through one universal socket. WebSocket is positioned for server-side integration and prototyping. WebRTC is designed for browser and mobile media. AOQ targets native applications that need coordinated audio, video and model events under weak-network conditions. That is the map. The plain signal is this: every real-time AI service needs a published latency and privacy envelope for each model, protocol, region and workload. Give builders median and tail latency, interruption behavior, packet-loss tests, reconnect semantics, rate limits, regional routing, storage rules, client-authentication boundaries, cost and fallback behavior. Without that envelope, supported means the pipe can connect. It does not mean the product can be trusted when the connection becomes inconvenient. The three paths solve different problems. WebSocket gives an application a persistent two-way connection. It is widely supported, simple to reason about and useful when a server controls the session. Alibaba lists it across real-time multimodal, speech synthesis, speech recognition, voice conversation and translation models, although the exact model support varies. WebRTC brings the machinery developed for live browser media. It can handle audio and video transport, browser capture, network adaptation and interactive communication. Alibaba's overview lists it for its current Omni, voice-conversation, live-audio and translation families, but not for every speech-recognition or synthesis model. AOQ is Alibaba's path for native applications. The company describes it as QUIC-based transport that separates audio, video and model events into coordinated tracks. The current SDK does not offer browser access. Alibaba says the protocol is optimized for weak networks and supports mobile, desktop and Linux clients. Those descriptions are directionally helpful. They are not a performance comparison. A builder deciding between the three needs to know how each behaves over the networks people actually have. Start with latency, but stop publishing a single number. Real-time conversation has several clocks. There is the time from captured speech to the first recognized words, the time from the end of a turn to the model's first useful response, the time to first playable audio and the time until the complete answer arrives. Video adds frame capture, encoding and interpretation. Translation adds source buffering and target playback. Each clock needs a distribution. Publish the median, 90th, 95th and 99th percentiles. Break them down by model, protocol, region, audio format, response length and concurrency. State whether the measurement begins at the microphone, the client library, the network edge or the model gateway. Otherwise one provider's 300 milliseconds can be another provider's 900 milliseconds wearing a different stopwatch. Tail latency matters most in conversation because people experience the slowest turns as personality. A system that responds quickly nine times and pauses awkwardly on the tenth does not feel 90 percent fast. It feels unpredictable. In a customer-service call, unpredictability causes people to repeat themselves. In a language lesson, it breaks rhythm. In an accessibility tool, it can make the interface unusable. Publish the tails. Then publish the interruption model. Live voice systems need to know when a person has started speaking, whether the system should stop its own audio and what happens to the response already in flight. Does the protocol cancel generation, pause playback or keep producing tokens that nobody hears? Is the transcript corrected after the interruption? Are model events delivered in order? Can an application distinguish a deliberate barge-in from a dropped packet? Alibaba's protocol overview points developers to model-specific access documents for these details. That is sensible because capabilities differ. It also means a buyer cannot infer one consistent behavior from the word Realtime. A useful envelope would provide an interruption matrix. For each model and transport, list voice-activity detection options, cancellation events, buffer handling, ordering guarantees, maximum session length and the state preserved after a reconnect. Weak-network claims need a public obstacle course. AOQ is explicitly described as suitable for weak-network optimization. That is a meaningful claim, especially for mobile services, field work and countries where network quality changes by the block. It deserves more than a favorable adjective. Test at several packet-loss rates, jitter levels, round-trip delays and bandwidth limits. Include abrupt network changes, such as Wi-Fi handing off to cellular. Measure audio gaps, video degradation, transcript error, response delay, reconnection time and sessions that fail completely. Run the same workload through WebSocket, WebRTC and AOQ where the same model supports all three. Publish the setup and raw distributions. If AOQ performs better under a particular loss pattern, show the pattern. If WebRTC recovers faster in a browser, show that too. The winner may change by device, region and workload. That is useful information, not an embarrassing lack of one universal champion. Authentication is another place where the pipes diverge. Alibaba says its Realtime API uses API keys and bearer tokens. WebSocket authenticates during connection setup. WebRTC uses either a control WebSocket or an HTTP exchange for the session description, depending on the model. AOQ uses a server-side proxy pattern. The business application server holds the API key, requests connection credentials and returns a temporary token to the client. The client then connects to relay endpoints without carrying the long-lived API key. That boundary is a good security shape. It keeps a durable secret out of a distributed client application. It still needs a threat model. Publish the temporary token lifetime, scope, replay protections, revocation behavior and relationship to the session identifier. Explain what the relay can observe, which metadata is logged and what happens if a client token leaks. Document certificate validation and how applications should respond when credentials expire during a session. The documentation provides pieces of this flow, including a session validity field and relay certificate fingerprint. Builders should not have to assemble the full security story from response-field descriptions. Regional routing needs the same clarity. Alibaba's separate region documentation says the selected region determines the access point and data-storage location. A service deployment scope determines where inference runs. The company says request data is stored in the selected region, transmitted in encrypted form to inference nodes within the chosen scope and returned to the region for storage before the result goes back to the application. That distinction matters. A team may choose Singapore as the endpoint and storage region while selecting a broader inference scope. A regulated organization may need a scope with specific geographic boundaries. A product manager may choose the nearest region for latency. Those are not the same decision. The privacy envelope should show the full path for every supported configuration: capture device, application server, access region, relay, inference scope, storage location and monitoring system. It should also state what is stored. Does request data include raw audio, video frames, transcripts, generated speech, model events, session metadata or only some of them? How long does each artifact remain? Which logging and monitoring features copy it? Can customers disable storage, shorten retention, delete a session or prevent content from being used beyond providing the service? The reviewed protocol overview does not provide a complete answer to those questions. The regional page explains where request data is stored, not the complete retention and deletion policy for every real-time artifact. That is not a reason to invent a reassuring answer. It is a reason to publish the missing table. Rate limits belong in the operating envelope too. Alibaba's November 24 rate-limit documentation says limits are aggregated at the primary account level across subaccounts, workspaces and API keys. Some models use dynamic limits tied to monthly spending. Others use fixed limits and can also be throttled at the second level, so a short burst can trigger a 429 response even when the minute total appears acceptable. Platform resource pressure may return a 503. Real-time services need to translate those account-level rules into session-level capacity. How many simultaneous conversations can a model and region sustain? Which event or audio limits apply inside a session? Does a reconnect count as a new request? What happens to active calls when an account hits a shared quota? How should a client back off without leaving a person talking to silence? Publish a capacity calculator and a failure script. The failure script should tell the application what to do with 429s, 503s, expired credentials, unreachable relays, broken media tracks and unsupported protocol combinations. It should specify which operations are safe to retry and which might duplicate audio, billing or downstream actions. Cost should be measured per completed experience, not only per token or second. A real-time application pays for more than model output. It may pay for audio input, audio output, video, translation, network transfer, abandoned turns and retries. A protocol with lower latency but more reconnect failures can cost more per successful session. A model that speaks at length can turn a cheap unit price into an expensive call. Publish sample bills for common workloads: a five-minute voice assistant, a 30-minute language lesson, an hour of live translation and a multimodal support session. Include the cost of failed sessions and the assumptions behind concurrency. Then make fallback explicit. A production application needs to know what happens when the preferred pipe is unavailable. Can an AOQ session fall back to WebRTC or WebSocket without changing the model? Can a browser switch from live voice to text? Does the application preserve the transcript and conversation state, or must it begin again? Fallback is not merely a technical convenience. It changes consent and user expectations. If video fails and the application switches to audio, say so. If a regional endpoint is unavailable and traffic would move to a broader scope, obtain the right permission before moving data. If the system replaces a real-time model with a slower one, tell the user that the behavior has changed. A quiet fallback can become a quiet policy change. Alibaba's updated overview is valuable because it gives developers a clearer protocol map, supported model matrix, authentication flow and path into the detailed documentation. It also exposes how many decisions sit behind the cheerful phrase real time. Protocol support is the beginning of product engineering. The proof comes from an envelope that a builder can test: this model, through this pipe, in this region, under this network condition, with this data path, produced this latency distribution, failed in these ways, retained these artifacts and cost this much. Give developers that envelope and they can make an honest tradeoff. Leave it blank and the demo remains flawless, right up until the elevator doors close.
01
WHAT ACTUALLY CHANGED
Alibaba Cloud updated its Model Studio Realtime API overview on November 24 with a consolidated model and protocol support matrix.
The overview distinguishes WebSocket, WebRTC and AOQ access rather than presenting one universal real-time transport.
WebSocket is positioned for server integration and prototyping, WebRTC for browser and mobile media, and AOQ for native applications needing coordinated media and model events under weak-network conditions.
Protocol availability varies by model family, and the current AOQ SDK does not provide browser access.
Alibaba documents a server-mediated AOQ authentication flow in which a client receives temporary session credentials while the long-lived API key remains on the application server.
02
WHY THIS MATTERS
Protocol support does not reveal the latency, interruption behavior or reliability a real product will deliver.
Real-time systems are highly sensitive to tail latency, packet loss, reconnect behavior and burst capacity, not only average response time.
Alibaba separates access region, storage location and inference scope, so teams need to understand the complete geographic data path.
Different authentication flows create different client-secret, replay and session-management risks.
Builders need comparable operating data to choose a transport honestly and design a safe fallback when the preferred path fails.
03
WHERE IT COULD HELP
- Benchmark end-of-turn to first useful audio at median, 90th, 95th and 99th percentiles for every model, protocol and region.
- Test WebSocket, WebRTC and AOQ under controlled packet loss, jitter, bandwidth limits and network handoffs where the same model supports all three.
- Document interruption, cancellation, buffering, event ordering, maximum session length and reconnect state for each transport.
- Map capture, application server, access region, relay, inference scope, storage and monitoring before sending sensitive audio or video.
- Keep long-lived API keys on the server and test the scope, lifetime, replay protection and revocation of temporary client credentials.
- Translate account and model rate limits into simultaneous-session capacity, retry behavior and user-facing failure states.
- Calculate cost per completed session, including abandoned turns, retries, media input and output, and fallback traffic.
- Make protocol, model or region fallback visible when it changes performance, data location or consent.
KEEP A HAND ON THE WHEEL
Watch for published latency percentiles by model and protocol, comparative weak-network tests, interruption and reconnect matrices, maximum session limits, complete audio and video retention rules, deletion controls, regional routing diagrams, simultaneous-session capacity, temporary-token security details, sample workload bills and explicit cross-protocol fallback guidance.
04
TERMS WORTH KEEPING
SOURCES AND VERIFICATION STATUS
This article was written from the materials below. Product claims and dates were checked against those sources on November 24, 2026.
THE PUBLICATION ENGINE
WANT A SIGNAL OF YOUR OWN?
We build source-grounded publications, private briefings, and editorial systems for organizations with something useful to say.
WORK WITH US