APIFleet Sign in

Speech-to-text API for voice agents: latency, phone audio and cost compared

The best speech-to-text API for voice agents streams partial results and is judged on time to final transcript after the caller stops talking. Rank a speech-to-text API for voice agents on 8 kHz phone accuracy, endpointing control and per-minute cost, not batch WER. APIFleet streams through Deepgram Nova-3 ($0.0048/min promo) or Gemini 3.5 Transcribe Live (about $0.009/min).

APIFleet team · · 7 min read

What matters in a speech-to-text API on a live call

Most published speech-to-text rankings score word error rate on clean, prerecorded files. A phone agent never sees that audio. It hears narrowband G.711 audio sampled at 8 kHz, background noise and callers who pause halfway through a phone number.

On a call the transcript is only useful once it is final, because the language model waits for a finished turn before it answers. The number to watch is the delay between the caller's last word and the final transcript, plus how reliably the provider decides that the turn is over.

Accuracy still matters, but measure it on the entities that break tasks: names, dates, booking references and digit strings. A model that is slightly worse on general prose but stable on phone numbers is often the better choice for booking and support lines.

Criteria for choosing a speech-to-text API for a voice agent
CriterionWhy it matters on a callHow to check it
Streaming with interim resultsBarge-in and early processing need partial hypotheses while the caller speaksConfirm a WebSocket or streaming endpoint, not file upload only
Time to final transcriptThe LLM request cannot start until the turn is finalLog end of speech to final transcript on recorded test calls
8 kHz telephony accuracyCarrier audio is narrowband mu-law, not studio audioReplay real or simulated phone recordings, not wideband samples
Endpointing and VAD controlToo short cuts callers off; too long adds dead airLook for a tunable silence threshold and a speech-started event
Vocabulary biasingProduct names and surnames drive task failuresCheck keyterm or custom vocabulary support and its price
Per-minute priceSTT is billed on every second of caller audioRead the provider pricing page, including add-ons

Speech-to-text options APIFleet supports today

In an APIFleet cascading assistant, stt_provider accepts two values: deepgram and gemini. Deepgram is the server default and uses the nova-3 model unless you set stt_model. Gemini uses gemini-3.5-transcribe-live, the streaming model, for calls.

Deepgram receives the carrier's G.711 mu-law audio at 8 kHz directly, so nothing is transcoded on the way in. The Gemini stream decodes the same phone audio and resamples it to 16 kHz before sending it. Browser calls arrive as 24 kHz PCM for both providers.

Soniox and Azure Speech are connected in APIFleet as text-to-speech adapters, not transcription. If you are comparing them for recognition, test them outside the platform; inside APIFleet the STT stage is Deepgram or Gemini. Speech-to-speech assistants on OpenAI Realtime or Gemini Live do not use a separate stt_provider at all.

Speech recognition paths available in APIFleet (checked in the repository on 2026-11-13)
OptionStreamingPhone audio pathTurn-taking controlVocabulary biasingAPIFleet setting
Deepgram Nova-3Yes, WebSocket with interim results8 kHz mu-law passed through untouchedendpointing_ms, utterance_end_ms, stt_no_delaystt_keyterms, up to 100 termsstt_provider: deepgram, stt_model: nova-3
Gemini 3.5 Transcribe LiveYes, bidirectional WebSocket8 kHz mu-law decoded and resampled to 16 kHzendpointing_msstt_keyterms passed as custom vocabularystt_provider: gemini, stt_model: gemini-3.5-transcribe-live
Gemini 3.5 TranscribeNo, unary file transcriptionNot accepted for cascading callsNot applicablecustom_vocabulary on the requestPOST /stt/transcribe for audio files
OpenAI Realtime or Gemini LiveBuilt into the speech-to-speech modelHandled by the realtime sessionturn_detection on the assistantPrompt instructions onlypipeline_mode: realtime

How STT affects latency, turn detection and barge-in

In a cascading pipeline the STT stream owns turn-taking. APIFleet treats Deepgram's speech_final flag as the end of a caller turn, and uses the UtteranceEnd event as a backstop when a noisy line never produces clean silence. The finished turn is then sent to the language model.

Barge-in depends on the provider reporting that speech started. APIFleet opens Deepgram with vad_events enabled, and the SpeechStarted event is what stops the assistant's audio when the caller interrupts. Without that event an agent keeps talking over the caller.

The default endpointing_ms is 200 milliseconds of trailing silence and the default utterance_end_ms is 1000 milliseconds. You can set endpointing_ms per assistant between 50 and 3000, and utterance_end_ms between 300 and 8000.

  1. Lower endpointing_ms only after testing callers who pause mid-sentence, because a short threshold splits one request into two turns.
  2. Raise utterance_end_ms on noisy routes where speech_final rarely arrives, so turns still close.
  3. Enable stt_no_delay on Deepgram to reduce formatting delay, and pair it with stt_numeric_coalesce_ms so a phone number spoken in chunks reaches the model as one turn.
  4. Add stt_keyterms for product names, street names and surnames that your test calls get wrong.

Cascading STT or speech-to-speech: which one to pick

You only need a separate speech-to-text API when the assistant runs in cascading mode, where STT, the language model and TTS are separate stages. OpenAI Realtime and Gemini Live listen to audio directly, so they have no separate transcription stage to configure.

Cascading is the better fit when you need a specific voice, an accent the realtime model does not offer, or explicit control over endpointing and vocabulary. Speech-to-speech removes the transcript hop and keeps setup short, at the cost of less control over each stage.

Decision table: cascading pipeline versus speech-to-speech
RequirementCascading (STT + LLM + TTS)Speech-to-speech (Realtime / Live)
Choose the voice or regional accentAny supported TTS adapterVoices offered by the realtime model
Tune silence threshold per assistantendpointing_ms and utterance_end_msturn_detection modes
Bias recognition to names and termsstt_keytermsPrompt instructions
Inspect the exact transcript the LLM sawFinal STT text per turnModel transcription of the session
Fewest moving partsThree providers to configureOne provider and model
Cost visibilitySeparate STT, LLM and TTS linesOne realtime audio usage line

What speech-to-text costs per minute of a call

Deepgram's pay-as-you-go page lists Nova-3 Monolingual at $0.0048 per minute and Nova-3 Multilingual at $0.0058 per minute as promo pricing (previously $0.0077 and $0.0092), billed per second, as observed on 2026-11-15. Keyterm Prompting is an add-on listed at $0.0013 per minute.

Google's Gemini API pricing page gives an approximate rate of $0.009 per minute for Gemini 3.5 Transcribe Live and $0.005 per minute for the unary Gemini 3.5 Transcribe model, as observed on 2026-11-15. Check the page for your account tier before you commit to a budget.

STT is one line of the call cost, not the call cost. A 10-minute cascading call on Nova-3 costs about $0.048 for transcription at the promo rate plus APIFleet's $0.03 per minute platform fee, which is $0.30. Language model tokens, TTS and carrier minutes are billed separately on top of that.

Published STT prices, pay as you go, observed 2026-11-15
ModelModePrice per audio minuteSource
Deepgram Nova-3 MonolingualStreaming$0.0048 (promo, was $0.0077)deepgram.com/pricing
Deepgram Nova-3 MultilingualStreaming$0.0058 (promo, was $0.0092)deepgram.com/pricing
Deepgram Keyterm Prompting add-onAdd-on$0.0013deepgram.com/pricing
Gemini 3.5 Transcribe LiveStreamingAbout $0.009ai.google.dev pricing
Gemini 3.5 TranscribeUnary fileAbout $0.005ai.google.dev pricing

How to swap the STT provider on an assistant

Because each stage is a separate field, switching transcription does not touch the prompt, tools, voice or phone number. Use your own provider credential for the STT stage so usage lands on your account.

A Deepgram configuration sends PATCH /assistants/{id} with pipeline_mode set to cascading, stt_provider set to deepgram, stt_model set to nova-3 and stt_language set to en. To trial Gemini, change stt_provider to gemini and stt_model to gemini-3.5-transcribe-live; the unary gemini-3.5-transcribe model is rejected for calls.

  1. Record a baseline of 20 or more test calls on the current provider, including interruptions, phone numbers and names.
  2. Change only stt_provider and stt_model on a copy of the assistant, keeping the LLM, TTS and endpointing settings identical.
  3. Replay the same scripts over browser audio and then over the real carrier route, because 8 kHz phone audio behaves differently.
  4. Compare final transcripts for entities, count turns that were cut off or merged, and check per-call STT cost in the call log.
  5. Move one phone number to the new configuration and keep the previous assistant as a rollback.
Voice agent workflow showing speech-to-text, model, tool and spoken-response stages

Continue with a practical next step

Frequently asked questions

Which speech-to-text API is fastest for real-time voice agents?

Speed on a call means time from the caller's last word to a final transcript. Use a streaming API with interim results and tunable endpointing, such as Deepgram Nova-3 or Gemini 3.5 Transcribe Live, then measure that delay on your own phone recordings rather than trusting batch benchmarks.

Deepgram vs Soniox vs Azure Speech for phone calls: which should I use in APIFleet?

Inside APIFleet, live transcription runs on Deepgram or Gemini. Soniox and Azure Speech are connected as text-to-speech adapters. Deepgram accepts 8 kHz mu-law phone audio without transcoding, which makes it the default for carrier calls.

Do I need a separate STT if I use OpenAI Realtime or Gemini Live?

No. Speech-to-speech models listen to the audio directly, so a realtime assistant has no stt_provider. You only choose a speech-to-text API when the assistant runs in cascading mode with separate STT, LLM and TTS stages.

How does STT affect voice agent latency and barge-in?

In cascading mode the STT endpointing decides when a turn ends, so its silence threshold adds directly to response time. The speech-started event from the STT stream is also what lets APIFleet stop the assistant when a caller interrupts.

How much does speech-to-text cost per minute of a voice agent call?

Published pay-as-you-go rates observed on 2026-11-15 were $0.0048 per minute for Deepgram Nova-3 Monolingual (promo pricing, previously $0.0077) and about $0.009 per minute for Gemini 3.5 Transcribe Live. Add the LLM, TTS, carrier and APIFleet's $0.03 per minute platform fee for the full call cost.

Sources and evidence

Prepared with AI assistance and checked against the linked evidence. Examples are illustrative unless explicitly documented as measured results.

Bring your next conversation.

Explore the API, or sign in to your existing workspace. New workspace access is currently limited; contact us to discuss your project.