Last reviewed · How we calculateSpeeds are estimates until benchmarks arrive
Memory at Q4_K_M with an 8K conversation. The highlighted cell is the lighter or longer one.
| Spec | Gemma 3 12B | Qwen2.5 Coder 14B |
|---|---|---|
| Parameters | 12.2B | 14.7B |
| Type | Dense | Dense |
| Memory at Q4, 8K | 8.9 GBLighter | 11.1 GB |
| Model file at Q4_K_M | 7.4 GBSmaller | 8.9 GB |
| Conversation memory per 8K |
Each row is one GPU or Mac. The longer the bar, the faster that model writes. Change the quality and conversation length to see where one stops fitting.
At Q4_K_M with a 8K conversation, Gemma 3 12B runs fully on 19 of 20 devices and Qwen2.5 Coder 14B on 18. Striped bars run partly from system RAM. All speeds are estimates; add a measured one.
Total for model, an 8K conversation and runtime. Higher quality costs memory on both, but the gap between them grows.
| Quality | Gemma 3 12B | Qwen2.5 Coder 14B | Difference |
|---|---|---|---|
| Q4_K_M | 8.9 GB | 11.1 GB | 2.3 GB |
| Q5_K_M | 10.1 GB | 12.7 GB | 2.5 GB |
| Q6_K | 11.5 GB | 14.3 GB | 2.8 GB |
| Q8_0 | 14.4 GB | 17.8 GB | 3.4 GB |
| F16 |
Pick it over Qwen2.5 Coder 14B if:
ollama run gemma3:12b
Gemma 3 12B needs about 8.9 GB at Q4_K_M with an 8K conversation, against about 11.1 GB for Qwen2.5 Coder 14B. Gemma 3 12B fits on a 12 GB card; Qwen2.5 Coder 14B needs 12 GB.
Gemma 3 12B is about 1.2 times faster when both fit on the same card, because it reads fewer weights for each token. On the RTX 4090 24GB that is about 89 against 74 tokens a second, estimated.
On an RTX 4070 12GB, Gemma 3 12B runs well at about 44 tokens a second, and Qwen2.5 Coder 14B runs with little memory to spare at about 37 tokens a second.
They come from different families, so size alone doesn't settle it. Qwen2.5 Coder 14B is larger; check both model cards and try them on your own prompts.
| 0.9 GBLighter |
| 1.6 GB |
| Native context | 128K tokensLonger | 32K tokens |
|---|
| Smallest graphics card | 12 GB | 12 GB |
|---|
| Smallest Mac | 16 GBSmaller | 24 GB |
|---|
| Speed on RTX 4090 24GB | about 89 tok/sFaster | about 74 tok/s |
|---|
| Licence | Gemma Terms of Use | Apache 2.0 |
|---|
| Ollama tag | gemma3:12b | qwen2.5-coder:14b |
|---|
| 25.9 GB |
| 31.6 GB |
| 5.7 GB |
Pick it over Gemma 3 12B if:
ollama run qwen2.5-coder:14b