Blog

Speech to Text API: Capabilities, Inputs and Outputs

A practical reference to speech to text API capabilities, inputs, outputs, accuracy metrics and deployment trade-offs for teams building on audio.

Which speech to text API is the most accurate? Ask that question in a vendor comparison and the answer comes back as a single number, a word error rate measured on clean, studio-quality audio. It's a tidy answer to a question almost nobody has.

The question a communications team, a brand monitoring group, or a podcast booker is really asking is narrower: when a host says a client's product name out loud, does the transcript contain it? A service can post a respectable average and still lose the rare surname, the sponsor code read at speed, the regional pronunciation of a founder's company. The average hides exactly the failures that cost money.

What follows is a reference for the parts that decide whether an API is usable: what it accepts, what it returns, how the bill is built, and how to test a shortlist against the names that matter to your own audience. Definitions first. Then the places where the capability list and the actual world disagree.

Table of Contents #

Core Capabilities Every Speech to Text API Offers #

A speech to text API takes audio in, returns text, and reports where in the audio each word or phrase came from. That's the whole contract. Everything else is an extra field in the response, and the extras are where buying decisions go wrong.

The set of capabilities has stabilized across vendors, even though packaging hasn't.

Capability What You Get Back Typical Use
Batch transcription Full transcript for a stored audio file Archiving and searching recorded episodes
Streaming recognition Interim and final text as audio arrives Live captions and real-time alerts
Word-level timestamps Start and end time in seconds for each word Linking a match to the exact moment
Speaker diarization Speaker label attached to each segment Separating hosts and guests in interviews
Custom vocabulary Boosted recognition of listed terms Brand, product and person names
Punctuation and formatting Capitalized, punctuated text Readable quotes for clients
Language detection Language code and transcript for each segment Multilingual or code-switched audio

Batch transcription sends a finished file and returns a finished transcript, often minutes later for a long episode. Streaming recognition returns partial text while someone is still speaking, then a final version once the engine decides the phrase has closed. A team building live captioning needs the second. A team indexing an archive doesn't.

The row that causes the most confusion is diarization. It returns a label per segment, such as "speaker 1" and "speaker 2", not a name. Matching label to person is application work, and it degrades sharply when two people talk over each other, which in conversational podcasts is most of the interesting material.

Word-level timestamps return a start and an end time in seconds for each recognized word, and that's what turns a text match into a playable link. Without them a match is a sentence floating in a document with no address.

Read the feature matrix twice. A capability marked as supported frequently means supported in batch mode only, or supported in one model of several.

Custom vocabulary is the row that matters most for monitoring brand and product names, and it's the one most often priced as an add-on or limited to a term count. Punctuation and formatting decide whether a quote is usable in a client report without rewriting. Language detection returns a language code alongside the transcript, which is useful until a speaker switches language mid-sentence and the segment boundaries disagree.

Confirm these three first #

  • Timestamps at the word level, not just the segment level. Segment-level timing is enough for chapter markers and useless for clipping a five-word mention.
  • Streaming availability on your plan and model. Plenty of services offer streaming on the flagship model and nothing else.
  • Custom vocabulary against your real term list. Test with the actual names, not the demo list the documentation ships.

Audio Inputs and Request Modes to Plan For #

Audio reaches an API in four shapes, and each imposes its own limit before a single word is transcribed.

  1. An uploaded file. Usually WAV, FLAC, MP3 or M4A, submitted for asynchronous processing. The constraint is size and duration per request.
  2. A reference to a URL. The provider fetches the audio itself, which means the file has to be reachable from the public internet, not behind a private bucket or a signed link that expires in minutes.
  3. A live stream. Sent over a persistent connection, typically WebSocket or gRPC, returning text within seconds. The constraint is session length and how many streams you can run at once.
  4. Microphone or browser audio. Captured client-side, resampled, then streamed. The constraint is whatever the browser and the uplink will tolerate.

Size catches people first. A one-hour episode encoded at 128 kbps MP3 comes to roughly 58 MB, since 128 kilobits per second across 3,600 seconds works out to about 57.6 megabytes. Services that cap uploads below that force chunking, and chunking forces you to add each chunk's time offset back onto the timestamps it returns. Get that arithmetic wrong and every mention after the first chunk points to the wrong minute.

Speech is commonly sent as 16 kHz mono. Uprecording to 44.1 kHz stereo rarely improves recognition and triples the bytes in flight. The exception is speaker separation: if the host and the guest were recorded on separate channels, per-channel labeling beats diarization on a mixed track, because the split is physical rather than inferred.

Engineering note: when a show is recorded remotely, ask for the two-track export before you ask the vendor for better diarization. Cleaner input beats a smarter model almost every time.

Two more constraints belong in the same planning document. Very long recordings, whether a three-hour livestream or a full-day conference, may exceed the duration limit per request even when the file size fits, so the pipeline needs a splitter that respects silence rather than cutting mid-word. And a URL mode that requires public reachability changes your storage design, because the audio has to sit somewhere fetchable for the duration of the job.

The four checks to confirm in vendor documentation #

  • Maximum file size per request, and whether it differs between batch and streaming.
  • Maximum duration per request, and whether long audio must be chunked by the client.
  • Accepted codecs and sample rates, including whether the service resamples or rejects anything above 16 kHz mono.
  • Whether URL inputs must be publicly reachable, or whether signed links with short expiry are accepted.

Output Formats and Timestamp Data Explained #

The illustration below shows the shape of a typical response: audio in, structured text out, with enough metadata to reconnect every phrase to a moment in the recording.

A hand-drawn illustration showing how a speech-to-text API converts audio input into structured transcripts and segmented data.

A response is not a wall of text. It arrives as a document with a full transcript plus an ordered list of segments, and each segment usually carries a start time and end time in seconds, a speaker tag, a confidence score, and sometimes an array of words with their own timings. Understanding that structure is the difference between a searchable archive and a text dump.

Word-level timing is not a recent afterthought in these APIs. Google added word-level time offsets in August 2020, letting developers request the beginning and ending time for each recognized word, as the Cloud Speech-to-Text release notes record. That change is what made the connection between a text match and a specific moment in an episode a standard feature rather than custom engineering.

Output Granularity Used For
Plain transcript text Whole file Reading, summaries and quotes
Segments with timestamps Utterance, start and end in seconds Jumping to the moment in playback
Word timings Each word, start and end in seconds Precise clipping and citations
Confidence scores Each segment or each word, a value from 0 to 1 Flagging weak passages for review
Caption files (SRT, VTT) Cue blocks with time ranges Video and web player captions
Structured JSON Full result with all fields Database storage and reprocessing

A match, traced back to the audio #

Say a monitored brand appears in a segment that begins at 1,842.6 seconds, and the brand's own word timing runs from 1,842.6 to 1,843.1. Those two numbers let a player open at 30 minutes and 42 seconds, half a second before the word is spoken, and the reviewer hears the mention rather than hunting for it. A shareable citation is the same pair of numbers plus the sentence around them, which is why indexing an episode catalogue for podcast transcript search depends on this layer far more than on the transcript alone.

Confidence scores sit between 0 and 1 and express the engine's own certainty. Treat them as a routing signal, not a truth score. A threshold that sends everything below it to human review cuts reviewer workload without letting bad quotes through, and the threshold needs tuning per vendor because the numbers aren't calibrated against each other.

Keep the raw JSON. SRT and VTT are for players, and plain text is for reading, but the structured response holds every field the others were derived from. A team that stores it can rebuild captions, re-run entity extraction or change its search index later without paying to transcribe the same hour twice.

Accuracy Metrics That Matter Beyond Average WER #

Word error rate is the share of reference words that the system got wrong. It's calculated as substitutions plus deletions plus insertions, divided by the number of words in the reference transcript. A 100-word passage transcribed with 5 substitutions, 2 deletions and 1 insertion scores (5 + 2 + 1) / 100, which is 8 percent WER.

That formula is honest and blunt. Every word counts the same, so swapping "Acme" for "A.C.M.E." costs exactly as much as dropping the word "the", even though only one of those errors costs a client a mention.

Real-world numbers diverge far more than headline figures suggest. One benchmark reported accented Indian English WER ranging from 5.19 percent for the strongest system to 53.48 percent for the weakest, and African-English evaluation across more than 100 accents found proprietary systems varying substantially by country and domain, in a speech to text API comparison covering real-world accuracy. For contrast, OpenBenchmarks' summary of speech-to-text results places clean-English error rates around 3.5 percent for some modern systems. These figures come from different benchmarks run on different systems, so they show spread rather than a clean ranking. What they do establish is that accuracy depends heavily on the accent mix and recording conditions in the audio, and the averages vendors publish are usually measured on cleaner material than a typical production pipeline sees.

Code-switching is a failure mode the average can't see at all. When a speaker drops a phrase of another language into an English sentence, few words change while the meaning of the passage can flip entirely. Because conventional WER counts only word mismatches against a reference, a transcript can score well on it while carrying the wrong meaning, so anyone transcribing multilingual conversations needs a check beyond WER.

Metric What It Measures Why It Matters
Word error rate Substituted, deleted and inserted words over reference words Overall transcript quality
Entity error rate Errors on names, brands and product terms Whether key names survive transcription
Missed-mention rate Monitored keywords never recognized The direct cost of blind spots
Alert precision Share of flagged matches that are real Reviewer workload
Timestamp accuracy Offset between a match and the audio moment Reliability of clips and citations
Publication-to-searchable latency Minutes from publication to indexed text Timeliness of alerts

The rule that follows: the published average is the wrong number to shop on. The metric that matters is how few commercially important mentions an API misses in your audience and your vocabulary.

A missed mention has no partial credit. If the transcript reads "Adam's apple" instead of "Adams Apple", the alert never fires, nobody reviews it, and the report to the client says the brand wasn't discussed. Entity error rate and missed-mention rate convert quality into a business number, and both are measurable on a sample of 20 minutes of your own audio with a spreadsheet.

Every one of these systems is automated, and every transcript will contain errors, so any workflow that publishes a quote or a citation needs a human check on the final wording. The metrics above tell you where to point that reviewer.

Hosted, Self-Hosted and On-Prem Trade-offs Compared #

Three deployment shapes cover nearly every production pipeline, and they differ on two questions that matter more than feature parity: whether the audio leaves your environment, and who carries the operational burden when something breaks at 2 a.m.

An infographic illustrating three speech-to-text API deployment models: Hosted, Self-Hosted, and On-Premise systems.

Deployment Audio Leaves Your Environment Who Runs Updates and Capacity Best Fit
Hosted API Yes Provider Fast start and variable volume
Self-hosted open model No Your team Strict data control and steady volume
On-prem vendor deployment No (runs on your infrastructure) Shared, set by contract Regulated data with vendor support

Hosted APIs send audio outside the customer environment, while self-hosted engines keep audio offline and shift infrastructure and maintenance responsibility onto the buyer, as AssemblyAI's comparison of hosted APIs and open-source engines describes. That's the whole trade in one sentence, and the maintenance half is routinely underestimated.

Deployment choice also buys and costs accuracy. Open-ASR benchmarking shows a speed-quality trade-off: some decoder families post stronger average English accuracy but run more slowly, while others deliver better real-time factors for long-form or offline work. The faster engine is the right pick for a nightly batch across thousands of hours; the slower, more accurate one is right when the queue has all night anyway.

Security language needs translating. Encryption and compliance badges don't answer whether audio is retained, where processing physically occurs, whether customer audio trains models, or how deletion is verified. Those are contract questions with operational answers, and a vendor that can't answer them in writing probably hasn't thought about them.

Private is not automatically safer. A self-hosted pipeline without access controls, deletion checks, backups and quality monitoring can raise risk rather than lower it, because the failure modes now belong to your team.

The practical test is jurisdiction, volume, latency target and the cost of a missed mention. A team processing confidential earnings calls has a different answer from a team indexing public podcast episodes, even though both are transcribing speech at similar volume.

Questions to put to any vendor #

  • Where does processing occur, and can you restrict it to a specific region?
  • How long is audio retained, and is retention different for transcripts and logs?
  • Does customer audio train any model, including internal evaluation sets?
  • How is deletion verified, and can you produce evidence for an auditor?
  • How are model updates announced, and can a pipeline pin a model version?

Connecting Output to Your Tools and Workflows #

Delivery mechanics decide whether a transcription pipeline feels instant or broken, and there are three patterns worth knowing.

The first is plain request and response: the application submits audio or a search query and receives JSON in the same call. It's the simplest thing to build and it suits batch work and lookups. The second is polling, where the application asks the service for new results on a timer. It's easy to reason about and it adds delay plus wasted requests. The third is push delivery, where each result is sent to an endpoint you control, usually as a webhook carrying a signature the receiver must verify before trusting the payload. The podcast API overview shows the same three patterns applied to podcast data, with alerts arriving as signed pushes rather than repeated queries.

A diagram illustrating the workflow of a speech-to-text API for audio processing and automated business tasks.

Webhooks are where integrations often break, so treat the receiving endpoint as production code:

  1. Verify the signature on every request before parsing the body, using the shared secret and the provider's documented scheme.
  2. Return a success code immediately and process the payload asynchronously, so a slow database doesn't trigger a retry storm.
  3. Handle duplicate deliveries with an idempotency key derived from the event ID, because at-least-once delivery is the norm.
  4. Retry safely after a timeout by checking whether the first attempt already committed the write.

Most providers publish an OpenAPI schema, which lets a client be generated rather than hand-written and lets requests be exercised in Postman before any code exists.

How each pattern bills matters more than how it's coded: polling and streaming both multiply request volume in ways a per-minute price doesn't show.

Cost Drivers, Free Tiers and Usage Limits #

Billing units come in three shapes, and comparing vendors without converting them is how budgets get surprised. Most services charge per minute or per hour of audio, some charge per request, and streaming is frequently priced separately from batch at a higher rate because the compute can't be batched.

Free tiers tell you something about fit. In 2025, Microsoft Azure Speech-to-Text provided 5 hours of free real-time transcription per month under its standard and custom tiers, according to Microsoft Azure's Speech pricing page. Five hours is 300 minutes.

Run the arithmetic for a modest show. Thirty episodes of 60 minutes each is 1,800 minutes a month, six times that allowance. A free tier gets a pilot live and covers nothing resembling steady production, which is a fine design as long as nobody plans a launch around it.

Add-ons move the rate more than headline pricing suggests. Diarization, custom vocabulary and streaming are the usual surcharges, and each one sits exactly where a monitoring workflow needs it. Reprocessing is the silent multiplier: a failed job or a batch of low-confidence transcripts sent back through the pipeline bills the same audio twice, so a 10 percent reprocessing rate is a 10 percent cost increase that no price list mentions.

Cost sheet, four lines: monthly audio minutes, add-on rate per feature enabled, expected reprocessing percentage, and peak simultaneous streams.

That last line is the one teams forget. Concurrency limits, not price, determine whether a large backfill finishes overnight.

Limits to check before signing anything #

  • Simultaneous streams or jobs, and whether the cap differs by plan tier.
  • Rate limits per minute, which decide burst behaviour during a backfill.
  • Maximum request size, already covered on the input side but billed the same way.
  • Storage and retention windows for uploaded audio and generated transcripts.
  • How long results remain retrievable, since a transcript that expires in seven days can't seed a permanent index.

Test Your Shortlist With Your Own Audio #

Published benchmarks measure someone else's audio. The only number that predicts performance on your shows is the one measured on your files, with your names.

  1. Collect 20 to 30 recordings that match your production reality: the same hosts, accents, room noise, remote-call compression and crosstalk.
  2. Write down 30 to 50 names, brands, products and sponsor codes the work depends on, including the awkward ones with unusual spelling or pronunciation.
  3. Send identical files to every shortlisted API with identical settings, including custom vocabulary wherever it's offered, so the comparison is fair.
  4. Score three things against a hand-checked sample: missed-mention rate, entity error rate, and timestamp drift in seconds between the returned time and where the word falls.
  5. Measure publication-to-searchable latency if alerts need to be timely, timing from the moment an episode appears in the feed to the moment its transcript is queryable.
  6. Check retention, training use and deletion against the answers gathered during the deployment comparison, since a great score on a pipeline you can't legally run is worthless.
  7. Choose the API with the fewest missed mentions that meets your latency and data requirements, then budget reviewer time for any quote going to a client.

A 60-minute sample carrying 30 to 50 labelled terms is enough to see the spread. Vendors that look identical on a leaderboard will separate clearly on the four or five names that your audience says constantly and no training corpus has ever seen.

For teams whose job is finding mentions across many shows rather than embedding transcription into their own product, a monitoring service is the shorter path. Podzone ingests publicly published podcast feeds, transcribes the episodes they reference, and makes the resulting transcripts searchable, and quoted words in a search match as an exact phrase, which is worth testing with the same name list used above.


The gap between a good average and a reliable mention is the whole decision, and it only closes with a test on audio your audience records. Podzone ingests publicly published podcast feeds, transcribes the episodes they reference, and makes the transcripts searchable, so a brand, competitor or guest name can be tracked across shows without building a pipeline first. Every result carries the passage's start and end time in seconds, and the same search, transcript and alert data is available through the API and MCP server when it needs to live inside your own tools. Start at Podzone and run the name list from the test above against it.

Try Podzone free. No card needed.

Every plan includes alerts, search, transcripts, sponsors, people, topics, show contact data, the API and the MCP server for AI agents. See the plans.

Start free trial