Best local LLMs for the Raspberry Pi 5 (2 GB)
Each list assumes the context that task needs, so a model that fits for chat may rank lower for long documents.
General chat at 8K context
- 13Basic quality (D) · 13 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 350M
- 18Basic quality (D) · 18 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. Qwen3.5 0.8B
- 11Basic quality (D) · 11 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 11Basic quality (D) · 11 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. LFM2 350M
- 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. LFM2-VL 450M
Coding at 32K context
- 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 9Basic quality (D) · 9 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 230M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. Gemma 3 270M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolVLM 256M Instruct
- 4Basic quality (D) · 4 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolLM 360M Instruct
Reasoning at 32K context
- 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 9Basic quality (D) · 9 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 230M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. Gemma 3 270M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolVLM 256M Instruct
- 4Basic quality (D) · 4 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolLM 360M Instruct
Documents (RAG) at 32K context
- 5Basic quality (D) · 5 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. Gemma 3 270M
- 3Basic quality (D) · 3 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking. Falcon-H1 Tiny 90M Instruct
- 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 9Basic quality (D) · 9 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 230M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolVLM 256M Instruct
Agents & tools at 64K context
- 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. Gemma 3 270M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolVLM 256M Instruct
- 4Basic quality (D) · 4 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolLM 360M Instruct
- 3Basic quality (D) · 3 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 56/100 (quality, fit, speed and memory use) sets the ranking. SmolLM2 135M Instruct
Reverse engineering at 32K context
- 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 9Basic quality (D) · 9 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 230M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. Gemma 3 270M
- 5Basic quality (D) · 5 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolVLM 256M Instruct
- 4Basic quality (D) · 4 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. SmolLM 360M Instruct
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.