Frontier Foundry

Gemma 4

Model · 16 sourced facts · newest Dec 1, 2026

What the sources say about Gemma 4: 16 facts across 10 concepts, 7 of them numbers and 1 of them stories of something breaking.

Each fact is one sentence from a lab post, a paper, a talk or a thread, with a link to the passage it comes from. Here they are by concept, the weightiest first; the rest are on each concept's page.

Gemma 4 and Fast Inference

Very high tokens-per-second serving (Cerebras, Groq, fast modes).

  • 2.8x, 3.1x and 2.5x Speedup from Gemma 4 MTP drafters in Google's own tests: E2B and E4B models on Pixel phones, and the 31B model on Apple M4; reported by Ars Technica, with Google claiming zero quality degradation because the main model verifies every draft Ryan Whitwam, May 6, 2026
  • Nvidia reports 3,400 tokens/s on Gemma 4 31B for Groq 3 LPX, four times faster than Cerebras, but needs at least 64 accelerators where Cerebras needs one or two, so the headline compares systems of very different size; how it scales to large MoE models is open. the-decoder.com, Aug 25, 2026
  • Google's multi-token-prediction drafters for Gemma 4 are tiny (74 million parameters for the E2B model) and share the main model's key-value cache, so a draft step does not recompute context the big model has already worked out; the big model verifies the drafts in parallel and adds one token of its own in the same pass. Ryan Whitwam, May 6, 2026

Gemma 4 and On-Device & Local Models

Running models on phones and laptops instead of in the cloud.

  • The day-one 31B build that looped. Simon Willison ran Gemma 4 GGUFs in LM Studio on the day of release: the 2B, 4B and 26B-A4B worked, but the 31B build (19.89 GB) was broken and repeated the same line for every prompt. Simon Willison, Apr 2, 2026
  • nearly 90% faster Average token-generation gain of Gemma 4 with multi-token prediction on Apple Silicon over the Aider polyglot coding-agent benchmark, Ollama 0.31 (Jun 2026); output unchanged ollama.com, Jun 29, 2026
  • about half the quality loss Perplexity loss of NVFP4 vs q4_K_M for Gemma 4 12B against bf16, measured by Ollama (June 2026) ollama.com, Jun 11, 2026

Gemma 4 and KV Cache

Memory of past tokens' attention keys and values, the main memory cost of long contexts.

  • 2.7 GB (E2B), about 6 GB (E4B) at 128K context Cache memory Gemma 4 saves in bfloat16 by letting later layers reuse the key-value states of earlier ones (cross-layer sharing), as Raschka computes Sebastian Raschka, PhD, May 16, 2026
  • Cross-layer KV sharing: later layers keep their own query projections but reuse key and value tensors from the latest earlier layer of the same attention type (Gemma 4 E2B: 35 layers, only the first 15 compute their own KV); the cost is some model capacity, small in the one paper cited, tested on small models. Sebastian Raschka, PhD, May 16, 2026

Gemma 4 and Vision-Language Models

Models that read images, documents and screens alongside text.

  • Gemma 4 12B replaces the vision encoder with a lightweight embedding module: one matrix multiplication, a position embedding and normalizations. deepmind.google, Jun 9, 2026
  • Google says the usual split encoders add latency and increase memory use, which is why Gemma 4 12B drops them. deepmind.google, Jun 9, 2026

Gemma 4 and Decision Models (System One)

Small 'System One' models that only decide, classify, route or score with typed outputs instead of writing text; cheap, fast building blocks inside agent systems (Jev, OpenAI Decisions API).

  • ~600 ms per decision Time for a 31B decision model on a security vendor's GPU baseline, too slow for checking every prompt, response and tool call, where an agent session needs tens or hundreds of decisions; a rack of accelerators cut it to about 55 ms; reported by NVIDIA Seth Weidman, Dec 1, 2026

Gemma 4 and Diffusion Language Models

Text models that refine a whole draft in parallel steps instead of writing left to right.

  • DiffusionGemma's output quality is lower than standard Gemma 4; for maximum quality the lab recommends the standard model. deepmind.google, Jun 10, 2026

Gemma 4 and Long Context

Models that read very long inputs (hundreds of thousands to millions of tokens).

  • Another way to cut the cache is to share it across layers: in Gemma 4's small variants, later layers reuse key-value states from earlier layers. The idea is from a 2024 cross-layer attention paper; Gemma 4 is the first popular model Raschka saw using it. Sebastian Raschka, PhD, May 16, 2026

Gemma 4 and Looped Transformers

Transformers that run a block of weight-shared layers several times per token, adding depth (more reasoning per token) without adding parameters; shipped in Inkling 2 Mini and GLM-5.4 in Nov 2026.

  • 32 of 48 benchmarks Inkling 2 Mini against models like Gemma 4 31B and Qwen3.8-27B, as stated by the Hugging Face team in a serving post; the Artificial Analysis index placing is a third-party figure. huggingface.co, Nov 25, 2026

Also named in

Quantization (1), Transformers & Attention (1)

Named in the same concepts

labs, products and models