Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on small models) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants. Gemma 4 features a context window of up to 256K tokens and maintains multilingual support in over 140 languages.
Featuring both Dense and Mixture-of-Experts (MoE) architectures, Gemma 4 is well-suited for tasks like text generation, coding, and reasoning. The models are available in four distinct sizes: E2B, E4B, 26B A4B, and 31B. Their diverse sizes make them deployable in environments ranging from high-end phones to laptops and servers, democratizing access to state-of-the-art AI.
Gemma 4 introduces key capability and architectural advancements:
Reasoning – All models in the family are designed as highly capable reasoners, with configurable thinking modes.
Extended Multimodalities – Processes Text, Image with variable aspect ratio and resolution support (all models), Video, and Audio (featured natively on the E2B and E4B models).
Diverse & Efficient Architectures – Offers Dense and Mixture-of-Experts (MoE) variants of different sizes for scalable deployment.
Optimized for On-Device – Smaller models are specifically designed for efficient local execution on laptops and mobile devices.
Increased Context Window – The small models feature a 128K context window, while the medium models support 256K.
Enhanced Coding & Agentic Capabilities – Achieves notable improvements in coding benchmarks alongside native function-calling support, powering highly capable autonomous agents.
Native System Prompt Support – Gemma 4 introduces native support for the
systemrole, enabling more structured and controllable conversations.
Models Overview
Gemma 4 models are designed to deliver frontier-level performance at each size, targeting deployment scenarios from mobile and edge devices (E2B, E4B) to consumer GPUs and workstations (26B A4B, 31B). They are well-suited for reasoning, agentic workflows, coding, and multimodal understanding.
The models employ a hybrid attention mechanism that interleaves local sliding window attention with full global attention, ensuring the final layer is always global. This hybrid design delivers the processing speed and low memory footprint of a lightweight model without sacrificing the deep awareness required for complex, long-context tasks. To optimize memory for long contexts, global layers feature unified Keys and Values, and apply Proportional RoPE (p-RoPE).
1. Training Hardware
MSI Suprim GeForce RTX 5090 SUPRIM LIQUID SOC 32GB GDDR7
2. Data Sources
nohurry/Opus-4.6-Reasoning-3000x-filteredCrownelius/Opus-4.6-Reasoning-3300xRoman1111111/claude-opus-4.6-10000xvanty120/Gpt-5.4-Xhigh-Reasoning-2000xRoman1111111/gpt-5.4-step-by-step-reasoningJackrong/gpt-oss-120b-Reasoning-InstructionTeichAI/gemini-3-pro-preview-high-reasoning-1000xTeichAI/gpt-5.2-high-reasoning-250x
3. Refined Narrative
- this is a distillation of frontier reasoning capabilities (Claude Opus 4.6, GPT-5.4, Gemini 3 Pro, etc.) into the efficient Gemma 4 2B-class model.
- Downloads last month
- 248
4-bit
Model tree for WithinUsAI/Gemma4-Most.Seen.Unseen.Reasoner-E2B
Unable to build the model tree, the base model loops to the model itself. Learn more.