Google · released 2026-05-23
Gemma 4 12B
Mid-size Gemma 4 model that natively takes text, image, audio and video input and runs on a 12-16 GB GPU.
- Parameters
- 12B
- Active / token
- 12B
- Context
- 256K
- Memory at Q4
- 8.4 GB
- License
- apache-2.0
- Images
- Yes
- Thinking mode
- Yes
Cheapest ways to use it free on RTX 4060 or better
Get started
1 · Try it now
No free online version found yet — run it locally instead.
Free online chats are the quickest way to see if a model suits you before downloading anything.
2 · Download the files
You’ll need about 8.4 GB of memory at 4-bit. Check your machine →
3 · Run it on your machine
For a Linux GPU server, serving an OpenAI-compatible API:
vllm serve google/gemma-4-12B-itWill it run on my computer?
Gemma 4 12B needs roughly 8.4 GB of GPU memory at the usual Q4 quality. Check your exact machine →
| Machine | Best file | Fit | Est. speed |
|---|---|---|---|
| RTX 4060 | Q3_K_M | Fits in memory | ~31 tok/s · Fast |
| RTX 3060 12GB | Q6_K | Fits in memory | ~25 tok/s · Usable |
| RTX 4060 Ti 16GB | Q6_K | Fits in memory | ~20 tok/s · Usable |
| RTX 3090 | Q6_K | Fits in memory | ~58 tok/s · Fast |
| RTX 4090 | Q6_K | Fits in memory | ~61 tok/s · Very fast |
| RTX 5090 | Q6_K | Fits in memory | ~96 tok/s · Very fast |
| M4 · 16 GB | Q4_K_M | Fits in memory | ~10 tok/s · Usable |
| M4 Pro · 48 GB | Q6_K | Fits in memory | ~17 tok/s · Usable |
| M4 Max · 128 GB | Q6_K | Fits in memory | ~32 tok/s · Fast |
| M3 Ultra · 512 GB | Q6_K | Fits in memory | ~46 tok/s · Fast |
| DGX Spark | Q6_K | Fits in memory | ~19 tok/s · Usable |
| Ryzen AI Max+ 395 | Q6_K | Fits in memory | ~15 tok/s · Usable |
PCs assume 64 GB system RAM. Estimates, not measurements — method.
Ways to run it
Use it through an API 0 providers
We haven’t found a hosted API for Gemma 4 12B yet — renting a GPU or running it locally are the options below.
Rent a GPU and run it yourself
| Setup | From | Per hour | File | Est. speed | Per 1M tokens* |
|---|---|---|---|---|---|
| 1× RTX A5000 24GB | RunPod community | $0.16 | 8-bit 14.0 GB | ~39 tok/s | $1.13 |
| 1× RTX 3090 24GB | Vast.ai marketplace | $0.21 | 8-bit 14.0 GB | ~47 tok/s | $1.25 |
| 1× RTX 3090 Ti 24GB | Vast.ai marketplace | $0.27 | 8-bit 14.0 GB | ~50 tok/s | $1.50 |
| 1× L4 24GB | Vast.ai marketplace | $0.32 | 8-bit 14.0 GB | ~17 tok/s | $5.36 |
*For one conversation at a time. Serving many users at once (batching, e.g. with vLLM) cuts the cost per token by 10× or more, which is how API providers get so cheap. Rental prices checked 2026-12-04. All GPU prices →
On your own machine
Free after the hardware. See the table above for which GPUs and Macs can run it, or check your exact machine. Easiest apps: Ollama and LM Studio.
Memory by quality level
| File | Quality | Weights | + 8K context | Total |
|---|---|---|---|---|
| Q3_K_M | Noticeably worse | 5.8 GB | 0.3 GB | 6.9 GB |
| Q4_K_M | Good — the usual pick | 7.3 GB | 0.3 GB | 8.4 GB |
| Q5_K_M | Very close to full | 8.6 GB | 0.3 GB | 9.7 GB |
| Q6_K | Near lossless | 9.9 GB | 0.3 GB | 11.1 GB |
| Q8_0 | Practically lossless | 12.8 GB | 0.3 GB | 14.0 GB |
| FP16 | Full precision | 24.0 GB | 0.3 GB | 25.6 GB |
Test answers
Gemma 4 12B is queued for our test suite. See tested models →