Skip to main content

Why did my realtime voice session end on its own, and does it keep charging if I close the tab?

A realtime session ends by itself after a stretch of silence, at the longest length the model allows or when your connection drops, and closing the tab ends it so it doesn't keep charging.

A realtime session ends by itself when:

  • you stay silent or muted for a while, because an idle session closes on its own;

  • it reaches the longest session the model allows;

  • your balance runs out: the session stops right after the turn that uses it up (in a team workspace, the team's balance). That turn is charged in full, so your balance can end slightly below zero;

  • your connection drops.

A text-to-speech session usually ends on its own once its audio is done.

Closing the tab doesn't keep charging. Closing the tab or leaving the page ends the session, and Wiro also ends it when your connection closes. Each turn is charged as it happens, so the turns before the end stay charged. You'll find them in Transactions.

To stop on purpose, click End Session in the session panel. With the API, send task_session_end, then wait for task_postprocess_end.

Did this answer your question?