glossary

Voice

Latency budget

A latency budget splits the allowed wait on a voice turn across speech recognition finalisation, the dialogue model, any tool calls and text to speech, so that one stage cannot consume the whole allowance.

Abracadabra Team Glossary

How it works

A billing line has decided that a caller should hear an answer within a fixed allowance after they stop talking. A latency budget organises that allowance into shares: speech recognition finalisation, the dialogue model, any tool call that fetches the invoice, and text to speech. The shares are a contract between stages. If the invoice lookup is allowed to use the entire allowance, the spoken reply has no time left and the caller hears silence or a clipped total.

The budget is not the measurement of one live turn. End-to-end latency is that measurement, the sum the caller actually waited. The budget is the split chosen beforehand so a regression in one stage is visible against its own share, rather than dissolving into the total. Tails matter more than the mean, because a caller remembers the slow invoice. When a share is blown, the change belongs in that stage, not in a vague note that the call felt slow.

A worked example

Bill explanation split across four stages

Allowance for a billing reply: 2500 milliseconds after the caller stops. The organised shares are 400 milliseconds for recognition finalisation, 700 for the model, 800 for the invoice tool, and 600 for text to speech. The sum of the shares is the whole allowance, 2500. On one turn the invoice tool takes 1800 milliseconds. It has used its own 800 and has also consumed the model share and part of the speech share. Playback then has 200 milliseconds left and the total is clipped to "your March balance is". The model itself returned in 500 milliseconds, inside its share. The overrun is visible only because the budget named the tool share separately. The caller's felt wait is the end-to-end total, which this split is meant to protect.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • The invoice tool is given no share of its own, it spends the whole allowance, and text to speech is left to clip the balance the caller asked for.
  • Shares are set from average stage times, the slow tail of the lookup still blows the allowance, and the budget looks healthy on the mean.
  • Recognition finalisation is budgeted without the endpoint timeout that precedes it, the shares add up on paper, and the caller wait is longer than the sum of the named shares.

How to measure it

Record each stage against its share on every billing turn, and flag turns where one stage exceeded its share even if another stage finished early and masked the total.

Report the tail, not only the mean, for the tool share and for the sum. A budget that is only true on the average does not describe the call the caller waited through. Name the stage that broke its own share each time.

How Abracadabra helps

If callers wait out a bill lookup and then hear a clipped total, the invoice tool has spent shares that belonged to the model and to speech, which the per-stage allowance should have shown.

Voice testing is in early access. Abracadabra does not score audio, latency or turn-taking. If transcripts are already stored as conversations, task success, escalation intent, corrections and repeated requests are readable in the text.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.