gemma-4-12B-it

reasoning
multimodal

Gemma 4 12B is a dense multimodal model with a Unified, encoder-free architecture. The model occupies a middle ground between the compact E4B for mobile devices and the more powerful 26B A4B MoE, filling a mid-range niche optimized for running on consumer laptops with 16 GB of video memory.

The key distinction of Gemma 4 12B from the rest of the family is its completely encoder-free architecture: instead of separate vision and audio encoders, the model uses linear projections to feed raw image patches and audio waveforms directly into a single decoder. This is the first mid-size model in the Gemma family with native audio input, making it a unique solution for local multimodal AI. All modalities flow through a single decoder-only transformer, which reduces latency and allows fine-tuning the entire model in a single pass — there is no need to align separate frozen encoders.

As with other models in the family, the decoder of Gemma 4 12B is built on a hybrid attention mechanism that alternates layers with local sliding-window attention (1024 tokens) and layers with full global attention. These layers use so-called heteromorphic heads — with varying sizes within a single model. The local layers provide speed and low memory usage, since each token only sees its neighbors within the window, while the global layers cover the entire context, ensuring deep understanding of long-range dependencies.

The model supports text, image, video, and audio processing. A built-in thinking mode allows the model to reason step-by-step before producing an answer, which is critical for complex tasks. The model also supports function calling for agentic scenarios, variable image resolution, and multilingualism (140+ languages during pre-training, 35+ languages out of the box). Multi-Token Prediction (MTP) is supported to accelerate inference, significantly reducing generation latency without quality loss. The vocabulary comprises 262K tokens, and the context window reaches 256K tokens.

On key benchmarks, Gemma 4 12B delivers results close to the substantially larger 26B A4B MoE. On AIME 2026 (advanced mathematical reasoning) the model scores 77.5%, nearly quadrupling the result of Gemma 3 27B (20.8%). On GPQA Diamond (PhD-level expert questions in physics, chemistry, and biology) the model reaches 78.8% — an outstanding result for a 12B model, surpassing many larger models. LiveCodeBench v6 (real-world code generation) — 72.0%, Codeforces ELO — 1659, confirming strong programming abilities. Multimodal tests: MMMU Pro (universal image understanding) — 69.1%, MATH-Vision (mathematics on images) — 79.7%, MMMLU (multilingual knowledge) — 83.4%. On the CoVoST benchmark (audio translation) the model achieves the best result among all Gemma models (38.5%).

The model’s use cases are defined by three key factors: compactness, multimodality with native audio, and agentic capabilities. Gemma 4 12B is ideally suited for local agentic systems — from autonomous coding assistants to multimodal AI assistants with voice input. The model is effective for speech recognition and translation, video fragment analysis, intelligent document processing, and for building embedded AI solutions on desktops. For more details on use cases, check out the developer guide: https://developers.googleblog.com/gemma-4-12b-the-developer-guide/


Announce Date: 03.06.2026
Parameters: 12B
Context: 263K
Layers: 48, using full attention: 8
Attention Type: Sliding Window Attention
Developer: Google DeepMind
Transformers Version: 5.10.0.dev0
License: Apache 2.0

Public endpoint

Use our pre-built public endpoints for free to test inference and explore gemma-4-12B-it capabilities. You can obtain an API access token on the token management page after registration and verification.
Model Name Context Type GPU Status Link

API access to gemma-4-12B-it endpoints

There are no public endpoints for this model yet.

Private endpoint

An endpoint is a server with pre-installed software that automatically downloads neural network weights and launches an OpenAI-compatible API to handle incoming requests.

A private endpoint is created within the user's project, belongs exclusively to the user, and is billed per server configuration in accordance with the infrastructure pricing.

We recommend creating private endpoints when you need to:

  • achieve maximum endpoint performance,
  • access the full context window for processing large requests and conversations,
  • ensure maximum security by processing data in a dedicated, isolated environment.

Recommended server configurations for creating a private inference endpoint gemma-4-12B-it

Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-1.16.32.160
131,072.0
1 $0.53 49.21 2.928 Launch
rtx3090-1.16.24.160
131,072.0
1 $0.83 81.00 3.192 Launch
rtx4090-1.16.32.160
131,072.0
1 $1.02 82.29 3.170 Launch
rtx3090-2.16.64.160.nvlink
131,072.0
tensor
2 $1.56 5.828 Launch
rtx5090-1.16.64.160
131,072.0
1 $1.59 124.86 5.181 Launch
teslaa100-1.16.64.160
131,072.0
1 $2.37 95.89 16.704 Launch
h100-1.16.64.160
131,072.0
1 $3.83 117.49 8.599 Launch
h100nvl-1.16.96.160
131,072.0
1 $4.11 117.17 10.417 Launch
h200-1.16.128.160
131,072.0
1 $4.74 16.294 Launch
h200-2.24.256.160.nvlink
131,072.0
tensor
2 $9.40 26.478 Launch
Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-1.16.32.160
262,144.0
1 $0.53 31.27 1.260 Launch
rtx3090-2.16.64.160.nvlink
262,144.0
tensor
2 $1.56 58.50 2.767 Launch
rtx5090-1.16.64.160
262,144.0
1 $1.59 2.655 Launch
rtx3080-4.16.64.160
262,144.0
tensor
4 $1.82 1.132 Launch
teslaa100-1.16.64.160
262,144.0
1 $2.37 65.74 10.177 Launch
h100-1.16.64.160
262,144.0
1 $3.83 93.33 6.389 Launch
h100nvl-1.16.96.160
262,144.0
1 $4.11 112.38 7.674 Launch
teslaa100-2.24.96.160.nvlink
262,144.0
tensor
2 $4.61 13.406 Launch
h200-1.16.128.160
262,144.0
1 $4.74 12.378 Launch
h200-2.24.256.160.nvlink
262,144.0
tensor
2 $9.40 18.274 Launch
Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-2.16.64.160
262,144.0
tensor
2 $0.93 1.640 Launch
teslaa2-3.32.128.160
262,144.0
pipeline
3 $1.06 1.668 Launch
teslaa2-4.32.128.160
262,144.0
tensor
4 $1.26 1.459 Launch
rtx3090-2.16.64.160
262,144.0
tensor
2 $1.56 55.25 1.892 Launch
rtx3090-2.16.64.160.nvlink
262,144.0
tensor
2 $1.56 1.892 Launch
rtx4090-2.16.64.160
262,144.0
tensor
2 $1.92 57.45 1.712 Launch
teslaa100-1.16.64.160
262,144.0
1 $2.37 47.83 8.366 Launch
rtx5090-2.16.64.160
262,144.0
tensor
2 $2.93 92.27 3.199 Launch
h100-1.16.64.160
262,144.0
1 $3.83 62.78 5.217 Launch
h100nvl-1.16.96.160
262,144.0
1 $4.11 84.47 6.595 Launch
teslaa100-2.24.96.160.nvlink
262,144.0
tensor
2 $4.61 12.256 Launch
h200-1.16.128.160
262,144.0
1 $4.74 11.229 Launch
h200-2.24.256.160.nvlink
262,144.0
tensor
2 $9.40 138.88 17.425 Launch

Related models

Need help?

Contact our dedicated neural networks support team at support@immers.cloud or send your request to the sales department at sale@immers.cloud.

We use cookies and web analytics services to ensure the proper functioning of the website, analyze web-site traffic, and improve the quality of our services.
By continuing to use the website, you consent to the Privacy Policy and consent to the processing of cookie files and technical data.