Written by Jakub Rusinowski · Last updated November 20, 2024
Model library → SmolLM2 → SmolLM2 1.7B Instruct
The flagship SmolLM2 model. Shockingly capable for its size — runs in any browser via WebLLM or on any smartphone. Great for offline assistants, on-device privacy-preserving chat, and embedding AI in web apps.
SmolLM2 1.7B Instruct needs about 2 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.
| Parameters | 1.7 Billion |
| Context window | 8,192 |
| Architecture | Dense |
| Provider | HuggingFace |
| Licence | Apache 2.0 |
| Specified at | Q4_K_M |
| System RAM | 4 GB |
| Record updated | 2024-11-20 |
Apache-2.0 — commercial use permitted. Commercial use permitted. No usage restrictions beyond attribution.
Modelled on a reference NVIDIA RTX 4090 (24 GB), at 8K context. Speed figures are ESTIMATES from the memory-bandwidth roofline described on the methodology page, not benchmarks we ran — rows marked measured come from published or reader-submitted runs. VRAM here includes the KV cache, so it reads higher than the headline figure above, which does not.
| Quant | Weights | VRAM needed | Est. speed | Fit on 24 GB |
|---|---|---|---|---|
| Q2_K | 0.6 GB | 3.0 GB | ~247 tok/s (est.) | Fits comfortably |
| Q3_K_M | 0.7 GB | 3.1 GB | ~234 tok/s (est.) | Fits comfortably |
| Q4_K_M | 1.0 GB | 3.4 GB | ~214 tok/s (est.) | Fits comfortably |
| Q5_K_M | 1.2 GB | 3.6 GB | ~203 tok/s (est.) | Fits comfortably |
| Q6_K | 1.4 GB | 3.8 GB | ~194 tok/s (est.) | Fits comfortably |
| Q8_0 | 1.8 GB | 4.2 GB | ~175 tok/s (est.) | Fits comfortably |
| F16 | 3.4 GB | 5.8 GB | ~128 tok/s (est.) | Fits comfortably |
Want the memory numbers alone, at every quantization level and your own context length? Use the SmolLM2 1.7B Instruct VRAM calculator.
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
The cheapest catalogued GPU that runs SmolLM2 1.7B Instruct is the Intel Arc B570 (10 GB).
Install Ollama, then run:
ollama run smollm2:1.7b
Weights on Hugging Face: HuggingFaceTB/SmolLM2-1.7B-Instruct.
Best for: mobile, browser, edge devices, offline chat.
← All SmolLM2 models | VRAM calculator | Check your own hardware