On-prem models / Google

Run Gemma 4 12B IT on-prem

The encoder-free Unified member of Gemma 4, projecting image patches and audio directly into the LLM. It has configurable thinking, native function calling and a system role. Google publishes QAT int4 variants.

11.95B dense256K contextApache-2.0text + vision + audiothinking modetool callingreleased 2026-05

Memory needed

PrecisionWeightsKV per request, 8KKV per request, 32KKV per request, 128K
BF16 (full precision)23.9 GB0.87 GB2.48 GB8.93 GB
FP811.9 GB0.44 GB1.24 GB4.46 GB
INT4 (AWQ / GPTQ)6.69 GB0.44 GB1.24 GB4.46 GB
GGUF Q4_K_M7.17 GB0.44 GB1.24 GB4.46 GB

KV cache from the published config: 48 layers, 8 KV heads x 256 dims, 40 sliding-window layers (1024 tokens). 16-bit cache for BF16 rows, 8-bit otherwise.

Fit for ERP and manufacturing work

A good single-GPU choice for multilingual plants: reads photos of labels, delivery notes and forms, and can transcribe audio notes. Fine for simple tool-calling and lookups; use a larger model for complex text-to-SQL.

Strengths

  • Text, image and audio input in about 12B parameters
  • Very small long-context KV cache
  • Native function calling and thinking mode
  • Apache 2.0 with official QAT int4 GGUF and W4A16 checkpoints

Watch out for

  • Encoder-free design is new, so engine support may lag the other Gemma 4 sizes
  • Weaker than 26B A4B and 31B on reasoning and coding per Google's card
  • Thinking mode adds latency

GPUs that run it

One user, 8K context, FP8

HardwareCountMemory usedTok/s per user
NVIDIA L4 24GB114 / 21 GB14
NVIDIA A10 24GB114 / 21 GB28
NVIDIA GeForce RTX 4090 24GB114 / 21 GB46
NVIDIA GeForce RTX 5090 32GB114 / 28 GB78
NVIDIA A100 40GB PCIe114 / 36 GB68
NVIDIA L40S 48GB114 / 43 GB40
NVIDIA RTX A6000 48GB114 / 43 GB36
NVIDIA RTX 6000 Ada 48GB114 / 43 GB44

20 people at once, 16K context, FP8

HardwareCountMemory usedTok/s per user
NVIDIA GeForce RTX 5090 32GB128 / 28 GB48
NVIDIA A100 40GB PCIe128 / 36 GB42
NVIDIA L4 24GB230 / 43 GB15
NVIDIA A10 24GB230 / 43 GB29
NVIDIA L40S 48GB128 / 43 GB24
NVIDIA RTX A6000 48GB128 / 43 GB21
NVIDIA RTX 6000 Ada 48GB128 / 43 GB27
NVIDIA GeForce RTX 4090 24GB230 / 43 GB46

Serving and licence

Needs recent Transformers (5.x) and engine versions with gemma4_unified support; check vLLM and llama.cpp release notes. Official q4_0 GGUF works with llama.cpp and Ollama.

Apache-2.0. Gemma 4 is released under Apache 2.0, so commercial use is unrestricted apart from standard notice requirements.

Model card on Hugging Face

Design a Gemma 4 12B IT deployment

Preloaded with Gemma 4 12B IT. Add your ERP and documents, change GPUs or users, and export the diagram.

Loading the architecture builder...

Questions

How much VRAM does Gemma 4 12B IT need?

The weights alone take about 23.9 GB in BF16, 11.9 GB in FP8 and 6.69 GB in 4-bit. On top of that each request holds a KV cache of about 0.44 GB at 8K tokens of context (FP8 cache), so 20 people generating at once need roughly 8.72 GB more, plus a few GB of runtime overhead.

What is the smallest GPU setup that runs Gemma 4 12B IT?

For a single user at 8K context in FP8, 1 x NVIDIA L4 24GB (24 GB each) fits, at an estimated 14 tokens per second. For a team, size for concurrent requests and context; the builder above does that.

Is Gemma 4 12B IT allowed for commercial use?

Gemma 4 12B IT is released under Apache-2.0. Gemma 4 is released under Apache 2.0, so commercial use is unrestricted apart from standard notice requirements. Check the licence text on the model card with your legal team before production use.

Which engine should serve Gemma 4 12B IT on-prem?

Needs recent Transformers (5.x) and engine versions with gemma4_unified support; check vLLM and llama.cpp release notes. Official q4_0 GGUF works with llama.cpp and Ollama.