Best local LLMs for the Raspberry Pi 4 (4 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

  1. 54Fair quality (C) · 54 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. LFM3 1.7B Q5_K_M · 3.1 tok/s · Slow
  2. 50Fair quality (C) · 50 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 71/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM5 2B Q3_K_M · 3.4 tok/s · Slow (tight fit)
  3. 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. LFM3-VL 2B Q4_K_M · 3.4 tok/s · Slow
  4. 46Fair quality (C) · 46 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. Spark-X2.6 4B Q2_K · 2.6 tok/s · Very slow (tight fit)
  5. 42Fair quality (C) · 42 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 67/100 (quality, fit, speed and memory use) sets the ranking. TMax 4B Q2_K · 2.6 tok/s · Very slow (tight fit)

Coding at 32K context

  1. 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. LFM3 1.7B Q4_K_M · 3.8 tok/s · Slow
  2. 34Basic quality (D) · 34 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM5 1B Q4_K_M · 6.1 tok/s · Slow
  3. 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. LFM3-VL 2B Q4_K_M · 3.4 tok/s · Slow (tight fit)
  4. 39Basic quality (D) · 39 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 63/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-OCR 1.0 1.3B Q4_K_M · 5.0 tok/s · Slow
  5. 38Basic quality (D) · 38 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-V 4.7 1B Q4_K_M · 4.2 tok/s · Slow

Reasoning at 32K context

  1. 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. LFM3 1.7B Q4_K_M · 3.8 tok/s · Slow
  2. 34Basic quality (D) · 34 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM5 1B Q4_K_M · 6.1 tok/s · Slow
  3. 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. LFM3-VL 2B Q4_K_M · 3.4 tok/s · Slow (tight fit)
  4. 39Basic quality (D) · 39 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 63/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-OCR 1.0 1.3B Q4_K_M · 5.0 tok/s · Slow
  5. 30Basic quality (D) · 30 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 63/100 (quality, fit, speed and memory use) sets the ranking. Jamba Reasoning 3B Q2_K · 3.4 tok/s · Slow

Documents (RAG) at 32K context

  1. 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. LFM3 1.7B Q4_K_M · 3.8 tok/s · Slow
  2. 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. LFM3-VL 2B Q4_K_M · 3.4 tok/s · Slow (tight fit)
  3. 39Basic quality (D) · 39 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-OCR 1.0 1.3B Q4_K_M · 5.0 tok/s · Slow
  4. 38Basic quality (D) · 38 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-V 4.7 1B Q4_K_M · 4.2 tok/s · Slow
  5. 38Basic quality (D) · 38 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. TMax 2B Q4_K_M · 3.5 tok/s · Slow

Agents & tools at 64K context

  1. 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. LFM3 1.7B Q4_K_M · 3.8 tok/s · Slow (tight fit)
  2. 38Basic quality (D) · 38 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. TMax 2B Q4_K_M · 3.5 tok/s · Slow (tight fit)
  3. 42Fair quality (C) · 42 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. LFM3-VL 2B Q3_K_M · 4.4 tok/s · Slow (tight fit)
  4. 39Basic quality (D) · 39 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. MiniCPM-OCR 1.0 1.3B Q4_K_M · 5.0 tok/s · Slow (tight fit)
  5. 38Basic quality (D) · 38 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-V 4.7 1B Q4_K_M · 4.2 tok/s · Slow (tight fit)

Reverse engineering at 32K context

  1. 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. LFM3 1.7B Q4_K_M · 3.8 tok/s · Slow
  2. 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. LFM3-VL 2B Q4_K_M · 3.4 tok/s · Slow (tight fit)
  3. 39Basic quality (D) · 39 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 63/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-OCR 1.0 1.3B Q4_K_M · 5.0 tok/s · Slow
  4. 38Basic quality (D) · 38 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. MiniCPM-V 4.7 1B Q4_K_M · 4.2 tok/s · Slow
  5. 38Basic quality (D) · 38 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. TMax 2B Q4_K_M · 3.5 tok/s · Slow

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.

Was this page helpful?