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 | Phi-4 Mini 3.8B | SmolLM3 3B |
|---|---|---|
| Parameters | 3.84B | 3.08B |
| Type | Dense | Dense |
| Memory at Q4, 8K | 4.0 GB | 3.1 GBLighter |
| Model file at Q4_K_M | 2.3 GB | 1.9 GBSmaller |
| 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, Phi-4 Mini 3.8B runs fully on 20 of 20 devices and SmolLM3 3B 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 | Phi-4 Mini 3.8B | SmolLM3 3B | Difference |
|---|---|---|---|
| Q4_K_M | 4.0 GB | 3.1 GB | 0.9 GB |
| Q5_K_M | 4.4 GB | 3.4 GB | 1.0 GB |
| Q6_K | 4.8 GB | 3.7 GB | 1.1 GB |
| Q8_0 | 5.8 GB | 4.5 GB | 1.3 GB |
| F16 | 9.4 GB |
Pick it over SmolLM3 3B if:
ollama run phi4-mini:3.8b
Pick it over Phi-4 Mini 3.8B if:
SmolLM3 3B needs about 3.1 GB at Q4_K_M with an 8K conversation, against about 4.0 GB for Phi-4 Mini 3.8B. SmolLM3 3B fits on an 8 GB card; Phi-4 Mini 3.8B needs 8 GB.
SmolLM3 3B 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 351 against 281 tokens a second, estimated.
On an RTX 4070 12GB, Phi-4 Mini 3.8B runs well at about 141 tokens a second, and SmolLM3 3B runs well at about 175 tokens a second.
They come from different families, so size alone doesn't settle it. Phi-4 Mini 3.8B is larger; check both model cards and try them on your own prompts.
| 1.1 GB |
| 0.6 GBLighter |
| Native context | 128K tokensLonger | 64K tokens |
|---|
| Smallest graphics card | 8 GB | 8 GB |
|---|
| Smallest Mac | 16 GB | 16 GB |
|---|
| Speed on RTX 4090 24GB | about 281 tok/s | about 351 tok/sFaster |
|---|
| Licence | MIT | Apache 2.0 |
|---|
| Ollama tag | phi4-mini:3.8b | hf.co/bartowski/HuggingFaceTB_SmolLM3-3B-GGUF:Q4_K_M |
|---|
| 7.4 GB |
| 2.0 GB |
ollama run hf.co/bartowski/HuggingFaceTB_SmolLM3-3B-GGUF:Q4_K_M