The Turn Detector decides when the caller has finished their turn, so the agent replies at the right moment rather than interrupting or pausing too long. It uses Echo, a server-hosted model exposed through the Zero Runtime Inference Gateway via the unified TurnDetector class. Nothing is downloaded or loaded on your machine; authentication requires ZERORUNTIME_AUTH_TOKEN. Choose echo-small for the lowest latency or echo-large for higher accuracy.

Usage

Set your auth token, then construct TurnDetector with the echo-small or echo-large model and pass it to the pipeline’s turn_detector slot.
The turn detector pairs with voice activity detection: VAD finds that the caller is speaking, the turn detector decides when they have stopped.

What’s next

For the four-state classification, model comparison, supported languages, and end-of-utterance handling, see the full Turn Detection guide.