Google
ChatCodingMulti-purpose12.2B
Chat

Gemma 3 12B

Gemma Β· Gemma license

Google's efficient 12B model with chat and coding support.

Parameters
12.2B
Architecture
Dense
Context
32,768 tokens
Released
2025-03-12
Engines
llama.cpp, ollama, vLLM, TGI
Builder Tools
Cursor, Continue, Aider, Open WebUI, LM Studio

Parameters

12.2B

VRAM

10.5 GB

Context

32K

Formats

5

GPUs

23

Gemma 3 12B (12.2B) requires 10.5 GB VRAM at recommended quality (Q6_K). At efficient quality (Q4_K_M), it fits in 7 GB VRAM, making it compatible with the NVIDIA RTX 4060 Laptop (40-60W). On NVIDIA Grace Blackwell Ultra GB300, expect approximately 250 tok/s at Q8_0. For the best experience, Starter AI Desktop ($582) is recommended.

Source: OwnRig methodology

VRAM (Recommended)

10.5 GB

Quantization

Q6_K

File Size

9.2 GB

Max Context

32K tokens

Primary Use

Chat

Memory

VRAM Requirements

QualityQuantizationVRAMFile Size
fullQ8_013.5 GB12 GB
recommendedQ6_K10.5 GB9.2 GB
recommendedQ5_K_M8.8 GB7.5 GB
efficientQ4_K_M7 GB6 GB
compressedQ3_K_M5.7 GB4.8 GB
Scaling

Context Length Impact

KV cache VRAM at Q6_K quality. Longer context = more memory.

ContextKV CacheTotal VRAM
2K205 MB10.7 GB
4K410 MB10.9 GB
8K819 MB11.3 GB
16K1.5 GB12 GB
32K3.1 GB13.6 GB

Compatible GPUs

23 devices
NVIDIA Grace Blackwell Ultra GB300Q8_0250 tok/sExcellent
NVIDIA GeForce RTX 4090Q5_K_M75 tok/sExcellent
NVIDIA GeForce RTX 5080Q5_K_M72 tok/sExcellent
AMD Radeon Pro W7900Q5_K_M81 tok/sExcellent
NVIDIA GeForce RTX 3060 12GBQ4_K_M32 tok/sGood
NVIDIA GeForce RTX 4060 Ti 16GBQ5_K_M42 tok/sGood
NVIDIA GeForce RTX 4070 Ti 12GBQ4_K_M32 tok/sGood
NVIDIA RTX 4090 Laptop (150-175W)Q5_K_M36 tok/sGood
AMD Radeon RX 7900 XTXQ5_K_M64 tok/sGood
NVIDIA RTX PRO 6000 BlackwellQ8_080 tok/sGood
NVIDIA RTX PRO 6000 Blackwell Max-QQ8_074 tok/sGood
AMD Radeon RX 9070Q5_K_M74 tok/sGood
NVIDIA GeForce RTX 5060 Ti 16GBQ5_K_M47 tok/sGood
NVIDIA GeForce RTX 3080 10GBQ3_K_M28 tok/sAcceptable
NVIDIA RTX 4060 Laptop (40-60W)Q3_K_M11 tok/sAcceptable
NVIDIA RTX 4070 Laptop (80-115W)Q3_K_M13 tok/sAcceptable
NVIDIA RTX 4080 Laptop (120-150W)Q4_K_M22 tok/sAcceptable
AMD Radeon RX 9060 XT 16GBQ5_K_M37 tok/sAcceptable
Apple M3 Pro (18GB Unified)Q3_K_M5 tok/sMarginal
NVIDIA GeForce RTX 4060 8GBQ3_K_M18 tok/sMarginal
AMD Radeon RX 7600Q3_K_M14 tok/sMarginal
NVIDIA GeForce RTX 5060 8GBQ3_K_M21 tok/sMarginal
AMD Radeon RX 9060 XT 8GBQ5_K_M–Not viable

Showing 23 of 23 entries

Builder Context

Gemma 3 12B is commonly used with Cursor, Continue, Aider, Open WebUI, LM Studio. For an AI coding workflow, pair it with an embedding model like nomic-embed-text for local RAG.

Hardware

Recommended Builds

Complete PC builds that can run Gemma 3 12B.

FAQ

Frequently Asked Questions

How much VRAM does Gemma 3 12B need?
Gemma 3 12B requires 10.5 GB VRAM at recommended quality (Q6_K). At lower quality settings, it can fit in as little as 5.7 GB.
What is the best GPU for Gemma 3 12B?
The NVIDIA Grace Blackwell Ultra GB300 delivers the best performance for Gemma 3 12B, achieving 250 tok/s at Q8_0 with an excellent rating.
Can I run Gemma 3 12B on an RTX 4060 Ti?
Yes. On the NVIDIA GeForce RTX 4060 Ti 16GB, Gemma 3 12B runs at 42 tok/s (Q5_K_M, good).
What quantization should I use for Gemma 3 12B?
For the best quality, use Q6_K (10.5 GB VRAM). If your GPU has limited VRAM, Q3_K_M (5.7 GB) is the most efficient option with acceptable quality.
Is Gemma 3 12B good for coding?
Yes. Gemma 3 12B is used with Cursor, Continue, Aider, Open WebUI, LM Studio for local AI coding. For the best coding experience, pair it with an embedding model for local RAG.

Related Guides

All models

Data confidence: estimated. Source

VRAM requirements are calculated from model parameters and may vary by inference engine, context length, and batch size. Performance estimates are based on community benchmarks and should be verified for your specific configuration.Gemma is a trademark of its respective owner. OwnRig is not affiliated with or endorsed by the model creator.