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 | Mistral Nemo 12B | Qwen2.5 Coder 14B |
|---|---|---|
| Parameters | 12.2B | 14.7B |
| Type | Dense | Dense |
| Memory at Q4, 8K | 9.3 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, Mistral Nemo 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 | Mistral Nemo 12B | Qwen2.5 Coder 14B | Difference |
|---|---|---|---|
| Q4_K_M | 9.3 GB | 11.1 GB | 1.8 GB |
| Q5_K_M | 10.6 GB | 12.7 GB | 2.0 GB |
| Q6_K | 11.9 GB | 14.3 GB | 2.3 GB |
| Q8_0 | 14.9 GB | 17.8 GB | 2.9 GB |
| F16 |
Pick it over Qwen2.5 Coder 14B if:
ollama run mistral-nemo:12b
Mistral Nemo 12B needs about 9.3 GB at Q4_K_M with an 8K conversation, against about 11.1 GB for Qwen2.5 Coder 14B. Mistral Nemo 12B fits on a 12 GB card; Qwen2.5 Coder 14B needs 12 GB.
Mistral Nemo 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, Mistral Nemo 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.
| 1.3 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 | Apache 2.0 | Apache 2.0 |
|---|
| Ollama tag | mistral-nemo:12b | qwen2.5-coder:14b |
|---|
| 26.3 GB |
| 31.6 GB |
| 5.3 GB |
Pick it over Mistral Nemo 12B if:
ollama run qwen2.5-coder:14b