How Together AI built the world’s fastest speech-to-text stack
May 29, 2026
.png)
Summary
This post details engineering changes to achieve world-leading ASR performance, including TensorRT multi-profile engines for encoder optimization, conditional CUDA graphs for GPU-side decoder control flow, lower-copy CPU paths using persistent Unix domain sockets and shared memory, evented streaming I/O with epoll for reduced scheduler pressure, and runtime GC control via `gc.freeze()` to eliminate tail latency spikes.
More from the Speech-to-Text (STT) APIs trail
- Violin: An open-source video translation skill that breaks language barriers
- Deepgram speech-to-text and voice models now available natively on Together AI
- Build real-time voice agents on Together AI
- How speech models fail where it matters the most and what to do about it
- Announcing the fastest inference for realtime voice AI agents