Contents8 sections
On-device automatic speech recognition (ASR) turns audio into text on a phone, computer, or embedded device. It suits offline use, voice input, and products that keep raw audio on the device. Start with the interaction and device budget, then compare recognition quality. Public sources were checked on December 2, 2026.
Define the interaction, languages, and device budget
- Transcribe after recording. Push-to-talk dictation, voice notes, and short commands can use whole-utterance decoding. For long recordings, split with voice activity detection (VAD), preserve the time offsets, and reconcile adjacent segments.
- Show text while the user speaks. For live captions and continuous interaction, shortlist streaming configurations that carry recognition state across audio chunks. Define how much provisional text may change, when text becomes stable, and when to commit a final result. If an implementation repeatedly decodes overlapping windows, also measure duplicates, omissions, revisions, and extra compute.
- Identify languages and use cases. List required languages, dialects, code-switching, domain terms, and names. Distinguish verbatim transcripts, captions, and commands. Coverage lists help narrow the field. Use real recordings for acceptance, with dedicated within-utterance tests even when both languages appear on the model card.
- Set the device and architecture budget. Use the least capable supported device and a sustained workload to set limits for download and installed size, peak memory, first-text and final-text latency, power, and offline availability. A hybrid product can default to local transcription and use cloud review for selected work when the user authorizes it and connectivity is available. Verify network behavior for audio, transcripts, logs, crash reports, and model downloads individually.
Model candidates and recognition modes
Parameter counts refer to the cited checkpoints. Online streaming can emit text as audio arrives. Behavior depends on the checkpoint, runtime integration, and endpoint policy.
| Model or checkpoint | Official specifications and coverage | Starting point |
|---|---|---|
| SenseVoice-Small | 234M. The official release lists Mandarin, Cantonese, English, Japanese, and Korean, with language identification, emotion, and audio event features. | For short dictation in the listed languages, try a sherpa-onnx offline export and compare FP32 with an available INT8 variant. Account for segmentation latency in live use. |
| Paraformer-zh / Paraformer-zh-streaming | Representative Chinese and Chinese–English variants are about 220M. Offline and streaming use distinct checkpoints. Check the offline model card for timestamp support. | For Mandarin recording use an offline checkpoint, and for live captions try a streaming one with per-session cache. Verify hotwords, code-switching, and timestamps on the chosen variant. |
| Fun-ASR-Nano-2512 / MLT-Nano-2512 | Both are about 800M. Nano focuses on Chinese, English, Japanese, and Chinese dialects and accents. The publisher lists 31 languages for the MLT checkpoint. | Establish a baseline with the publisher's FunASR route or the corresponding Transformers checkpoint. sherpa-onnx documents offline Nano. Verify the streaming API, supported context, and output contract for any live backend. |
| Whisper | tiny 39M, base 74M, small 244M, medium 769M, large about 1.55B, and turbo 809M. Select multilingual weights for multilingual tests. Variants ending in .en target English. | Try whisper.cpp tiny/base as desktop or on-device CPU baselines. Multilingual base/small are candidates for transcription after recording. Its microphone example reruns audio windows periodically, so measure text stitching and revisions for live captions. |
| Zipformer | An encoder architecture. Languages, size, and online support vary by checkpoint. sherpa-onnx lists small streaming examples at 14M for Chinese and 20M for English, plus a bilingual Chinese–English package. | Try a streaming Zipformer transducer or a suitable online CTC export for compact live captions. Compare chunk size, endpoint delay, and accuracy in noise. Small model catalog |
| Qwen3-ASR | 0.6B and 1.7B. The publisher lists 52 languages and dialects combined. The official toolkit's streaming API uses vLLM and omits timestamps. For offline timestamps, see the separate ForcedAligner and verify its language coverage. | Establish a quality baseline on a capable PC or edge workstation before testing a 0.6B local export on the target. sherpa-onnx lists Qwen3 in its offline path. Verify the export and binding. |
| Moonshine | An additional low-latency, on-device candidate with language-specific checkpoints and legacy non-streaming weights. | Compare it with small Zipformer or Whisper tiny/base for a single-language interaction. Check each checkpoint for language, streaming API, and weight terms. |
Before redistribution, record the model ID, weight revision, export provenance, runtime, and redistribution terms. For example, the SenseVoiceSmall model card names a dedicated model license. The Fun-ASR-Nano and Qwen3-ASR-0.6B model cards list Apache-2.0, and OpenAI publishes Whisper code and weights under MIT. Paraformer aliases or download sources can resolve to different weights, so use the terms attached to the artifact you acquire. SenseVoiceSmall model card · Qwen3-ASR-0.6B model card · FunASR installation and licensing
Choose a runtime and target platform
| Runtime | Where it fits | What to verify before integration |
|---|---|---|
| sherpa-onnx | Reuse audio, streaming, and offline recognizer integrations for supported checkpoints on Android, iOS, desktop, and embedded targets. | Check the installed version, target ABI, and options exposed by the language binding. Match the ONNX files, vocabulary, and sample rate. |
| ONNX Runtime | Use an available export with a custom frontend, decoder, or session layer, or compare CPU against platform execution providers. | Check operators, dynamic shapes, data types, and state inputs and outputs. Inspect graph assignment, CPU fallback, transfer overhead, and end-to-end speed. |
| whisper.cpp | A C/C++ path for Whisper on local CPUs and supported Apple or other hardware backends. | Use the runtime's compatible model files. Test quantization, threads, language settings, long-audio windows, and result merging. |
| FunASR / Transformers / vLLM | Python prototyping, offline batches, workstations, or edge servers. Start with the checkpoint and backend documented by its publisher. | Repeat acceptance tests in the delivery runtime. Pin dependencies and model files, and verify offline loading, first-inference initialization, and per-session memory. |
| MNN | An existing MNN deployment with a compatible conversion or resources to port the chosen checkpoint. | Compare output from at least one complete audio sample before and after conversion. Check operator coverage, caching or decoding, and performance before committing to maintain the conversion. |
On Android and iOS, start with physical devices at the support floor. Validate microphone permissions, interruption recovery, concurrent capture and inference, and the CPU baseline before comparing acceleration. On desktop, report x86-64, ARM64, and GPU backends separately. For embedded devices, bring up a small streaming model with bounded concurrency on the CPU before checking a specific NPU export, driver, and quantization path. Test a cold start with the network disconnected and verify local access to the model, vocabulary, runtime, and required post-processing assets.
Phone CPU and RAM for responsive ASR (2023 onward)
- Short dictation and lightweight live captions. Start with an Android phone in the Snapdragon 7s Gen 2 or Tensor G4 class and 8 GB of RAM. Try a small streaming Zipformer for captions and quantized Whisper tiny/base for push-to-talk. Compare SenseVoice-Small INT8 for short Mandarin dictation.
- Long recordings, captions alongside a foreground app, or larger models. Prefer a Snapdragon 8 Elite-class SoC and 12 GB of RAM. Try compatible quantized builds of Whisper small, Fun-ASR-Nano, or Qwen3-ASR-0.6B after confirming runtime compatibility. Then check memory and latency under sustained load.
| Android phone | CPU / SoC | Example RAM / storage | What to test first |
|---|---|---|---|
| Galaxy S23 (2023) | Snapdragon 8 Gen 2 for Galaxy | 8 GB / 128 GB | SenseVoice-Small INT8 for short dictation and a small Zipformer for live captions. Samsung specs |
| Redmi Note 13 Pro 5G (2024 global launch) | Snapdragon 7s Gen 2 | 8 GB / 256 GB | A small Zipformer or quantized Whisper tiny/base. Xiaomi specs · Global launch |
| Galaxy S25 (2025) | Snapdragon 8 Elite for Galaxy | 12 GB / 256 GB | Segmented transcription of long recordings or a trial of larger compatible quantized models. Samsung specs |
| Pixel 10a (2026) | Google Tensor G4 | 8 GB / 128 GB | SenseVoice-Small INT8 for short dictation and a small Zipformer for live captions. Google specs |
These are starting configurations. The suggested tests are engineering judgments based on device specifications. Measure P95 from button release to final text for dictation. For captions, track stable first text, endpoint delay, and any processing backlog during sustained capture. Budget storage for model installs and updates, and measure peak runtime memory separately.
Build the deployment pipeline
- Capture and frontend. Match channels, sample rate, amplitude conventions, and feature extraction to the export. Many models expect 16 kHz mono. Use a bounded buffer and a separate inference queue. Cover microphone interruption, cancellation, and capture failures.
- Segmentation and decoding. Tune VAD and recognizer endpointing together, preserve a small amount of boundary audio to avoid clipping speech, and limit utterance length. Test pauses, silence, and short words. Reuse the initialized offline model within its concurrency guarantees. Keep independent state for each streaming session, flush remaining audio at the end, and release the session.
- Quantization and threads. Compare available FP32, FP16, or INT8 variants on identical audio. Record which components were quantized, and rerun dialect, name, quiet-speech, and far-field subsets. Compare settings such as one, two, and four threads and available accelerators on real hardware. Check sustained thermals, memory, and UI responsiveness.
- Distribution and maintenance. Version weights, vocabulary, frontend configuration, and text resources together. Record checksums, use atomic updates, and retain a verified rollback version. Track download size, unpacked disk usage, model load time, and first inference time separately.
Performance evaluation and evidence
Publisher benchmark example. The Qwen model card reports LibriSpeech clean / other WER of 2.11% / 4.55% offline and 2.54% / 6.27% in streaming mode for Qwen3-ASR-0.6B. This shows how recognition mode can affect accuracy even for the same model. The Zipformer results on LibriSpeech, AISHELL-1, and WenetSpeech and the Fun-ASR technical report each apply to their own data, versions, and evaluation setup. Mobile latency, energy, and accuracy on product audio require separate tests. Qwen model card · Zipformer paper · Fun-ASR technical report
Documented resource figures and estimates. The whisper.cpp documentation lists tiny/base files at about 75 / 142 MiB and memory at about 273 / 388 MB for the documented implementation. For a weight-only estimate, multiply parameter count by bytes per parameter. For example, 234M parameters at one byte each imply about 234 MB, and 800M parameters at two bytes each imply about 1.6 GB, in decimal units. These assumptions exclude quantization metadata, mixed precision, vocabulary, libraries, activations, decoding caches, and audio buffers. Measure distributable size and peak process memory separately. whisper.cpp resource table
Run a repeatable on-device trial
- Data. Freeze audio, human references, text conventions, and sample order. Cover quiet, noisy, far-field, and silent audio, multiple speakers, code-switching, dates, amounts, identifiers, and names. Report short commands, short dictation, and long recordings separately. Include real-time microphone replay or end-to-end recording on the target.
- Accuracy. Character error rate (CER) is commonly used for Chinese and word error rate (WER) for English. Both equal substitutions plus deletions plus insertions, divided by the number of reference units. Document casing, tokenization, punctuation, numbers, and mixed-language rules. Score raw model text and user-visible text separately. Track missed domain terms, false insertions, silence activations, and critical-field accuracy.
- Latency and throughput. Record cold load, first inference, warm first nonempty output, first stable text, and final text. State the start point. For example, measure first text from speech onset and final text from speech end or button release. Report median and P95 for inference-only and end-to-end timings separately. Offline real-time factor (RTF) is decoding wall time divided by audio duration. A value below 1 means faster than audio playback within that timing scope. Feed streaming audio at real speed and measure queueing, backlog, endpoint delay, and partial-text revisions separately.
- Resources and evidence. Record device and OS, runtime, weight revision and checksum, quantization, provider, thread count, chunk size, decoding strategy, trial count, concurrency, and thermal state. Measure peak RSS, PSS, or a platform equivalent and state the sampling method. Use device energy counters or an external meter to report energy per audio minute, with screen state, background workload, and idle baseline. Label figures as publisher measurements, independent public measurements, project device measurements, or theoretical estimates. This guide includes no new device measurements.
Text post-processing and acceptance
- Keep raw and editable text. Separate raw output from display text and store timestamps and event tags as structured data. Strip known control tags from display while preserving speaker wording. Let users edit the result and retain diagnostic transcripts only according to the product's privacy settings.
- ITN and punctuation. Inverse text normalization (ITN) formats spoken forms as written numbers, dates, and similar expressions. Inspect the model's existing ITN and punctuation before adding rules or another component. Regression-test phone numbers, leading zeros, decimals, amounts, ambiguous dates, and duplicate punctuation.
- Hotwords and corrections. Where the decoder supports biasing, add a scoped domain vocabulary and test for false insertions using similar ordinary words. Editing is a practical first response to occasional homophone errors. For recurrent errors with clear context, test reversible rules or a user-confirmed dictionary. Measure correction and false-change rates separately. Preserve names, numbers, dosages, and identifiers as heard or ask the user to confirm.
- Acceptance order. Baseline the current configuration or the easiest candidate to deploy, and A/B test one alternative checkpoint. Apply business-corpus and minimum-device acceptance gates first. Then compare accuracy, tail latency, memory, and maintenance cost. If the current pipeline meets product and device budgets with only occasional word errors, keep it as the baseline and use editable results and collected error examples to guide future changes.
References
- 01SenseVoiceSmall release notes
- 02SenseVoiceSmall model card
- 03Paraformer-zh model card
- 04FunASR toolkit and model catalog
- 05FunASR installation and model licensing
- 06Fun-ASR-Nano-2512 model card
- 07Fun-ASR-MLT-Nano-2512 model card
- 08Fun-ASR Technical Report
- 09OpenAI Whisper model specifications
- 10whisper.cpp runtime documentation
- 11Zipformer paper
- 12sherpa-onnx small streaming models
- 13Qwen3-ASR toolkit and inference modes
- 14Qwen3-ASR-0.6B model card and benchmarks
- 15Moonshine Voice runtime and model documentation
- 16sherpa-onnx C API and supported models
- 17ONNX Runtime mobile deployment
- 18MNN runtime documentation
- 19Samsung Galaxy S23 launch specifications
- 20Redmi Note 13 Pro 5G global specifications
- 21Redmi Note 13 series global launch
- 22Samsung Galaxy S25 series specification sheet
- 23Google Pixel 10a technical specifications