Skip to content

Migrate to Gladia from another speech-to-text API

The problem. Switching speech-to-text providers touches more than an API call: the audio you send, the events your application waits for, the vocabulary you tuned, the callbacks, the history and the people who read the transcripts. Missing one shows up in production.

What this chapter gives you. A checklist that works for any provider, then one guide per provider that maps its endpoints, parameters and messages to Gladia’s, with code before and after. The move is mostly a mapping of names: Gladia’s live API streams raw audio over a WebSocket like the others, and its pre-recorded API runs jobs like theirs.

Step What you do Where
1. Inventory list what you use today: live or files, languages, add-ons, volumes below
2. Evaluate measure Gladia on your own audio Evaluate on your audio
3. Map translate settings and messages, with the SDK the guide of your provider
4. Run side by side send the same traffic to both, compare below
5. Switch move traffic in steps, keep a way back below
  • Live, files, or both, and for live: the audio format (sample rate, encoding, channels) your sources produce.
  • Languages, and whether speakers switch between them (Supported languages).
  • Features: speaker diarization, custom vocabulary, PII redaction, translation, end of turn, sentiment. Each has a page under Audio intelligence or Live transcription.
  • Volumes: hours per month and the peak number of simultaneous streams (Rate limits and quotas).
  • What your application waits for: partials, finals, end of turn, callbacks, and what it stores.

Run a word error rate test on 30 to 60 minutes of your own recordings, with the same normalization for every provider (Evaluate on your audio), and listen to the errors that matter to your users.

  • Use the Gladia SDK (SDKs): it opens the session, keeps your audio until it is transcribed, and reconnects without losing a word.
  • Follow the guide of your provider for each setting and each message.
  • Re-create your vocabulary as custom_vocabulary (Custom vocabulary).

Send a share of real traffic to both providers for a few days. Compare the transcripts, the latency your users see, and the events your application reacts to (end of turn, callbacks). Fix the mapping, not the comparison.

Move traffic in steps (10 %, 50 %, 100 %), watch your error rates and Gladia’s answers (429 means you reached your concurrency: Rate limits and quotas), and keep the old integration ready to take the traffic back until a full week has run cleanly.

  • Settings move from the URL to a body. Most providers take live settings in the WebSocket’s query string; Gladia takes them in POST /v2/live, which returns the WebSocket url.
  • Units change: endpointing in seconds, not milliseconds (Endpointing).
  • Language codes are ISO 639-1 (en, not en-US).
  • Pre-recorded is a job: upload, start, then read it on its callback or by polling (Transcribe a file).
  • Your history does not move: past transcripts stay with your former provider; export what you must keep.