Gemma Offline Translator
3 steps1 pieces4 Sources
Google's Creative Lab team has developed the Gemma Translator, a fully offline AI translation device running on a Raspberry Pi 5. The project demonstrates high-performance edge AI by enabling real-time voice translation between two people without any cloud dependency or internet connection after setup.
The system utilizes Google's Agentic-Coding platform "Antigravity 2.0" for development and runs the Gemma 4 E2B language model via the LiteRT-LM runtime. It processes audio locally using Moonshine for Speech-to-Text (STT) and Text-to-Speech (TTS). On a Raspberry Pi 5 with 8GB RAM, the device achieves approximately 99 tokens/sec in prefill and 9 tokens/sec in decode, delivering about 300 words per minute—twice the speed of normal human speech. This performance ensures that sensitive data never leaves the device, making it suitable for privacy-conscious users or areas without connectivity.
The open-source nature of the project has led to community adaptations. For instance, maker Jdaie Lin simplified the hardware requirements to just a Raspberry Pi 5 and a Whisplay HAT+, reducing the complexity of assembly while maintaining the core offline functionality. Another variant, GemmaTrans, brings similar local LLM capabilities to macOS using MLX.
Readers should watch for further optimizations in the LiteRT-LM runtime and new community-built hardware configurations that lower the barrier to entry for DIY offline AI devices.
How it got here
August 11, 2026: Google Developers Blog published an article detailing how to master Edge AI on Raspberry Pi using LiteRT and Gemma, highlighting the performance metrics of Gemma 4 E2B.
developers.googleblog.com ↗November 30, 2026: Make magazine reported on the Google Creative Lab team's development of the Gemma Translator, showcasing its ability to run entirely offline on a Raspberry Pi 5.