MiniCPM5 2B on Raspberry Pi 4 (4 GB)
Can the Raspberry Pi 4 (4 GB) run MiniCPM5 2B?
Yes, but slowly (tight fit)
Slow (tight fit). At Q3_K_M it needs about 2.4 GB of 2.8 GB usable, with an estimated speed of 3.4 tok/s.
- Best quant
Q3_K_M- Generation speed
- 3.4 tok/s
- Prompt processing
- 11.9 tok/s
- First token (1K prompt)
- 86.0 s
- Largest safe context
- 16K
Best app to run it on the Raspberry Pi 4 (4 GB)
On Linux on ARM boards
- Point-and-click: search, download and chat in one window.
Download MiniCPM5 2B
Quantized files ยท GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/openbmb/MiniCPM5-2B-GGUF (opens in a new tab)
ollama run hf.co/openbmb/MiniCPM5-2B-GGUFOriginal weights ยท Hugging Face
Full-precision files from OpenBMB, for fine-tuning, vLLM, Transformers.
Official repo ยท GitHub
Reference code, inference scripts and docs from OpenBMB. The weights themselves download from Hugging Face.
github.com/OpenBMB/MiniCPM (opens in a new tab)
git clone https://github.com/OpenBMB/MiniCPMHow itโs rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 22.7 / 45 | |
|---|---|---|
| Memory fit | 24.0 / 25 | |
| Speed | 4.3 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 66.0 / 100 |
Every quantization on the Raspberry Pi 4 (4 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 2.2 GB | 2.8 GB | 4.3 tok/s | Slow | 42Fair quality (C) ยท 42 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. | GGUF files (opens in a new tab) |
Q3_K_M | 2.4 GB | 2.8 GB | 3.4 tok/s | Slowtight fit | 50Fair quality (C) ยท 50 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q4_K_M | 2.7 GB | 2.8 GB | 2.6 tok/s | Very slowtight fit | 57Good quality (B) ยท 57 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. | GGUF (opens in a new tab) |
Q5_K_M | 3.0 GB | 2.8 GB | 1.8 tok/s | Very slowover memory limit | 58Good quality (B) ยท 58 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 54/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q6_K | 3.2 GB | 2.8 GB | 1.5 tok/s | Very slowfar over memory limit | 59Good quality (B) ยท 59 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | GGUF files (opens in a new tab) |
Q8_0 | 3.8 GB | 2.8 GB | โ | Won't run | 60Good quality (B) ยท 60 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 6.2 GB | 2.8 GB | โ | Won't run | 60Good quality (B) ยท 60 of 100: how capable the model is at F16, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
60Good quality (B) ยท 60 of 100: how capable the model is at F16, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3060 12GB
-
60Good quality (B) ยท 60 of 100: how capable the model is at F16, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 SUPER
-
60Good quality (B) ยท 60 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060
-
60Good quality (B) ยท 60 of 100: how capable the model is at F16, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
60Good quality (B) ยท 60 of 100: how capable the model is at F16, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
60Good quality (B) ยท 60 of 100: how capable the model is at F16, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
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.