Google's app now listens and talks back offline: how on-device voice AI works

Google added fully on-device speech recognition and text-to-speech to AI Edge Gallery. We explain the pipeline built with open models like Kokoro-82M and Parakeet, the two developer paths and how to try it.

Paylaş
Google's app now listens and talks back offline: how on-device voice AI works

You are underground in a foreign city, your phone has no signal, and you are holding a menu you cannot read. You point the camera at it and ask, "What is that, and how do I order one?" The phone explains in your language and reads the dish name aloud with local pronunciation, all without touching the cloud. On 10 November Google added fully on-device speech recognition and text-to-speech to its AI Edge Gallery app and shipped this exact scenario as a working showcase. The best part: most of the building blocks are open models and open-source code. Kokoro-82M, Parakeet-TDT 0.6B, PocketTTS 100M and Phonon 31M can be tried today on phones, in the browser and on desktop.

Why voice assistants needed the cloud

A voice assistant runs three steps: automatic speech recognition (ASR) turns speech into text, a language model writes a reply, and text-to-speech (TTS) speaks it. Until recently at least one link needed a server. Google says compact speech architectures now let accurate multilingual ASR and expressive TTS run in a small memory footprint, with low latency and completely offline. Paired with on-device small language models such as Gemini Nano and Gemma 4, the whole chain stays on the device. The tourist no longer has to phone an interpreter; the interpreter lives in your pocket.

Two paths

Android with ML Kit uses Google's system speech models. According to Google, recognition covers 100+ languages at 10x real-time speed, about 300 ms per 3 seconds of speech, with an 8 to 9% word error rate on the FLEURS benchmark. TTS uses a few-step diffusion model that starts speaking in about 100 ms, offers 8 expressive voices across 21 locales at 24 kHz, runs up to 50x real time, synthesizes a 27-second paragraph in about 500 ms and cuts active device power by more than half versus traditional autoregressive TTS. Both live in the OS and add 0 MB to an app.

Cross-platform with MediaPipe Tasks gives turnkey ASR and TTS APIs for iOS, macOS, Windows, Linux and the web. It handles audio framing, voice activity detection and decoding, and supports streaming, batch and a hybrid mode that streams words live and refines the sentence when speech ends. Parakeet-TDT 0.6B ships for recognition; PocketTTS 100M and Kokoro-82M for multilingual speech, and the tiny English-only Phonon 31M with under 100 ms to first audio on most devices. Both tasks can be tried in the browser.

Under the hood

Both paths run on LiteRT, Google's on-device inference stack. A speech model is really many parts: encoder and decoder subgraphs and a tokenizer for ASR; a phonemizer dictionary, voice embeddings and a vocoder for TTS. Google packs everything into a single .litertlm file, so shipping a model means shipping one file. The LiteRT Community on Hugging Face adds on-device versions of Whisper, Qwen3-ASR, Moonshine, Qwen3-TTS and Matcha.

What it looks like

XR Language Teacher sends the camera frame and the spoken question to Gemini Nano on Android or Gemma 4 elsewhere in one pass. Structured output tags foreign phrases, so the TTS pipeline switches voice and accent mid-sentence while a vocabulary card appears. Because inference runs on a paired phone, the same experience extends to smart glasses. AI Chat now has voice input and read-aloud playback that highlights each sentence as it is spoken. The open-source code shows how to strip Markdown, skip code blocks and tables, and schedule synthesis sentence by sentence so it does not compete with token generation.

How to try it

Download the latest Google AI Edge Gallery on Android or iOS. Developers can start from the reference app on GitHub, use ML Kit on Android, MediaPipe Tasks across platforms, or LiteRT directly, with ready .litertlm bundles from the LiteRT Community. Voice AI that works anywhere, offline, turns phones and glasses into real pocket assistants, and Google has put the parts on the table for everyone.

Sources: Google Developers Blog: On-device ASR and TTS in Google AI Edge Gallery, Google AI Edge Gallery GitHub