MiniCPM5 2B
2.5B parameters · 128k context · Apache License 2.0 · released 2026-09-06
chatcodingagenticreasoning
In short
MiniCPM5 2B is an open model from openbmb with 2.5B parameters. At mlx-4bit, MiniCPM5 2B needs about 2 GB of memory at 8k context and 2 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs MiniCPM5 2B fully in memory at 8k context is the NVIDIA Tesla P40, $345 at Amazon, at about 71 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
What to run it on in the US
Fully in memory at 8k context, priced at retailers today.
Cheapest
NVIDIA Tesla P4071tok/sest.Q8_0
$345
Best value
NVIDIA GeForce RTX 3080 10GB155tok/sest.Q8_0
$469
Fastest
NVIDIA GeForce RTX 5090366tok/sest.Q8_0
$4,921
Mac
Mac mini M4 16GB26tok/sest.Q8_0
$749
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| NVIDIA Tesla P40 | Q8_0 | fits | 71 tok/s | $345 | 205.2 |
| Intel Arc B580 | Q8_0 | fits | 75 tok/s | $346 | 217.3 |
| NVIDIA GeForce RTX 3060 12GB | Q8_0 | fits | 74 tok/s | $360 | 204.5 |
| Intel Arc A770 16GB | Q8_0 | fits | 92 tok/s | $400 | 230.8 |
| NVIDIA GeForce RTX 3080 10GB | Q8_0 | fits | 155 tok/s | $469 | 331.1 |
| AMD Radeon RX 7600 XT | Q8_0 | fits | 52 tok/s | $480 | 108.8 |
| AMD Radeon RX 9060 XT 16GB | Q8_0 | fits | 58 tok/s | $520 | 111.5 |
| AMD Radeon RX 7800 XT | Q8_0 | fits | 113 tok/s | $550 | 205.8 |
| NVIDIA GeForce RTX 5060 Ti 16GB | Q8_0 | fits | 92 tok/s | $618 | 148.2 |
| Intel Arc Pro B60 | Q8_0 | fits | 75 tok/s | $650 | 115.7 |
| NVIDIA GeForce RTX 4070 Super | Q8_0 | fits | 103 tok/s | $699 | 147.5 |
| Mac mini M4 16GB | Q8_0 | fits | 26 tok/s | $749 | 34.3 |
| NVIDIA GeForce RTX 5070 | Q8_0 | fits | 137 tok/s | $750 | 183.2 |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q8_0 | fits | 59 tok/s | $770 | 76.5 |
| AMD Radeon RX 7900 XT | Q8_0 | fits | 145 tok/s | $800 | 181.4 |
| AMD Radeon RX 9070 XT | Q8_0 | fits | 116 tok/s | $815 | 142.5 |
| NVIDIA GeForce RTX 4070 Ti Super | Q8_0 | fits | 137 tok/s | $984 | 139.7 |
| NVIDIA GeForce RTX 5070 Ti | Q8_0 | fits | 183 tok/s | $995 | 184.1 |
| NVIDIA GeForce RTX 4080 Super | Q8_0 | fits | 151 tok/s | $1,199 | 125.5 |
| Mac mini M4 32GB | Q8_0 | fits | 26 tok/s | $1,420 | 18.1 |
| AMD Radeon RX 7900 XTX | Q8_0 | fits | 174 tok/s | $1,533 | 113.6 |
| NVIDIA GeForce RTX 3090 | Q8_0 | fits | 191 tok/s | $1,600 | 119.6 |
| NVIDIA GeForce RTX 5080 | Q8_0 | fits | 196 tok/s | $1,600 | 122.7 |
| AMD Radeon AI PRO R9700 | Q8_0 | fits | 116 tok/s | $1,700 | 68.3 |
| NVIDIA GeForce RTX 3090 Ti | Q8_0 | fits | 206 tok/s | $2,060 | 100.0 |
| NVIDIA GeForce RTX 4090 | Q8_0 | fits | 206 tok/s | $2,073 | 99.4 |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 59 tok/s | $2,149 | 27.2 |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 59 tok/s | $2,900 | 20.2 |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 117 tok/s | $3,400 | 34.4 |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 46 tok/s | $3,449 | 13.5 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 46 tok/s | $3,650 | 12.7 |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 176 tok/s | $4,399 | 39.9 |
| NVIDIA GeForce RTX 5090 | Q8_0 | fits | 366 tok/s | $4,921 | 74.5 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 117 tok/s | $4,999 | 23.4 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 56 tok/s | $6,100 | 9.1 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 56 tok/s | $7,399 | 7.5 |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 366 tok/s | $7,997 | 45.8 |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 176 tok/s | $8,499 | 20.7 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 176 tok/s | $23,000 | 7.6 |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 46 tok/s | – | – |
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| mlx-4bitmlx | 1.3 GB | 2.4 GB | 3.5 GB | 5.0 GB | 8.0 GB |
| Q4_K_Mgguf | 1.5 GB | 2.6 GB | 3.7 GB | 5.2 GB | 8.2 GB |
| Q5_K_Mgguf | 1.8 GB | 2.9 GB | 4.0 GB | 5.5 GB | 8.5 GB |
| Q6_Kgguf | 2.0 GB | 3.0 GB | 4.2 GB | 5.7 GB | 8.7 GB |
| mlx-8bitmlx | 2.5 GB | 3.6 GB | 4.7 GB | 6.2 GB | 9.2 GB |
| Q8_0gguf | 2.5 GB | 3.6 GB | 4.7 GB | 6.2 GB | 9.2 GB |
Run it
Copy a command for the runtime you use.
- mlx-4bit
- LM Studio
lms get mlx-community/MiniCPM5-2B-mlx-4Bit - MLX
mlx_lm.server --model mlx-community/MiniCPM5-2B-mlx-4Bit
- LM Studio
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q4_K_M - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q5_K_M - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q6_K - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q6_K
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/MiniCPM5-2B-8bit - MLX
mlx_lm.server --model mlx-community/MiniCPM5-2B-8bit
- LM Studio
- Q8_0
- Ollama
ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q8_0 - LM Studio
lms get bartowski/MiniCPM5-2B-GGUF@q8_0 - llama.cpp
llama-server -hf bartowski/MiniCPM5-2B-GGUF:Q8_0
- Ollama
Notes
Dense dual-language (en/zh) 2B model with standard LlamaForCausalLM architecture, aimed at on-device use. This is the final RL+OPD post-trained BF16 release; GGUF, MLX and GPTQ variants are separate repos.
Questions
- How much VRAM does MiniCPM5 2B need?
- At mlx-4bit, MiniCPM5 2B needs about 2 GB of memory at 8k context and 2 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running MiniCPM5 2B locally?
- The cheapest hardware in the US that runs MiniCPM5 2B fully in memory at 8k context is the NVIDIA Tesla P40, $345 at Amazon, at about 71 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 155 tok/s for $469). The fastest we price is the NVIDIA GeForce RTX 5090, at about 366 tok/s.
- Can I run MiniCPM5 2B on a 16 GB GPU?
- Yes: at Q8_0 it fits fully in 16 GB at 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 196 tok/s (estimated).
- Can I run MiniCPM5 2B on a 24 GB GPU?
- Yes: at Q8_0 it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 206 tok/s (estimated).
- How do I run MiniCPM5 2B locally?
- With Ollama: ollama run hf.co/bartowski/MiniCPM5-2B-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is MiniCPM5 2B released under?
- Apache License 2.0, which allows commercial use.