Best Speech-to-Text API for Custom Vocabulary by Use Case: Voice Agents, Batch Files, Huge Term Lists, OpenAI
Deepgram, AssemblyAI, Google, Azure, Amazon Transcribe, OpenAI and Rev.ai all take a custom vocabulary list at request time. Which one fits depends on live versus batch, list length and how you are billed.
The right speech-to-text API for custom vocabulary depends on two things: whether your audio is live or recorded, and how long your term list is. For voice agents, Deepgram Nova-3's keyterm and AssemblyAI's streaming keyterms both take about 100 terms and can be changed mid-stream. For recorded files, AssemblyAI's pre-recorded keyterms_prompt takes up to 1,000 terms and Rev.ai up to 6,000 English phrases; Google's PhraseSet boost is the choice if you want to weight terms, and Azure's phrase list does not work with batch transcription. OpenAI users get a new keywords field on gpt-transcribe, and must move to it before Whisper shuts down on February 26, 2027. For vocabularies in the thousands, Amazon Transcribe, Microsoft and Deepgram all point to a trained custom model instead of a list.
What custom vocabulary does, and what it costs you
A general speech model does not know your product names, your drug list or your executives. Custom vocabulary features let you tell it, at request time and without training, which words to expect. Some, like Google's PhraseSet boost and Azure's phrase list weight, let you set how hard to push. Others, like Deepgram's keyterm, AssemblyAI's keyterms_prompt and OpenAI's new keywords field, take a plain list.
The cost is accuracy in the other direction. Google's boost documentation says higher boost values reduce missed terms but increase terms that appear in the transcript without being said. Deepgram's docs say higher intensifiers make false predictions more likely; AssemblyAI says large lists or common words can cause "overcorrections and hallucinations". The only public benchmark of this, Contextual Earnings-22 (arXiv, March 28, 2026), found that giving systems a call's full keyword list, including names not spoken in a particular clip, mainly hurt precision through false insertions.
That benchmark is also the only published attempt to compare vendors on the same audio: 630 short clips from 46 earnings calls, containing 1,259 instances of 738 person, company and product names, run through six systems including Deepgram Nova-3, OpenAI Whisper-1 and AssemblyAI. Supplying context raised keyword accuracy for every system, while changes in overall word error rate were smaller and inconsistent; for OpenAI, word error rate rose. The vendors' own figures do not fill the gap, because each comes from its own audio: Deepgram's Nova-3 changelog reports a median word error rate of 5.26% on batch audio, and AssemblyAI says a detailed prompt cut word error rate by about 21% across 20,000 of its voice-agent calls. The benchmark has limits too. Its authors are affiliated with Argmax, which sells a speech SDK and has a system among the six tested, and its code and dataset "will be released upon acceptance". No one has published a cross-vendor table of word error rate, term recall and false insertions at different list sizes, so every recommendation below is about fit, not measured accuracy.
The options side by side
| Situation | First choice | Limit that matters |
|---|---|---|
| Voice agent, live calls | AssemblyAI streaming keyterms or Deepgram Nova-3 keyterm |
100 terms; Deepgram 500 tokens |
| Recorded files, up to 1,000 terms | AssemblyAI pre-recorded keyterms_prompt |
1,000 terms, 6 words each |
| Recorded files, thousands of phrases | Rev.ai custom vocabulary | 6,000 English phrases per job |
| Need per-phrase-set weighting | Google PhraseSet boost | Boost above 0, practical max 20 |
| Already on OpenAI | gpt-transcribe / gpt-live-transcribe keywords |
Whole request rejected on <, > or line breaks |
Voice agents and live calls
Live audio narrows the field to APIs that can change the list during a call, because the words that matter change when a caller moves from billing to a technical fault. Deepgram's keyterm works with streaming on Nova-3 and Flux, and a Configure message carrying a new keyterms array replaces the list mid-stream; an update over the limit fails with CONFIGURE_KEYTERM_LIMIT_EXCEEDED and the stream keeps its old terms. AssemblyAI's streaming API does the same with an UpdateConfiguration message, and its Voice Agent API applies a new keyterms array from the next user utterance.
The limits are close. AssemblyAI's streaming docs cap a session at 100 keyterms of 50 characters or less. Deepgram's page describes support for up to 100 terms, enforces 500 tokens in total, and advises focusing on about 20 to 50. Deepgram's older weighted keywords parameter does not work on Nova-3, and its docs warn that a weight suffix such as :0.15 copied into a keyterm is silently treated as part of the term.
Azure's phrase list also works in real time and in Microsoft's Voice Live API, and in the Speech SDK's real-time path it takes a whole-list weight from 0 to 2. OpenAI's gpt-live-transcribe takes prompt and keywords in session.update and can be updated mid-session, though its guide gives no keyword limit.
Recorded files and batch jobs
For files, the choice is mostly about list length. AssemblyAI accepts up to 1,000 words or phrases in keyterms_prompt on pre-recorded audio, with six words per phrase at most; its docs warn that tokenization can make the effective limit lower, and that each word in a phrase counts. Its pricing page, updated November 10, 2026, ties the 1,000 figure to the STT-3.7 model; on Universal-2 the limit is 200.
Rev.ai goes further, at up to 6,000 phrases per job in English and 1,000 in other languages, with each phrase up to 12 words and no numbers allowed. Amazon Transcribe allows 100 vocabulary files per account at 50 KB each, and says new vocabularies should use its table format, whose DisplayAs column controls how a term is written out; the older list format is being deprecated.
One option to rule out here is Azure's phrase list. Microsoft's documentation says batch transcription does not support it; a trained custom speech model is Azure's route for batch.
When you need to set weights
Google is the API to choose if you want to tune each phrase set's strength. Its boost is a number above 0, with a practical maximum of 20. Google gives no recommended starting value, and its samples use 10 and 20. Its docs make one structural point worth knowing: boost applies only to a whole phrase, so a long phrase that keeps being missed should also be added as its two-word and longer pieces, each with its own boost.
Where boost gains turn into inserted words has not been measured across vendors. Start at or near the default, which is 1 for Deepgram's intensifier and 1.0 for Azure's weight, and raise it only when a test shows terms still being missed.
Vocabularies in the thousands
Past a few hundred to a few thousand terms, the vendors themselves say to stop listing and train. Deepgram's keywords page says needing more than 100 keywords means contacting it about custom model training, available on its Enterprise plan with no published price. Microsoft says a phrase list "shouldn't have more than 2,000 phrases" and recommends custom speech for large lists; custom speech trains on text or on audio with reference transcripts, and Microsoft charges for training, usage and endpoint hosting, though batch use needs no hosted endpoint. Amazon's custom language models take up to 2 GB of training text and, unlike vocabularies, learn how words are used in context; Amazon calls more than 10,000 words of accurate in-domain transcripts the ideal starting point.
At what list size a trained model beats the best list has not been measured on any public dataset. Parsec, a small language model lab that fine-tunes compact models to a customer's domain, does not mention speech recognition on its site.
Already on OpenAI
OpenAI posted a deprecation notice on August 26, 2026: whisper-1, gpt-4o-transcribe and gpt-4o-mini-transcribe shut down on February 26, 2027. Whisper's vocabulary tool was a prompt of up to 224 tokens, which OpenAI's guide says gives less control than its recommended model. The replacements, gpt-transcribe and gpt-live-transcribe, add a keywords field for "literal terms you expect to hear". Clean your list first: a keyword containing <, > or a line break makes the API reject the whole request.
A worked cost example
Take a team transcribing 50,000 minutes a month, about 833 hours, with vocabulary turned on. The assumptions are pay-as-you-go list prices, monolingual English, US East for Amazon, and no volume discounts. Deepgram labels its speech-to-text prices promotional, and AssemblyAI bills streaming on session connection time, so idle connections add to its figure. Google and Azure are left out of the example.
On recorded files, Deepgram Nova-3 costs $0.0043 a minute plus a $0.0013 keyterm add-on, and AssemblyAI STT-3.7 costs $0.21 an hour plus $0.05 for keyterms. Amazon says its $0.006 batch rate includes custom vocabularies, and OpenAI lists gpt-transcribe at $0.0045 a minute with no separate charge for keywords mentioned. Live rates are higher: Deepgram streaming is $0.0048 plus the same add-on, AssemblyAI's STT-3.7 Realtime is $0.30 an hour with keyterms included, Amazon streaming is $0.01 a minute and gpt-live-transcribe is $0.017 a minute.
| API | Recorded, per month | Live, per month |
|---|---|---|
| Deepgram Nova-3 with keyterms | $280 | $305 |
| AssemblyAI STT-3.7 with keyterms | $217 | $250 |
| Amazon Transcribe | $300 | $500 |
OpenAI gpt-transcribe / gpt-live-transcribe |
$225 | $850 |
On recorded audio the spread is under $85 a month at this volume, small next to the cost of a wrong drug name or a misspelled customer. On live audio it is wider, and OpenAI's live model costs more than three times AssemblyAI's.
How to choose on your own audio
Because no comparable accuracy figures exist, a short test decides more than any table:
- Take 50 to 100 real clips and have a person transcribe them, marking each domain term.
- Run each shortlisted API three ways: no vocabulary, only the terms spoken in each clip, and your full list.
- Score word error rate, the share of marked terms right, and the number of list terms that appear unspoken.
- For weighted APIs, repeat the full-list run at two or three strengths and keep the lowest that works.
Bottom line
Running voice agents: test AssemblyAI's streaming keyterms and Deepgram Nova-3 keyterm, which both take about 100 terms and swap lists mid-call; AssemblyAI includes it in the price. Transcribing files against up to 1,000 terms: start with AssemblyAI's pre-recorded keyterms, and try Rev.ai if your English list runs to thousands of phrases. Want to tune strength phrase by phrase: use Google's boost and start low. On Azure with batch jobs: the phrase list will not work, so plan for custom speech. On OpenAI: move to gpt-transcribe or gpt-live-transcribe and their keywords field before February 26, 2027. Past a few thousand terms, train a model through Amazon, Microsoft or Deepgram's Enterprise plan. Whatever you pick, count the words it adds that nobody said.
Sources
- Deepgram, Keyterm prompting: https://developers.deepgram.com/docs/keyterm
- Deepgram, Keywords: https://developers.deepgram.com/docs/keywords
- Deepgram, Changelog, February 12, 2025: https://developers.deepgram.com/changelog/2025/2/12
- Deepgram, Pricing: https://deepgram.com/pricing
- AssemblyAI, Keyterms prompting (pre-recorded): https://www.assemblyai.com/docs/custom-vocabulary
- AssemblyAI, Streaming keyterms prompting: https://assemblyai.com/docs/streaming/keyterms-prompting
- AssemblyAI, Voice Agent API keyterms: https://www.assemblyai.com/docs/voice-agents/voice-agent-api/keyterms
- AssemblyAI, Prompting and keyterms (sync API): https://www.assemblyai.com/docs/sync-stt/prompting-and-keyterms
- AssemblyAI, Pricing: https://www.assemblyai.com/pricing
- Google Cloud, Model adaptation boost: https://docs.cloud.google.com/speech-to-text/docs/boost
- Google Cloud, Model adaptation: https://docs.cloud.google.com/speech-to-text/docs/adaptation
- Microsoft, Improve recognition accuracy with phrase list: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/improve-accuracy-phrase-list
- Microsoft, Custom speech overview: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/custom-speech-overview
- Amazon Transcribe, Custom vocabularies: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html
- Amazon Transcribe, Custom language models: https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html
- Amazon Transcribe, Pricing: https://aws.amazon.com/transcribe/pricing/
- OpenAI, Speech to text guide: https://developers.openai.com/api/docs/guides/speech-to-text
- OpenAI, Realtime transcription: https://developers.openai.com/api/docs/guides/realtime-transcription.md
- OpenAI, Deprecations: https://developers.openai.com/api/docs/deprecations
- OpenAI, Pricing: https://developers.openai.com/api/docs/pricing
- Rev.ai, Custom vocabulary: https://docs.rev.ai/api/custom-vocabulary/
- Durmus et al., Contextual Earnings-22 (arXiv): https://arxiv.org/html/2604.07354
- Parsec, Home: https://parseclab.ai