🎯 On-Device Voice AI for Enterprises
Get dedicated support to ensure your specific needs are met.
Talk to Sales

TLDR: Speech-to-text (STT) APIs and SDKs range from the dictation capabilities built into Android, iOS, and browsers to production-grade transcription engines. Cloud APIs from Amazon, Microsoft, and Google process audio on their servers, while open-source engines such as Whisper and Vosk give teams control over deployment at the cost of hosting and maintenance. Cheetah Streaming Speech-to-Text and Leopard Speech-to-Text run inference on-device, with models under 40 MB and accuracy competitive with cloud alternatives. The right choice depends on the workload, target platform, latency requirements, deployment model, and privacy and compliance requirements.

Types of Speech-to-Text APIs and SDKs

Speech-to-text APIs and SDKs convert spoken audio into written text inside an application, either streaming each word as the user speaks or transcribing complete recordings in batch. The choice of STT engine affects the latency, architecture, and privacy exposure of every feature built on top, from voice agents and live captioning to medical dictation, voice memos, and call analytics.

A cloud speech-to-text API keeps inference on the provider's servers, while an on-device speech-to-text SDK packages the model within the memory and compute budget of the target device, whether that's a phone, browser, desktop, or Raspberry Pi. Open-source transcription engines leave model hosting and infrastructure to the team, while native speech APIs ship as part of Android, iOS, and web browsers. Where inference runs affects integration complexity, platform coverage, latency, infrastructure requirements, and the application's privacy and compliance posture.

On-Device Speech-to-Text APIs and SDKs

1. Cheetah Streaming Speech-to-Text

Cheetah Streaming Speech-to-Text is an on-device speech-to-text engine that transcribes live audio while the user speaks, emitting each word within 590 ms, ahead of Amazon (920 ms) and Google (830 ms). The model runs inside the application, so latency holds steady on weak connections, transcription keeps working offline, and voice data never reaches a server.

It records a 10.1% English word error rate and beats Google Streaming Speech-to-Text on word accuracy across English, French, German, Italian, Portuguese, and Spanish. Cheetah also supports custom vocabulary and keyword boosting, allowing applications to add domain-specific terms such as medical jargon or product names, or increase the recognition weight of existing terms. Both can be configured through Picovoice Console or the Model API without fine-tuning or labelled training data.

It can run on a standard CPU on Linux, macOS, Windows, Android, iOS, Web, and Raspberry Pi. Cheetah's SDKs and APIs support stacks including Python, C, React Native, and Flutter.

Key capabilities:

  • Emits each word within 590 ms, entirely on-device.
  • Adds custom vocabulary and keyword boosting through a self-service console or a REST Model API.
  • Runs across mobile, web, desktop, server, and embedded platforms.

Best for: voice agents, live dictation, real-time speech-to-text on user devices, privacy-sensitive streaming transcription, low-latency voice interfaces

2. Leopard Speech-to-Text

Leopard Speech-to-Text is an on-device speech-to-text engine for transcribing recorded audio. Leopard records a 9.7% English word error rate, matching Whisper Base's accuracy with 12x less compute, without requiring a GPU, and supports Japanese and Korean in addition to Cheetah's language set.

It provides production-ready transcripts with word-level timestamps, confidence scores, automatic punctuation, truecasing, and speaker diarization, so multi-speaker recordings come back structured by speaker. It runs on Linux, macOS, Windows, Android, iOS, Web, and Raspberry Pi.

Leopard supports custom vocabulary and keyword boosting through Picovoice Console, so pipelines handling specialized audio, like clinical notes or legal proceedings, carry their own terminology into every file they process. Because inference runs locally, recordings with sensitive information can stay on the customer's infrastructure.

Key capabilities:

  • Transcribes files on-device with timestamps, confidence scores, punctuation, and speaker diarization.
  • Runs on Linux, macOS, Windows, Android, iOS, Web, and Raspberry Pi.
  • Matches Whisper Base accuracy with 12x less compute.

Best for: batch transcription of recordings, meeting and media archives, medical and legal transcription, privacy-sensitive, on-prem, and compliance-bound workloads

Cloud Speech-to-Text APIs

3. Amazon Transcribe

Amazon Transcribe is AWS's transcription service, with REST-based batch jobs, WebSocket streaming, custom vocabulary, and domain variants for healthcare and call analytics. Transcripts carry per-word timestamps and confidence scores, and a request setting adds speaker labels.

Integration runs through AWS SDKs and IAM authentication, which is smoothest for teams already building on AWS. Custom vocabulary arrives as formatted files, capped at 50 KB and tied to the AWS Region of the transcription. Its 920 ms word emission latency trails Azure, Google, and Cheetah Streaming Speech-to-Text.

Key capabilities:

  • Transcribes batch and streaming audio through REST jobs and WebSocket streams.
  • Ships healthcare and call-analytics variants with custom vocabulary.
  • Integrates with the wider AWS pipeline through official SDKs.

Best for: AWS-based stacks, high-volume batch transcription, contact-center analytics on AWS

4. Microsoft Azure AI Speech

Microsoft Azure AI Speech folds transcription into Azure's AI services, with real-time streaming, batch jobs, and Speech SDKs for major platforms, and its diarization identifies up to 35 speakers in a recording.

Azure's custom speech workflow adapts the model to a team's own domain. The process spans collecting and preparing audio and text data, training a custom model, evaluating it, and deploying it to an endpoint, with accuracy gains that scale with the effort invested.

Getting started requires provisioning Azure resources, which rewards teams already inside the Microsoft ecosystem, and enterprise agreements can extend deployment beyond the public cloud.

Key capabilities:

  • Handles real-time streaming and batch transcription within Azure's AI services.
  • Retrains custom speech models on customer-supplied audio and text.
  • Ships Speech SDKs across desktop, mobile, and web platforms.

Best for: Microsoft-ecosystem enterprises, custom acoustic adaptation, streaming on an existing Azure stack

5. Google Cloud Speech-to-Text

Google Cloud Speech-to-Text has batch and streaming recognition backed by Google's Chirp model family, with wide language coverage and direct paths into Google Cloud's translation and analytics services. Its model options span short-form, long-form, and telephony audio.

It records an 11.9% English word error rate with 830 ms word emission latency, and its 36.0% punctuation error rate trails Amazon, Azure, and Cheetah Streaming Speech-to-Text. As with the other Big Tech clouds, evaluation effort goes into project setup and authentication before the first transcript arrives.

Key capabilities:

  • Recognizes batch and streaming audio across a broad language set.
  • Connects transcription with Google Cloud translation and analytics services.
  • Offers telephony-tuned and long-form model variants.

Best for: Google Cloud stacks, wide language coverage, pipelines pairing transcription with Google's language services

Open-Source Speech-to-Text Engines

6. OpenAI Whisper

OpenAI Whisper is an open-source speech recognition model released under the MIT license in 2022. The model family spans several sizes that trade throughput for accuracy, and it handles multilingual transcription. Projects such as whisper.cpp and faster-whisper port it to additional runtimes, and OpenAI hosts a transcription API for teams that would rather consume it as a service.

Whisper was designed around processing complete recordings in 30-second audio windows rather than native streaming transcription, so real-time streaming requires additional architecture around the model. The open-source release returns transcription without built-in word-level confidence scores or speaker labels, leaving production pipelines to add diarization and formatting. The larger models also require GPU resources for practical throughput. Teams that self-host take responsibility for model serving, scaling, monitoring, and updates.

Key capabilities:

  • Transcribes multilingual audio under an open MIT license.
  • Scales from small local models to GPU-class large models.
  • Runs through community runtimes on desktop and mobile hardware.

Best for: self-hosted batch transcription, research and prototyping, multilingual recorded audio, teams with GPU infrastructure

7. Vosk

Vosk is an open-source speech recognition toolkit that has been used for offline speech applications for years. It binds to Python, Java, C#, and Node, covers more than 20 languages, and its models start around 50 MB, small enough for phones and single-board computers.

Its accuracy is lower than that of newer engines: Vosk's large English model reaches an 11.5% word error rate from a 2,733 MB model with 2,000 ms word-emission latency. Teams adopting it own the model management and integration work that comes with every open-source engine.

Key capabilities:

  • Recognizes speech offline across more than 20 languages.
  • Ships small models that fit mobile and single-board hardware.
  • Binds to Python, Java, C#, and Node under an open-source license.

Best for: research projects, offline prototypes

Native Platform Speech APIs

Android, iOS, and web browsers each include a built-in speech recognition API. They handle basic dictation without extra dependencies, which makes them the fastest way to prototype voice input to a single-platform app. Their limits are equally concrete: accuracy varies by device, custom vocabulary support is minimal, and each platform behaves differently, so products with stricter requirements move to a dedicated speech-to-text API or SDK.

8. Android SpeechRecognizer

SpeechRecognizer is Android's built-in speech API, available on most devices without an account or dependency, and it supports streaming transcription while the user speaks. The recognition engine behind it varies by device and OS version, so accuracy and behavior differ across the install base, and it accepts no custom vocabulary.

Key capabilities:

  • Adds dictation through the platform API without an account or dependency.
  • Supports streaming transcription while the user speaks.
  • Costs no app size, since the recognition service ships with the OS.

Best for: quick Android prototypes, simple single-platform dictation

9. Apple SFSpeechRecognizer and SpeechAnalyzer

SFSpeechRecognizer ships with iOS and documents a roughly one-minute audio limit per request, with additional device and app throttling. Recognition runs through Apple's servers unless the app requests on-device recognition where the device supports it. SpeechAnalyzer, its iOS 26 successor, transcribes fully on-device through its SpeechTranscriber module and removes the session limit, though it runs only on iOS 26 and later.

Key capabilities:

  • Transcribes live audio and recorded files through the OS, without third-party dependencies.
  • Suits single-platform dictation shipped quickly.
  • Ships with the OS, without third-party dependencies.

Best for: iOS-only dictation features, prototypes on Apple platforms

10. Web Speech API

The Web Speech API is a browser standard that gives web pages a built-in SpeechRecognition interface that supports streaming transcription. Browser support varies, major implementations rely on server-side recognition, and custom vocabulary support is missing, so recognition quality and availability shift with the visitor's browser.

Key capabilities:

  • Adds voice input to web pages with minimal code.
  • Supports streaming transcription as the user speaks.
  • Requires no account, install, or dependency.

Best for: browser demos, low-stakes dictation on the web

🎯 On-Device Voice AI for Enterprises
Get dedicated support to ensure your specific needs are met.
Talk to Sales

How to Choose a Speech-to-Text API or SDK for Your Use Case

The right speech-to-text API or SDK depends on the workload.

Check latency under real network conditions: measure word emission latency on the connections the product will ship over. Figures measured locally hold everywhere, while figures that include a network shift with congestion and distance to the serving region.

Check the transcript output: timestamps, confidence scores, punctuation, and speaker labels decide the remaining pipeline work.

Check the audio path: trace it end to end. Audio that leaves the infrastructure puts GDPR and HIPAA reviews on vendor policy and retention. Audio that stays keeps them an architecture question.

Check fit with the existing stack: weigh integration with the current infrastructure and project the bill at target usage.

Check the vocabulary adaptation path: some engines require labelled audio and training runs, while others take a text definition. Custom vocabulary decides how well the product's own terms survive transcription.

The quickest way to settle the choice is to run candidate engines on audio from the intended deployment environment and measure word error rate on the results. For the on-device SDKs, get an AccessKey from Picovoice Console and start with the three-line Python transcription tutorial for Leopard or the real-time transcription in Python tutorial for Cheetah. Teams with additional language or hardware requirements can contact Picovoice about custom-trained models.

Start Building

Frequently Asked Questions

+
What is the difference between a speech-to-text API and a speech-to-text SDK?

A cloud speech-to-text API transcribes audio on the vendor's servers: the application streams or uploads audio over the network. A speech-to-text SDK embeds the engine in the application itself. Cloud vendors also publish SDKs, and those are network clients for their APIs. An on-device SDK such as Cheetah Streaming Speech-to-Text runs the model locally and exposes the same speech-to-text API in each supported language, so audio stays on the device.

+
Which speech-to-text API or SDK is the most accurate?

It depends on the workload and language: results shift with audio conditions, domain vocabulary, and language. Cheetah Streaming Speech-to-Text beats Google Streaming Speech-to-Text on word accuracy in English, French, German, Italian, Portuguese, and Spanish, and leads Amazon, Azure, and Google on English punctuation accuracy, and Leopard Speech-to-Text matches Whisper Base's accuracy with 12x less compute. Accuracy on a team's own audio matters more than any leaderboard, so test candidate engines on domain audio before deciding.

+
Do speech-to-text SDKs work offline?

It depends. Leopard Speech-to-Text and Cheetah Streaming Speech-to-Text run the model inside the application, so transcription continues without a network connection. An internet connection is required only for the AccessKey to handle authentication and check usage against account limits.

+
Which speech-to-text SDK works on embedded devices?

Cheetah Streaming Speech-to-Text and Leopard Speech-to-Text run on Raspberry Pi alongside desktop, mobile, and web platforms, with English models of 34 MB and 37 MB that fit single-board hardware. Cloud APIs reach embedded devices only through a network connection, which adds latency and a strong network requirement to every transcript.