GoogleAndré Susano Pinto, Andreas Steiner, Karolis Misiunas, Karsten Roth, Michael Tschannen, Omar SansevieroAnnouncement
Gemma 4 12B: The Developer Guide
Summary
Gemma 4 12B is a dense multimodal model with a unified, encoder-free architecture, native audio input, and a size intended for local execution on dedicated GPU laptops with 16GB VRAM or unified memory. Instead of separate vision and audio encoders, it uses a 35M-parameter vision embedder that projects raw 48x48 patches and a linear projection for raw 16 kHz audio sliced into 40ms frames; both feed a decoder-only transformer with shared weights. That design reduces multimodal latency and fragmented memory footprints, while allowing downstream adapters such as LoRA or full tuning to update the multimodal token loop in one pass. Capabilities include automatic speech recognition, agentic reasoning, diarization, video understanding, and coding, with examples covering a locally built image-processing app and five minutes of video processed at 1 FPS with audio; LiteRT-LM adds offline macOS apps, sandboxed Python execution, and an OpenAI-compatible local API server with stateless prefix caching.
Context
Traditional multimodal models use separate frozen vision and audio encoders before passing inputs to the language model, increasing latency and creating fragmented memory footprints. The release targets local AI, including medium-sized models that can natively process audio and run on consumer-grade devices.
Approach / What changed
Gemma 4 12B uses a unified decoder-only transformer, a 35M-parameter vision embedder for raw 48x48 patches, and a linear projection for raw 16 kHz audio frames. The release also provides LiteRT-LM integrations, offline macOS applications, sandboxed Python execution, and an OpenAI-compatible local API server with stateless prefix caching.
Takeaways
Gemma 4 12B is the first medium-sized model in the Gemma family described as capable of natively ingesting audio.
Raw 16 kHz audio is sliced into 40ms frames containing 640 floats and projected linearly into the LLM input space.
The litert-lm serve command runs the model as an OpenAI-compatible local API server and supports integrations such as Continue, Aider, OpenClaw, Hermes, and OpenCode.
Source and freshness
- Source
- developers.googleblog.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.