↓ Skip to main content
9 – 17 UHR +49 8031 3508270 LUITPOLDSTR. 9, 83022 ROSENHEIM
DE / EN
LLM Google USA

Google Gemma

Google Gemma 4 and EmbeddingGemma 2: open-weights models under Apache 2.0 from E2B to 31B plus multimodal embeddings for self-hosting and EU operation.

License Apache 2.0 (Gemma 4, EmbeddingGemma 2); Gemma Terms of Use (Gemma 3 and older)
GDPR Hosting Available
Context 256K (Gemma 4 12B, 26B A4B, 31B), 128K (E2B, E4B) Tokens
Modality Text, Image, Video, Audio → Text, Embeddings

Versions

Overview of available model variants

ModelReleaseEUStrengthsWeaknessesStatus
EmbeddingGemma 2 Recommended
2026-10-06
Multimodal embeddings: text including code, images, video and audio in one shared 768-dimensional vector space 740M parameters, modular: 270M for text-only workloads, optional vision (170M) and audio (300M) encoders 8,192-token context (four times EmbeddingGemma 1), Matryoshka dimensions 768/512/256/128 MTEB Code v1 78.68 (EmbeddingGemma 1: 68.76), MTEB Multilingual v2 61.36 per the model card Per Google about 191 MB of RAM (text only) or 567 MB (full) quantized on a Pixel 11 Pro Apache 2.0, over 100 languages
No safety post-training; your retrieval pipeline needs its own filters 128 dimensions degrade multimodal quality substantially (per the model card) Only announced so far for the Agent Platform Model Garden
Current
Gemma 4 31B Recommended
2026-04-02
Dense model with 30.7B parameters, 256K context Thinking mode for complex reasoning Text, image and video input MMLU Pro 85.2%, LiveCodeBench v6 80.0%, AIME 2026 89.2% per the model card Apache 2.0 license
No audio input Hardware-intensive in BF16
Current
Gemma 4 26B A4B (MoE)
2026-04-02
Mixture of experts: 25.2B parameters, 3.8B active per token 256K context, thinking mode MMLU Pro 82.6%, LiveCodeBench v6 77.1% per the model card
No audio input All experts must be held in memory, so memory needs match a 25B model
Current
Gemma 4 12B Unified Recommended
2026-06-03
Encoder-free architecture: images and audio flow directly into the language model Text, image, video and audio, 256K context Per Google runs on laptops with 16 GB RAM/VRAM Apache 2.0 license
Limited production experience so far
Current
Gemma 4 E4B
2026-04-02
Edge-optimized, 4.5B effective parameters (8B including embeddings) Text, image, video and audio, 128K context, thinking mode
Limited capacity compared with larger models
Current
Gemma 4 E2B
2026-04-02
Compact, 2.3B effective parameters (5.1B including embeddings) Text, image, video and audio, 128K context For mobile and IoT
Limited performance on complex tasks
Current
Gemma 4 QAT and MTP (all sizes)
2026-06-05
Quantization-aware training checkpoints for E2B, E4B, 12B, 26B A4B and 31B (5 June 2026) Up to 72% less VRAM at near-BF16 quality MTP checkpoints (multi-token prediction) for E2B, E4B, 26B A4B and 31B since 16 April 2026
Slight quality loss on very complex tasks
Current
DiffusionGemma 26B A4B
2026-06-10
Text diffusion: generates blocks of 256 tokens in parallel, per Google up to four times faster generation on dedicated GPUs MoE based on Gemma 4 26B A4B (25.2B parameters, 3.8B active), fits in 18 GB of VRAM when quantized Text, image and video, up to 256K context, thinking mode, Apache 2.0
Experimental; quality per the model card below Gemma 4 (MMLU Pro 77.6% instead of 82.6%) Speed advantage only with few concurrent requests, no audio input
Preview
Gemma 3 27B
2025
Proven and widely supported Multimodal (text and image), 128K context
Superseded by Gemma 4 31B Gemma Terms of Use instead of Apache 2.0
Current
Gemma 3 12B
2025
Good balance Multimodal
Superseded by Gemma 4 12B Unified
Current
Gemma 3 4B
2025
Efficient Edge-capable
—Current
Gemma 3 1B
2025
Very compact Mobile/Edge
Limited capabilities Text-only
Current
Gemma 3 270M
2025
Ultra-compact
Text-only Limited capabilities
Current
Gemma 2 27B
2024
Proven Broad support
8K context, text only
Current
Gemma 2 9B
2024
Popular Good performance/size ratio
8K context, text only
Current
Gemma 2 2B
2024
Compact On-device
8K context, text only
Current

Use Cases

Typical applications for this model

GDPR-compliant self-hosting solutions
Data-sensitive applications
Custom fine-tuning
Edge and mobile deployment
RAG systems and semantic search
Multimodal search across images, video and audio (EmbeddingGemma 2)
Code generation and code search
Multilingual applications
Agentic workflows

Technical Details

API, features and capabilities

API & Availability
Availability Public (Open Weights)
Latency (TTFT) Depends on hosting
Throughput Depends on hardware Tokens/Sec
Features & Capabilities
Tool Use Function Calling Structured Output Vision Reasoning Mode File Upload
Training & Knowledge
Knowledge Cutoff 2025-01 (pre-training data for Gemma 4 and EmbeddingGemma 2 per the model cards)
Fine-Tuning Available (LoRA, QLoRA, Full Fine-Tuning, PEFT)
Language Support
Best Quality English, German, French, Spanish, Italian
Supported 35+ languages out of the box, pre-trained on 140+ languages (Gemma 4); 100+ languages (EmbeddingGemma 2)
Best quality in English, good quality in European languages

Hosting & Compliance

GDPR-compliant hosting options and licensing

GDPR-Compliant Hosting Options
Self-Hosted
Own Infrastructure
Full data control - recommended for sensitive data
Google Cloud
EU region of your choice (self-deployment)
Your own endpoint from the Gemini Enterprise Agent Platform Model Garden; the managed Gemma 4 API (MaaS) is experimental and runs only globally with ML processing in the US
AWS
Frankfurt (eu-central-1)
Self-deployment, e.g. via SageMaker
Azure
West Europe
Self-deployment, e.g. via Azure ML
License & Hosting
License Apache 2.0 (Gemma 4, EmbeddingGemma 2); Gemma Terms of Use (Gemma 3 and older)
Security Filters Customizable (own responsibility)
On-Premise Edge-capable

Benchmarks

Performance comparison with standardized tests

MMLU Pro
85.2%
LiveCodeBench v6
80.0%
AIME 2026
89.2%
GPQA Diamond
84.3%
MMMU Pro
76.9%
Arena AI (Text)
1452
MTEB Code v1
78.68
MTEB Multilingual v2
61.36

Google Gemma is Google DeepMind’s open-weights model family, built on the same research as Gemini. Unlike Gemini, Gemma models can be downloaded, run locally, fine-tuned and used commercially. The current models are the Gemma 4 language models (E2B to 31B, Apache 2.0) and the multimodal embedding model EmbeddingGemma 2 (since 6 October 2026), plus the experimental DiffusionGemma for fast local text generation. Because the weights are open, self-hosting keeps every piece of information inside your infrastructure.

innFactory AI Consulting, based in Rosenheim, Germany, advises enterprises across the DACH region and Europe on GDPR-compliant self-hosting of Google Gemma, from model selection through deployment to fine-tuning. This overview reflects the state as of October 2026.

Current models at a glance

ModelTypeReleaseParametersContextInputLicense
EmbeddingGemma 2Embedding6 October 2026740M (270M text only)8,192Text, code, image, video, audioApache 2.0
Gemma 4 31BDense2 April 202630.7B256KText, image, videoApache 2.0
Gemma 4 26B A4BMoE2 April 202625.2B (3.8B active)256KText, image, videoApache 2.0
Gemma 4 12B UnifiedDense, encoder-free3 June 202611.95B256KText, image, video, audioApache 2.0
Gemma 4 E4BDense, edge2 April 20264.5B effective128KText, image, video, audioApache 2.0
Gemma 4 E2BDense, edge2 April 20262.3B effective128KText, image, video, audioApache 2.0
DiffusionGemmaMoE, text diffusion (experimental)10 June 202625.2B (3.8B active)256KText, image, videoApache 2.0
TranslateGemmaTranslation15 January 20264B, 12B, 27B–TextGemma Terms of Use
FunctionGemmaFunction callingDecember 2025270M–TextGemma Terms of Use

Release dates per Google (Gemma release page, Google blog), parameters and context per the model cards on Hugging Face. Older generations (Gemma 3, Gemma 2) remain available for download, see previous generations. For the medical domain there is MedGemma.

Gemma 4: the current language model generation

Gemma 4 builds on the research behind Gemini 3 and, compared with Gemma 3, adds an integrated thinking mode, longer context windows and audio input on the smaller models. Google introduced the family on 2 April 2026 and released it under Apache 2.0.

Key characteristics

  • Thinking mode: integrated reasoning for math, science and multi-step tasks
  • Context: 256K tokens on 12B, 26B A4B and 31B, 128K tokens on E2B and E4B
  • Multimodal: all models process text, images and video (as frames, up to about 60 seconds at 1 fps); audio input up to 30 seconds is supported only by E2B, E4B and 12B
  • MoE variant: Gemma 4 26B A4B uses 128 experts, 8 of them active plus one shared, and computes with 3.8B parameters per token
  • Effective parameters: E2B and E4B use per-layer embeddings, so the effective parameter count is far below the total
  • Languages: out-of-the-box support for 35+ languages, pre-trained on 140+
  • Agentic workflows: function calling and structured outputs for multi-step flows
  • Knowledge: pre-training data up to January 2025 per the model card

Gemma 4 12B Unified, QAT and MTP

  • Gemma 4 12B Unified (3 June 2026): mid-sized model with an encoder-free architecture. Image patches and audio waveforms are projected directly into the language model’s embedding space through lightweight linear layers instead of separate encoders. Per Google this reduces multimodal latency and allows the whole model to be fine-tuned in a single pass. With 256K context and about 12B parameters it runs, per Google, on laptops with 16 GB RAM/VRAM.
  • QAT checkpoints (5 June 2026): quantization-aware training versions of all Gemma 4 sizes on Hugging Face, with up to 72% lower VRAM needs at near-identical quality to the BF16 original. Useful for consumer GPUs and on-device use.
  • MTP checkpoints (16 April 2026): multi-token prediction variants for E2B, E4B, 26B A4B and 31B.

Benchmarks of the Gemma 4 family

Figures per the model card on Hugging Face (instruction-tuned):

Benchmark31B26B A4B12B UnifiedE4BE2BGemma 3 27B
MMLU Pro85.2%82.6%77.2%69.4%60.0%67.6%
AIME 2026 (no tools)89.2%88.3%77.5%42.5%37.5%20.8%
LiveCodeBench v680.0%77.1%72.0%52.0%44.0%29.1%
GPQA Diamond84.3%82.3%78.8%58.6%43.4%42.4%
Tau2 (average over 3 domains)76.9%68.2%69.0%42.2%24.5%16.2%
MMMLU88.4%86.3%83.4%76.6%67.4%70.7%
MMMU Pro (vision)76.9%73.8%69.1%52.6%44.2%49.7%
MRCR v2 8 needle 128k66.4%44.1%43.4%25.4%19.1%13.5%

The gap to Gemma 3 27B is largest in reasoning and code: LiveCodeBench rises from 29.1% to 80.0%, AIME 2026 from 20.8% to 89.2%. Gemma 4 12B Unified scores above Gemma 3 27B on every listed benchmark with less than half the parameters.

EmbeddingGemma 2: multimodal embeddings for local search and RAG

On 6 October 2026, Google DeepMind released EmbeddingGemma 2, the successor to the text-only EmbeddingGemma from 2025 (308M parameters). The model maps text (including code), images, video and audio into one shared vector space. A text query can therefore find matching images, video scenes or audio recordings without transcribing or captioning them first. It is released under Apache 2.0 and, per the model card, builds on Gemma 4.

Key facts

  • Size: 740M parameters, built modularly from a backbone (130M), embedder (140M), vision encoder (170M) and audio encoder (300M). Unused encoders can be switched off: 270M for text, 440M for text and image, 570M for text and audio, 740M in full.
  • Memory: per Google, quantized on a Pixel 11 Pro about 191 MB of RAM for text-only workloads and 567 MB for the fully multimodal model.
  • Context: 8,192 tokens shared across all modalities, four times the predecessor. Per Google this covers up to 5.5 minutes of audio, 29 images or 58 video frames.
  • Dimensions: 768, truncatable via Matryoshka representation learning to 512, 256 or 128 (up to six times less storage in the vector index). Per the model card, quality stays close to lossless down to 256 dimensions; 128 dimensions degrade multimodal tasks substantially.
  • Languages: over 100, with quality varying by language.
  • Knowledge: pre-training data up to January 2025.

Benchmarks per the model card

ModalityBenchmarkEmbeddingGemma 2EmbeddingGemma 1
TextMTEB Multilingual v2 (mean task)61.3661.15
CodeMTEB Code v1 (NDCG@10)78.6868.76
ImageMIEB lite64.64–
ImageMMEB v2 Image (Hit@1)57.28–
Visual documentsMMEB v2 VisDoc (NDCG@5)67.84–
VideoMMEB v2 Video (Hit@1)50.67–
AudioMSEB Retrieval (MRR@10)69.54–
AudioMAEB49.39–

Figures at 768 dimensions and full precision (model card on Hugging Face). On text, quality stays at the predecessor’s level; on code the model gains about ten points.

Use and integration

  • Typical applications: semantic search across image, video and audio archives, finding scenes in videos by text or audio query, on-device RAG together with Gemma 4, indexing local codebases for coding agents, classification and routing.
  • Where to get it: weights on Hugging Face and Kaggle; supported frameworks include transformers, sentence-transformers, vLLM, SGLang, MLX, llama.cpp (GGUF), Ollama and LM Studio, transformers.js for the browser and MediaPipe and LiteRT for mobile devices. Google lists availability in the Gemini Enterprise Agent Platform Model Garden as ‘coming soon’; availability there is not yet documented.
  • Practical notes: text inputs need short task prefixes (separate ones for query and document in search and Q&A), documents use the format title: {title} | text: {content}. Compute in bfloat16 or float32; per the model card, float16 can produce unusable embeddings without raising an error. The model has no safety post-training, so filters belong in the retrieval pipeline.

How it differs from Gemini Embedding 2: Google’s API model gemini-embedding-2 has been stable since 22 April 2026, returns up to 3,072 dimensions and also accepts PDF. It runs only as a Google service, though (see Google Gemini). EmbeddingGemma 2 is the choice when embeddings should be created locally, offline or entirely within your own infrastructure.

Specialized variants

DiffusionGemma (10 June 2026)

  • Type: experimental open model using text diffusion, based on Gemma 4 26B A4B (25.2B parameters, 3.8B active), Apache 2.0
  • Principle: instead of token by token, the model generates blocks of 256 tokens in parallel and refines them step by step; input text, image and video (no audio), context up to 256K
  • Speed: per Google up to four times faster generation on dedicated GPUs, more than 1,000 tokens/s on one H100 and more than 700 tokens/s on an RTX 5090; quantized, it fits in 18 GB of VRAM
  • Limits: per Google the advantage applies to local use with few concurrent requests; in high-load cloud serving it shrinks and can raise costs. Quality is below Gemma 4: MMLU Pro 77.6% (Gemma 4 26B A4B: 82.6%), LiveCodeBench v6 69.1% (77.1%), AIME 2026 69.1% (88.3%) per the model card
  • Use: experiments with latency-critical local workflows such as in-line editing or code infilling; for production quality Google recommends standard Gemma 4

TranslateGemma (15 January 2026)

  • Sizes: 4B, 12B and 27B parameters
  • Focus: translation across 55 languages (per Google)
  • Use: multilingual corporate communication, document localization without an external translation API

FunctionGemma (December 2025)

  • Size: 270M parameters
  • Focus: foundation for your own specialized function-calling models; per Google designed to be highly performant after fine-tuning
  • Use: API integration, workflow automation, agents on small hardware

Gemma Scope 2 (December 2025)

  • Type: interpretability suite for Gemma 3
  • Benefit: insight into internal representations, for example for reviews in regulated industries

Previous generations: Gemma 3 and Gemma 2

Gemma 3 and Gemma 2 remain available for download and run in many existing deployments. They are covered by the Gemma Terms of Use, not Apache 2.0.

Gemma 3 Family (2025)

ModelParametersVRAMRecommended GPUContext
Gemma 3 27B27B32+ GBA100 / H100128K
Gemma 3 12B12B16+ GBRTX 4090128K
Gemma 3 4B4B8 GBRTX 4070128K
Gemma 3 1B1B2 GBMobile / Edge32K
Gemma 3 270M0.27B1 GBMobile / Edge32K

Gemma 2 Family (2024)

ModelParametersVRAMRecommended GPUContext
Gemma 2 27B27B32+ GBA1008K
Gemma 2 9B9B12+ GBRTX 40808K
Gemma 2 2B2B4 GBRTX 30608K

Comparison: Gemma 4 vs. Gemini 4 Argon

AspectGemma 4Gemini 4 Argon
LicenseApache 2.0 (open weights)Proprietary
Self-hostingYesNo
CostHardware or cloud instancePay-per-use per token
MultimodalText, image, video, audio (depending on size)Text, image, video, audio, PDF
Contextup to 256K1,048,576 (shared by input and output)
Thinking modeYesYes
GDPRSelf-hosting in your own infrastructureEU multi-region on the Agent Platform
Fine-tuningPossibleNot supported

Details on Gemini 4 Argon are on the Google Gemini page. Further open model families for self-hosting are listed in the AI models overview, for example Meta Llama or Qwen.

Use cases

GDPR-compliant enterprise AI

  • Sensitive data stays in your infrastructure
  • No data transfer to external services
  • Full control over logging and audit

Specialized applications

  • RAG systems: Gemma 4 for the answer, EmbeddingGemma 2 for retrieval, both local
  • Multimodal search: search image, video and audio archives with a text query
  • Code assistants: internal developer tools and code search
  • Customer service: chatbots without data sharing
  • Multilingual: TranslateGemma for international teams
  • Workflow automation: FunctionGemma for API integration

Edge and mobile

  • Gemma 4 E2B/E4B: edge models with thinking mode and audio input
  • EmbeddingGemma 2: on-device search with under 600 MB of RAM per Google
  • Offline-capable: no internet connection required
  • Low latency: local processing

EU availability and GDPR

With open-weights models, the place of operation matters, not the vendor. Gemma can be run entirely in the EU, but the options differ considerably:

Deployment optionWhere does processing happen?Assessment
Self-hosting (own servers, private cloud)In your infrastructureFull data control, recommended for sensitive data
Self-deployment from the Gemini Enterprise Agent Platform Model GardenIn the region chosen at deploymentEU region possible; check accelerator availability per region
Self-deployment on AWS (e.g. SageMaker, Frankfurt) or Azure (e.g. Azure ML, West Europe)In the chosen regionEU operation in your own instance
STACKIT AI Model Serving (gemma-4-31B-it)Per the STACKIT documentation in region eu01 (Germany)Managed, OpenAI-compatible API from a German cloud provider
Managed Gemma 4 API on the Agent Platform (gemma-4-26b-a4b-it-maas)Per the model page global, ML processing us onlyExperimental, not for personal data subject to EU residency requirements

Gemma 4 is also available via Hugging Face, Kaggle, Ollama, LM Studio and Docker. The model page of the managed API lists Gemma 4 26B A4B with launch stage “Experimental” (since 3 April 2026), a 262,144-token context and up to 128,000 output tokens. EmbeddingGemma 2 has been announced for the Model Garden; until then it runs via the self-deployment options above. For DiffusionGemma, Google links from gemma.ai directly to the Model Garden.

Integration with CompanyGPT

Gemma models can be integrated into CompanyGPT as a self-hosted option, for enterprises that want to combine Google research with full data control. For search and RAG scenarios, EmbeddingGemma 2 works as a local embedding model, and TranslateGemma suits multilingual environments.

Our Recommendation

Gemma 4 31B is the first choice if you want to run an open model with strong reasoning and code quality yourself: MMLU Pro 85.2%, LiveCodeBench v6 80.0% and thinking mode, under Apache 2.0. For retrieval and search, add EmbeddingGemma 2, especially when images, video, audio or code need to be searchable alongside text.

Depending on the scenario, we recommend:

  • Gemma 4 12B Unified for local deployments on laptops or small servers, with audio and 256K context
  • Gemma 4 26B A4B for fast inference thanks to 3.8B active parameters, provided there is enough memory for the full model
  • Gemma 4 E4B/E2B for edge applications and resource-constrained environments
  • DiffusionGemma only for experiments with fast local generation, such as in-line editing; for production quality use Gemma 4
  • EmbeddingGemma 2 for local semantic search, on-device RAG and code indexing; in the 270M configuration for text-only workloads
  • TranslateGemma for multilingual enterprises without an external translation API
  • FunctionGemma as a foundation for your own function-calling models

We currently do not recommend the managed Gemma API on the Agent Platform for personal data from the EU, as it is experimental and processes data in the US. We support you in selecting, deploying and fine-tuning Gemma models in your infrastructure.

Get Google Gemma through innFactory

Google Gemma is available via Google Cloud (Gemini Enterprise Agent Platform) and STACKIT AI Model Serving. Which variants run in which regions is described in the EU availability section. innFactory GmbH is a cloud reseller for AWS, Microsoft Azure, Google Cloud and STACKIT: you can source the cloud resources for it directly through us.

  • Billing by invoice or direct debit, no credit card required – all cloud providers on one consolidated invoice.
  • A personal contact at innFactory for setup, EU regions and model selection.
  • innFactory AI Gateway: budgets, SSO and cost control per team and project, as an infrastructure component in your own tenant.
  • CompanyGPT: the GDPR-compliant AI platform for all employees, with free choice of model.

Cost estimation for this model

For up-to-date token pricing, model variants and EU availability, see our sister project ai-prices.eu. It helps you compare and estimate the operational cost of leading AI models for your specific use case.

Compare prices on ai-prices.eu

ai-prices.eu is a project by innFactory AI Consulting GmbH and provides transparent cost estimates for leading AI models.

Frequently Asked Questions

What is EmbeddingGemma 2?

EmbeddingGemma 2 is an open embedding model from Google DeepMind, released on 6 October 2026 under Apache 2.0. It maps text (including code), images, video and audio into one shared 768-dimensional vector space, has 740 million parameters and an 8,192-token context window. Text-only workloads need just 270 million parameters; per Google, the quantized model uses about 191 MB of RAM (text only) or 567 MB (fully multimodal) on a Pixel 11 Pro.

Which Gemma 4 models are there?

Gemma 4 includes E2B and E4B for edge and mobile (128K context, with audio), Gemma 4 12B Unified (encoder-free, 256K context, with audio), the MoE model 26B A4B (25.2B parameters, 3.8B active, 256K context) and the dense 31B model (256K context). All of them process text, images and video; only E2B, E4B and 12B support audio. QAT checkpoints for all sizes, MTP checkpoints and the experimental DiffusionGemma based on 26B A4B are also available.

What license does Gemma 4 use?

Gemma 4 and EmbeddingGemma 2 are released under Apache 2.0 and may be used commercially, modified and redistributed. Gemma 3, Gemma 2 and older models remain under the Gemma Terms of Use.

Can I run Gemma in the EU in a GDPR-compliant way?

Yes, through self-hosting: the open weights run on your own hardware or on your own endpoint in an EU cloud region, without data going to Google. The managed Gemma 4 API on the Gemini Enterprise Agent Platform (gemma-4-26b-a4b-it-maas), by contrast, is experimental and per its model page runs only globally with ML processing in the US, so it is not suitable for personal data subject to EU residency requirements.

How does EmbeddingGemma 2 differ from Gemini Embedding 2?

EmbeddingGemma 2 is an open model with 740 million parameters for local execution on a laptop, smartphone or your own server, with 768 dimensions and an 8,192-token context. Gemini Embedding 2 (gemini-embedding-2, stable since 22 April 2026) is a Google API model with up to 3,072 dimensions that also accepts PDF input. If data must not go to an API, use EmbeddingGemma 2.

What is DiffusionGemma?

DiffusionGemma is an experimental open model from Google DeepMind, released on 10 June 2026 under Apache 2.0. It is based on Gemma 4 26B A4B but generates text by diffusion in blocks of 256 tokens instead of token by token. Per Google, this makes generation up to four times faster on dedicated GPUs, while quality per the model card is below Gemma 4. Google recommends it for local, latency-critical experiments and standard Gemma 4 for production quality.

Consultation for this model?

We help you select and integrate the right AI model for your use case.