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 | DeepSeek R1 Distill Qwen 7B | Llama 3.1 8B |
|---|---|---|
| Parameters | 7.62B | 8.03B |
| Type | Dense | Dense |
| Memory at Q4, 8K | 5.7 GBLighter | 6.5 GB |
| Model file at Q4_K_M | 4.6 GBSmaller | 4.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, DeepSeek R1 Distill Qwen 7B runs fully on 20 of 20 devices and Llama 3.1 8B on 20. 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 | DeepSeek R1 Distill Qwen 7B | Llama 3.1 8B | Difference |
|---|---|---|---|
| Q4_K_M | 5.7 GB | 6.5 GB | 0.9 GB |
| Q5_K_M | 6.5 GB | 7.4 GB | 0.9 GB |
| Q6_K | 7.3 GB | 8.3 GB | 0.9 GB |
| Q8_0 | 9.2 GB | 10.2 GB | 1.0 GB |
| F16 |
Pick it over Llama 3.1 8B if:
ollama run deepseek-r1:7b-qwen-distill-q4_K_M
DeepSeek R1 Distill Qwen 7B needs about 5.7 GB at Q4_K_M with an 8K conversation, against about 6.5 GB for Llama 3.1 8B. DeepSeek R1 Distill Qwen 7B fits on an 8 GB card; Llama 3.1 8B needs 8 GB.
They run at about the same speed. On the RTX 4090 24GB both write about 135 to 142 tokens a second, estimated.
On an RTX 4070 12GB, DeepSeek R1 Distill Qwen 7B runs well at about 71 tokens a second, and Llama 3.1 8B runs well at about 67 tokens a second.
They come from different families, so size alone doesn't settle it. Llama 3.1 8B is larger; check both model cards and try them on your own prompts.
| 0.5 GBLighter |
| 1.1 GB |
| Native context | 128K tokens | 128K tokens |
|---|
| Smallest graphics card | 8 GB | 8 GB |
|---|
| Smallest Mac | 16 GB | 16 GB |
|---|
| Speed on RTX 4090 24GB | about 142 tok/sFaster | about 135 tok/s |
|---|
| Licence | MIT | Llama 3.1 Community |
|---|
| Ollama tag | deepseek-r1:7b-qwen-distill-q4_K_M | llama3.1:8b |
|---|
| 16.3 GB |
| 17.7 GB |
| 1.4 GB |
Pick it over DeepSeek R1 Distill Qwen 7B if:
ollama run llama3.1:8b