Latency at a glance
Rime’s cloud API delivers sub-200ms end-to-end latency under typical conditions. Coda reaches sub-100ms model latency on the GPU engine when self-hosted or on-prem, while Mist v3 has the lowest measured time to first audio. Via the cloud API, the total time you measure also includes network round-trip; typically 25–50ms from most of the continental US when you pick the closest regional endpoint. Contact us to optimize further.Real-time performance benchmarks
These numbers were measured on a single Lambda H100 SXM machine with an H100 SXM5 GPU, 26 vCPUs, 221 GiB RAM, Ubuntu 24.04, and NVIDIA driver
595.58.03.
TTFA = Time-to-First-Audio. RTF = Real-Time Factor (synthesis time ÷ audio duration; values below 1.0 mean synthesis is faster than playback).
Reduce latency
- Choose the model for the constraint. Use
mistv3for the lowest cloud time to first audio. Choose Coda when voice quality is the priority and sub-100ms engine latency meets the target. - Consume the response as a stream. Start playback from the first bytes instead of buffering the complete response.
- Use the nearest regional endpoint. Route East Coast traffic to US East and West Coast traffic to US West.
- Request only the audio you need. Smaller payloads cross the network faster. Telephony applications should request 8kHz audio directly.
- Skip normalization only for already normalized text.
noTextNormalizationremoves preprocessing, but it is safe only when the input has no digits, abbreviations, or ambiguous punctuation.
What affects latency
End-to-end latency combines server processing, response size, and network distance.Factors that affect API response time
- Server processing: Model inference, text preprocessing, and audio postprocessing all contribute to the first response byte.
- Payload size: Larger audio responses take longer to transmit.
- Network distance: A longer route between the application and Rime increases round-trip time.
Stream the response
Streaming reduces time to first playback because the client can consume the first chunk before Rime finishes generating the complete response. Buffering the whole body delays playback until synthesis and transfer are complete.
Response time and TTFB for a streaming PCM request
Python
Rime’s models produce PCM audio by default, and conversion and downsampling must take place for sampling rates other than 22kHz. For low-bandwidth applications, the smaller payload usually outweighs the added server processing.
Network latency by region
Rime serves the API from multiple regions so you can route requests to the data center closest to your application. Picking the closest endpoint typically shaves tens of milliseconds off round-trip time. These are rough round-trip times (RTT), the back-and-forth network delay between your application and Rime, from major US metros to each region:
Rules of thumb:
- Same region (your app and the Rime endpoint in the same AWS region): typically 1–10 ms.
- Coast-to-coast: ~60 ms is the physical floor, set by the speed of light in fiber across ~2,500 miles. 60–85 ms is normal.
- Above 90 ms between major US metros usually points to a suboptimal network route, not Rime.
rime speedtest.
